Packages

swr

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

Upgrading swr From 1.3.0 to 2.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.3.0Latest2.5.1
The note of 2.0.0 lists no breaking change or deprecation, which is rare for a major.
  1. 1.3.0yours
  2. 2.0.0target
?
changes to make
0
advisories fixed
1
new
0
fixes

Release by release

  1. 2.0.0

    9 Dec 20221 new
    • New

      New useSWRMutation hook

4 other lines we could not sort, mostly version bumps
  • Enhanced mutation and optimistic UI capabilities

    2.0.0
  • SWR DevTools

    2.0.0
  • Preload resource

    2.0.0
  • Improved React 18 support

    2.0.0

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.