Packages

swr

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

Your version

2.2.5

15 Feb 2024Where it was published

2.5.1 is the newest release of 2.x.

In short

1 new4 fixed5 internal

Release note

Patches

  • types: isLoading typed as boolean when using fallbackData

  • Allow onErrorRetry on inactive tab without focus/reconnect revalidation

  • Pass a function to the revalidate option in mutate

  • SWRConfiguration type

Misc

  • All act warnings

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.