Releases: nolimits4web/swiper
Releases · nolimits4web/swiper
v9.1.0
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
v9.0.4
v9.0.3
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
v9.0.1
v9.0.0
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 to5
(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)