unstale

npm / swiper

swiper

What changed in swiper 12, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.

1 security3 new APIs and options13 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

swiper 1217 changes

Security 1

New APIs and options 3

  • Supports a custom speed parameter for keyboard navigation.

    12.1.0release notes

  • Adds the snapToSlideEdge parameter.

    12.1.0release notes

  • Added getRotateFix as an export from effect utils.

    12.0.3release notes

Fixes and other changes 13

  • The a11y value can now be a boolean.

    12.1.1release notes

  • Avoids double-subtracting offsets when centerInsufficientSlides is enabled.

    12.1.1release notes

  • Fixes focus handling when virtual mode is enabled.

    12.1.1release notes

  • Fixes custom delay percentages when autoplay is paused and resumed.

    12.1.0release notes

  • Escapes all CSS selector special characters.

    12.1.0release notes

  • Fixes a lazy preloader removal error in React and Vue.

    12.1.0release notes

  • When the virtual module is enabled, realIndex no longer uses data-swiper-slide-index.

    12.1.0release notes

  • Supports slidesOffsetAfter in cssMode.

    12.1.0release notes

  • Supports slidesOffsetBefore in cssMode.

    12.1.0release notes

  • Adds autoScroll to the thumbs.update type signature.

    12.1.0release notes

  • Updates slide classes when a virtual swiper is updated.

    12.1.0release notes

  • Initializes gesture state after programmatic zoom.

    12.1.0release notes

  • Fixed the reference to the navigation arrows SVG.

    12.0.3release notes