Packages

swr

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

Your version

Where each line stands

Plan an upgrade
  • 2.x2.5.1No known advisoryLatest line
  • 1.x1.3.0No known advisoryTo 2.5.1
  • 0.x0.5.7No known advisoryTo 2.5.1

Latest releases

All 84 releases
  1. 2.5.1

    12 Aug 2026
    • Hydrate cacheData for hooks without a fetcher

    • Revalidate suspense cacheData on remount

    • Clean up completed subscription state

  2. 2.5.0

    3 Aug 2026
    • Fixed the swr/_internal React Server export so it resolves correctly in the published package

  3. 2.4.2

    22 Jun 2026
    • Guard against double-unsubscribe removing wrong subscriber in cache.ts

    • Prevent resolved promise to suspend due to missing status

Dependency tracking · free for 3 projects

Know when your own dependencies move

swr published 7 releases in the last 12 months. inlinr folds the routine ones into a line and keeps the few that need you.

  • Advisories reach you

    An email when a critical or high advisory affects a project, before the next install.

  • Upgrades checked first

    Peer ranges, Node, ESM-only and types changes read before you bump.

  • Only what matters

    Majors and breaking notes stay; patches and sibling bumps fold into one line.

How dependency tracking works

Reading releases, release notes and advisories…

Registry facts last checked 11 Nov 2026. Releases and advisories last read 11 Nov 2026.