swr
2.5.1 · 12 Aug 2026MIT28.9M / weekRepositoryHomepagenpmAtom feed
Upgrading swr From 1.2.0 to 1.3.0
3 releases in betweenevery note read
Reading releases, release notes and advisories…
Other targets from 1.2.0Latest2.5.1
Release by release
- New
Support functional optimisticData
- Fixed
type: Fix type error on SWRConfig
- New
- New
Support
populateCacheas a function - Fixed
Reset stale unmountedRef in suspense
- New
- Fixed
useSWRInfinite revalidates with revalidateOnMount
- Fixed
2 other lines we could not sort, mostly version bumps
- 1.3.0
bugfix: Make suspense and revalidateIfStale work together
- 1.2.1
shouldRetryOnErroraccepts a function that can be used to conditionally stop retrying
5 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.