swr
2.5.1 · 12 Aug 2026MIT28.9M / weekRepositoryHomepagenpmAtom feed
Upgrading swr From 2.2.5 to 2.3.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Other targets from 2.2.5Newest 2.x, Latest2.5.1
- 1
- change to make
- 0
- advisories fixed
- 3
- new
- 10
- fixes
Before you upgrade
Tick each one off as you go- Breaking2.3.0
Release by release
- Breaking
Drop exports module field
- New
Support promises as fallback data
- New
Allow to use with React 19
- New
Add SWRInfiniteMutatorOptions type to export
- Breaking
18 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.