swr
2.5.1 · 12 Aug 2026MIT28.9M / weekRepositoryHomepagenpmAtom feed
Upgrading swr From 2.0.0 to 2.0.1
1 release in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- New
Add all mutate options support to useSWRInfinite
- Fixed
useSWRMutation should always use the latest fetcher
- Fixed
Types properites in exports fields
- New
8 other lines we could not sort, mostly version bumps
- 2.0.1
When the
suspenseoption istrue, the returneddatawill excludeundefinedand theisLoadingwill always befalse. - 2.0.1
When the
fallbackDataoption is provided, the returneddatawill be the same type offallbackData, and theisLoadingwill always befalse. - 2.0.1
types: Make FullConfiguration generic
- 2.0.1
type: Enforce array literal as tuple
- 2.0.1
Improve type test
- 2.0.1
Update bunchee to remove the extra target cli option
- 2.0.1
types: Conditional swr response
- 2.0.1
Update license year
1 internal line (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.