Skip to content

Releases: nolimits4web/swiper

v9.1.0

28 Feb 15:07
Compare
Choose a tag to compare

Bug Fixes

  • autoplay: fix a crash with resize when the autoplay has gone away during timeout
    (#6431)
    (adb40f4)
  • core: correctly calc slide's DOM indexes, actual for Element
    (18b1f2b)
  • core: fix loop when slidesPerGroup is not even to number of slides
    (f998115), closes
    #6412
  • core: prevent observer trigger because of grab cursor
    (9597442), closes
    #6423
  • core: proceed iOS's pointercancel as pointerup
    (50b65f6), closes
    #6414
    #6382
  • effect-creative: fix origin
    (7883408), closes
    #6439
  • element: fix ignored on event handlers
    (898f76c), closes
    #6399
  • pagination: double check if bullet exists
    (a335a41), closes
    #6422
  • pagination: fix clickable pagination with slidesPerView > 1 and loop
    (cf8cdf5), closes
    #6415
  • virtual: fix escaped HTML in virtual slides content
    (a61638a), closes
    #6404
  • zoom: fix zoom stick on pointer out
    (6700980), closes
    #6396

v9.0.5

13 Feb 16:00
Compare
Choose a tag to compare

Bug Fixes

  • scrollbar: fix duplicated scrollbar
    (e99361d),
    closes #6386

v9.0.4

10 Feb 08:46
Compare
Choose a tag to compare

Bug Fixes

  • autoplay: fixing autoplay undefined error (#6366)
    (f2a0572)
  • pagination: fix pagination bullets children clicks
    (8bcff39), closes
    #6361
  • virtual: grab DOM slides only from wrapper children
    (d59183d)
  • zoom: fix gesture scale origin
    (c89b2dd), closes
    #6371

v9.0.3

06 Feb 08:56
Compare
Choose a tag to compare

Bug Fixes

  • core: don't proceed lazy if swiper destroyed
    (4ea0102),
    closes #6322
  • core: fix loop handling with virtual
    (69462d2),
    closes #6343
  • element: fix converting boolean/string params to module object
    (192e0d4),
    closes #6328
  • navigation: allow multiple classes in navigation options
    (#6345)
    (ca49b9f),
    closes #6344
  • thumbs: ensure there is a slide to add a class
    (c6294ad),
    closes #6335

Features

v9.0.2

03 Feb 10:53
Compare
Choose a tag to compare

Bug Fixes

  • core: fixed loop behavior in free mode with mousewheel
    (336d908), closes
    #6323
  • types: spaceBetween can also be a string
    (446fb06), closes
    #6286
  • vue: declaration for autoplayTimeLeft event
    (8467397), closes
    #6333

v9.0.1

02 Feb 08:59
Compare
Choose a tag to compare

Bug Fixes

  • core: fix class removal in setBreakpoints
    (6cb79cf),
    closes #6319
  • virtual: fix undefined document
    (9cee290),
    closes #6318

v9.0.0

01 Feb 09:07
Compare
Choose a tag to compare

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)

v8.4.7

30 Jan 10:48
Compare
Choose a tag to compare

Bug Fixes

  • svelte: autoplay options typescript problem
    (#6294)
    (3317f5e)

v8.4.4

12 Oct 12:20
Compare
Choose a tag to compare

Features

  • add direct JS/CSS core and bundle exports
    (f519f80)

v8.4.2

15 Sep 12:49
Compare
Choose a tag to compare

Bug Fixes

  • onTouchStart.js: Fix target element assignment
    (#6065)
    (cb46a9a)