Packages

swr

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

Your version

2.1.3

10 Apr 2023Where it was published

2.5.1 is the newest release of 2.x.

In short

1 new2 fixed1 changed1 internal

Release note

What's Changed

  • Fix #2548: pass origin key to subcription callback

  • Update Cache Interface types

  • Data passed to refreshInterval function is not latest

  • types: Allow passing function as Data for useSWRSubscriptionOptions

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.