Packages

swr

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

Upgrading swr From 2.4.1 to 2.5.1

3 releases in betweenevery note read

Reading releases, release notes and advisories…

0
changes to make
0
advisories fixed
0
new
6
fixes

Release by release

  1. 2.5.1

    12 Aug 20263 fixes
    • Fixed

      Hydrate cacheData for hooks without a fetcher

    • Fixed

      Revalidate suspense cacheData on remount

    • Fixed

      Clean up completed subscription state

  2. 2.5.0

    3 Aug 20261 fix
    • Fixed

      Fixed the swr/_internal React Server export so it resolves correctly in the published package

  3. 2.4.2

    22 Jun 20262 fixes
    • Fixed

      Guard against double-unsubscribe removing wrong subscriber in cache.ts

    • Fixed

      Prevent resolved promise to suspend due to missing status

9 internal lines (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.