Skip to content

v9.0.0

Compare
Choose a tag to compare
@nolimits4web nolimits4web released this 01 Feb 09:07
· 407 commits to master since this release

Core

  • new oneWayMovement parameter
  • removed Dom7 dependency
  • all new Loop mode without slides duplication
  • removed images loading functionality: preloadImages, updateOnImagesReady
    parameters

Frameworks

  • all new Swiper Element (WebComponent)
  • removed Swiper Solid components (in favor of Swiper WebComponent)
  • removed Swiper Angular components (in favor of Swiper WebComponent)
  • removed Swiper Svelte components (in favor of Swiper WebComponent)

Autoplay

  • all new autoplay module

Controller

  • now controller.control parameter also accepts HTMLElement or CSS string with the
    selector of swiper to control

Lazy

  • Lazy module has been moved to core and simplified in favor of native loading="lazy"

Navigation

  • more CSS variables to control appearance and position

Parallax

  • support parallax rotate

Thumbs

  • now thumbs.swiper parameter also accepts HTMLElement or CSS string with the
    selector of thumbs swiper

Virtual Slides

  • added support for loop mode
  • improved performance
  • will work now with slides initially rendered in DOM

Zoom

  • swiper.zoom.in(ratio) method now accepts custom zoom ratio

Features

  • add wrapperClass to swiper-wrapper in React & Vue components
    (7aaa0d1),
    closes #6254
    #5942
  • core: add loopPreventsSliding parameter
    (6533890)
  • core: new oneWayMovement parameter
    (ce2ea7f)
  • navigation: more CSS variables to control appearance and position
    (6db9439)
  • pagination: more CSS variables to control appearance and position
    (c8b1228)
  • scrollbar: more CSS variables to control appearance
    (cfad536)
  • add element core version
    (de6c7f7)
  • export element css styles
    (51334a3)
  • injectStyles and injectStylesUrls params
    (71b10b2)
  • parallax: support parallax rotate
    (4949163),
    closes #6126
  • zoom: in method now accepts custom zoom ratio
    (d88df61),
    closes #5527
  • core: add loopedSlides parameter
    (1b076d9)
  • element: add option to avoid styles injecting
    (2291ec8)
  • thumbs: init thumbs on their appearance in DOM
    (a6b4cf7)
  • element: add standalone styles
    (284b130)
  • controller: support updated loop
    (6059e48)
  • controller: support updated loop
    (03d9895)
  • controller: support updated loop
    (e73b577)
  • core: "fix" loop based on touch move direction
    (5ab7217)
  • element: add CSS styles for modules for Swiper Element
    (6c36c80)
  • core: add --swiper-wrapper-transition-timing-function CSS var
    (797bcda)
  • navigation: more CSS vars
    (f41abe6)
  • paginatrion: more CSS vars
    (6f63fe2)
  • scrollbar: more CSS vars
    (875b35a)
  • virtual: renderSlide to support slide outer HTML and HTML element
    (fdcd644)
  • core: support for "swiper-slide-transform" element for better effects
    compatability with CSS mode
    (18b3e3f)
  • core: remove Dom7
    (44de97b)
  • core: remove Dom7
    (7cdcebf)
  • core: don't prevent slidePrev/Next when animating in loop mode
    (b358737)
  • autoplay: correct support for virtual slides delay + fix for stopping autoplay on
    click
    (43bf429)
  • element: support for comples parameters via attrs in a form of autoplay-delay
    (8161c57)
  • virtual: support for DOM virtual slides
    (59da65c)
  • virtual: support loop mode with virtual slides
    (f890f1e)
  • autoplay: all new Autoplay module
    (1b4ac21)
  • core: remove unused slide*DuplicateClass parameters
    (8007e1a)
  • core: all new loop mode without slides duplication
    (f57aa3b)
  • remove postinstall script
    (12255cf)
  • core, zoom: rework touch handling logic to PointerEvents only
    (ede6b6d)
  • core: make threshold parameter default to 5
    (dfce8a3)
  • lazy: simplify Lazy module in favor of native loading="lazy"
    (d46d5d0)
  • move new Lazy module to the Core
    (d51e1ce)
  • react: add boolean lazy prop to SwiperSlide to render lazy prelaoder
    (f5d137f)
  • remove Images loading functionality: preloadImages, updateOnImagesReady
    (4d02653)
  • vue: add boolean lazy prop to SwiperSlide to render lazy prelaoder
    (e36b580)
  • add new Swiper Custom Element
    (47f9518)
  • remove Angular and SolidJS components
    (1329c10)
  • remove Swiper Svelte components
    (52433ac)

Bug Fixes

  • effect-cube: fix for iOS 16.2 fixed perspective
    (2f5ed48),
    closes #6293
  • history: fix handling popstate on init
    (483534f)
  • core: make isBeginning and isEnd true when translate is less than 1px diff
    (b2313d5),
    closes #6287
  • react: fix React 18 compat types
    (4c916d4),
    closes #5799
  • virtual: fix Virtual with CSS Mode when initialSlide > 0
    (5ddf1d8)