Packages

swr

2.5.1 · 12 Aug 2026MIT28.9M / weekRepositoryHomepagenpmAtom feed

Your version

2.0.3

28 Jan 2023Where it was published

2.5.1 is the newest release of 2.x.

In short

5 fixed2 internal

Release note

Patches

  • Parameters passed to subscribe is inconsistent with its declaration

  • When inifinite key changes, should use cached pagesize instead of initialSize

  • Make compare function only compare data

  • Initial loading state should be false with revalidation is disabed

  • Ensure hydration matches the SSR result during streaming

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.