swr
2.5.1 · 12 Aug 2026MIT28.9M / weekRepositoryHomepagenpmAtom feed
Upgrading swr From 2.1.5 to 2.2.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Other targets from 2.1.5Newest 2.x, Latest2.5.1
- 1
- change to make
- 0
- advisories fixed
- 3
- new
- 9
- fixes
Before you upgrade
Tick each one off as you go- Breaking2.2.0
Release by release
- Breaking
Remove
startTransitionso mutation hook could update immediately - New
Use
React.useAPI - New
Improve preload and suspense integration
- New
Add react-server bundle for core and infinite
- Breaking
1 other line we could not sort, mostly version bumps
- 2.2.0
types: Improve
useSWRMutationtype.
17 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.