Packages

swr

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

Your version

2.4.0

1 Feb 2026Where it was published

2.5.1 is the newest release of 2.x.

In short

4 fixed2 internal

Release note

What's Changed

  • Ensure useSWRImmutable overrides global refreshInterval

  • Extra render when changing to new key with useSWRImmutable

  • isHydration will cause unnecessary rerender

  • Ensure preload runs only on client

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.