Skip to content

build(deps): bump swiper from 12.2.0 to 14.0.6 in the sliders-and-ui group across 1 directory#305

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/sliders-and-ui-9270718361
Open

build(deps): bump swiper from 12.2.0 to 14.0.6 in the sliders-and-ui group across 1 directory#305
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/sliders-and-ui-9270718361

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 29, 2026

Copy link
Copy Markdown
Contributor

Bumps the sliders-and-ui group with 1 update in the / directory: swiper.

Updates swiper from 12.2.0 to 14.0.6

Release notes

Sourced from swiper's releases.

v14.0.5

Bug Fixes

  • virtual: render first slide on initial update (ebdb054), closes #8202

v14.0.2

Bug Fixes

  • build: spawn npx via shell on Windows in emit-types (494f7b1), closes #8197
  • pagination: divide fraction/progressbar total by grid rows (edfbfa5)
  • react: bind Thumbs tap handler when thumbs swiper is set after init (4fb72b9), closes #8198

v14.0.1

Patch release fixing two web-component (and Vue wrapper) regressions introduced by the v14 rewrite.

Bug Fixes

  • core: restore slide detection in web component — the <swiper-container> element initialized with zero slides because slidesEl was resolved to the shadow root instead of the host element (b3b822f), closes #8196
  • element: render navigation/pagination/scrollbar when set as boolean params — bare boolean usage (<swiper-container navigation>, Vue :navigation="true") stopped rendering the built-in controls (253fa39), closes #8196

v14.0.0

Swiper v14 is a ground-up TypeScript rewrite of the entire codebase, focused on smaller bundles, more accurate types, and a modern browser baseline. (We skipped v13.)

Upgrading from v12 requires no code changes. Every option, default, event, payload, method signature, and module import (swiper/modules, swiper/react, swiper/vue, swiper/element, …) behaves exactly as before. The only differences you may notice are tighter TypeScript types and a narrower set of supported browsers — see Breaking Changes below.

Highlights

  • Single TypeScript source of truth. src/ is now .ts/.tsx. The hand-maintained .d.ts tree (src/types/, the per-module .d.ts files) is gone — declarations are emitted directly from the runtime source with tsc, so the shipped types can no longer drift from the implementation. Several signatures that used to be any are now correctly typed (e.g. getTranslate(): number).
  • Per-module type augmentation. Each module augments the central Swiper / SwiperOptions / SwiperEvents interfaces. Importing a module (e.g. import { Navigation } from 'swiper/modules') brings its option, method, and event types along with it — mirroring how the runtime already requires registration.
  • More reliable type resolution. Types now resolve correctly under classic node, node16/nodenext, and bundler module resolution, and swiper/bundle exposes every module's options out of the box. Verified by a consumer-simulation test suite.
  • Zero runtime dependencies. The ssr-window dependency was removed and replaced with inline environment guards. Swiper now installs with no transitive runtime deps.
  • Smaller minified bundles. Legacy DOM-compat helpers and below-baseline feature detection were removed. The shared DOM utils shrank ~28%, and the main builds are ~2–4% smaller minified (swiper.min.js −4.1%, swiper-element.min.js −2.9%, swiper-bundle.min.js −2.3%).
  • Babel removed from the build. TypeScript now handles the JSX transform for the React wrapper, and @babel/preset-env is a no-op at the v14 baseline. Runtime output is byte-identical (React output is marginally smaller).

Breaking Changes

  • Browser baseline raised to the last ~2 years of evergreen browsers. Swiper v14 targets Chrome / Edge 110+, Safari 16.4+ (iOS 16.4+), and Firefox 110+. Code paths and feature detection for older browsers were removed (e.g. the smoothScroll support flag, the Safari < 16.2 perspective workaround, and the legacy DocumentTouch touch check). iOS/Android-specific quirk handling is kept but simplified. If you need to support older browsers, stay on v12.
  • Node.js >= 20.19.0 is now required to build/develop against the package (engines was >= 4.7.0). This does not affect the browser runtime.
  • Type-level changes. Stricter types may surface latent issues in code that previously relied on any-typed access to Swiper internals. These are compile-time only — there are no runtime behavior changes.

SSR

ssr-window's mock window/document were replaced with inline typeof guards. Server rendering with the React / Vue / Element wrappers is unaffected — they only instantiate Swiper in client-side mount effects. Imperatively calling new Swiper(...) in a pure Node (non-DOM) environment once again no-ops gracefully, matching v12 behavior, and is now locked down by a dedicated SSR runtime test.

Changelog

Sourced from swiper's changelog.

14.0.6 (2026-07-20)

Bug Fixes

  • loop: stop false "not enough slides" warning with auto + centeredSlides (ec9a170), closes #7586
  • scrollbar: resolve string el selector on non-element swiper (c75a7f9)

14.0.5 (2026-07-09)

Bug Fixes

  • virtual: render first slide on initial update (ebdb054), closes #8202

14.0.2 (2026-07-07)

Bug Fixes

  • build: spawn npx via shell on Windows in emit-types (494f7b1), closes #8197
  • pagination: divide fraction/progressbar total by grid rows (edfbfa5)
  • react: bind Thumbs tap handler when thumbs swiper is set after init (4fb72b9), closes #8198

14.0.1 (2026-06-29)

Patch release fixing two web-component (and Vue wrapper) regressions introduced by the v14 rewrite.

Bug Fixes

  • core: restore slide detection in web component — the <swiper-container> element initialized with zero slides because slidesEl was resolved to the shadow root instead of the host element (b3b822f), closes #8196
  • element: render navigation/pagination/scrollbar when set as boolean params — bare boolean usage (<swiper-container navigation>, Vue :navigation="true") stopped rendering the built-in controls (253fa39), closes #8196

14.0.0 (2026-06-26)

Swiper v14 is a ground-up TypeScript rewrite of the entire codebase, focused on smaller bundles, more accurate types, and a modern browser baseline. (We skipped v13.)

Upgrading from v12 requires no code changes. Every option, default, event, payload, method signature, and module import (swiper/modules, swiper/react, swiper/vue, swiper/element, …) behaves exactly as before. The only differences you may notice are tighter TypeScript types and a narrower set of supported browsers — see Breaking Changes below.

Highlights

  • Single TypeScript source of truth. src/ is now .ts/.tsx. The hand-maintained .d.ts tree (src/types/, the per-module .d.ts files) is gone — declarations are emitted directly from the runtime source with tsc, so the shipped types can no longer drift from the implementation. Several signatures that used to be any are now correctly typed (e.g. getTranslate(): number).
  • Per-module type augmentation. Each module augments the central Swiper / SwiperOptions / SwiperEvents interfaces. Importing a module (e.g. import { Navigation } from 'swiper/modules') brings its option, method, and event types along with it — mirroring how the runtime already requires registration.
  • More reliable type resolution. Types now resolve correctly under classic node, node16/nodenext, and bundler module resolution, and swiper/bundle exposes every module's options out of the box. Verified by a consumer-simulation test suite.
  • Zero runtime dependencies. The ssr-window dependency was removed and replaced with inline environment guards. Swiper now installs with no transitive runtime deps.
  • Smaller minified bundles. Legacy DOM-compat helpers and below-baseline feature detection were removed. The shared DOM utils shrank ~28%, and the main builds are ~2–4% smaller minified (swiper.min.js −4.1%, swiper-element.min.js −2.9%, swiper-bundle.min.js −2.3%).
  • Babel removed from the build. TypeScript now handles the JSX transform for the React wrapper, and @babel/preset-env is a no-op at the v14 baseline. Runtime output is byte-identical (React output is marginally smaller).

Breaking Changes

... (truncated)

Commits
  • 865dba4 14.0.6
  • ec9a170 fix(loop): stop false "not enough slides" warning with auto + centeredSlides
  • c75a7f9 fix(scrollbar): resolve string el selector on non-element swiper
  • a9e5fc1 chore: sponsors
  • b3d9e1f 14.0.5
  • ebdb054 fix(virtual): render first slide on initial update
  • 744fb3c chore: sponsors
  • 4b7c826 14.0.2
  • 5f9616e refactor(pagination): extract shared grid-aware getSlidesLength helper
  • 691cdce Merge pull request #8200 from spokodev/fix/pagination-fraction-grid-rows
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 29, 2026
@dependabot
dependabot Bot requested a review from anyulled as a code owner June 29, 2026 13:08
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 29, 2026
@vercel

vercel Bot commented Jun 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
devbcn-nextjs Error Error Jul 20, 2026 1:08pm

Request Review

@anyulled
anyulled enabled auto-merge (rebase) June 30, 2026 09:25
@anyulled

Copy link
Copy Markdown
Owner

@dependabot rebase

@dependabot dependabot Bot changed the title build(deps): bump swiper from 12.2.0 to 14.0.0 in the sliders-and-ui group build(deps): bump swiper from 12.2.0 to 14.0.1 in the sliders-and-ui group across 1 directory Jun 30, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/sliders-and-ui-9270718361 branch from aff6589 to c98f19d Compare June 30, 2026 09:27
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/sliders-and-ui-9270718361 branch from c98f19d to 2c7b02b Compare July 6, 2026 13:11
@dependabot dependabot Bot changed the title build(deps): bump swiper from 12.2.0 to 14.0.1 in the sliders-and-ui group across 1 directory build(deps): bump swiper from 12.2.0 to 14.0.5 in the sliders-and-ui group across 1 directory Jul 20, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/sliders-and-ui-9270718361 branch from 2c7b02b to 29a84a2 Compare July 20, 2026 13:08
@anyulled

Copy link
Copy Markdown
Owner

@dependabot rebase

Bumps the sliders-and-ui group with 1 update in the / directory: [swiper](https://github.com/nolimits4web/Swiper).


Updates `swiper` from 12.2.0 to 14.0.6
- [Release notes](https://github.com/nolimits4web/Swiper/releases)
- [Changelog](https://github.com/nolimits4web/swiper/blob/master/CHANGELOG.md)
- [Commits](nolimits4web/swiper@v12.2.0...v14.0.6)

---
updated-dependencies:
- dependency-name: swiper
  dependency-version: 14.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: sliders-and-ui
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title build(deps): bump swiper from 12.2.0 to 14.0.5 in the sliders-and-ui group across 1 directory build(deps): bump swiper from 12.2.0 to 14.0.6 in the sliders-and-ui group across 1 directory Jul 20, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/sliders-and-ui-9270718361 branch from 29a84a2 to bf265cf Compare July 20, 2026 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code size/size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant