Packages

swr

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

Upgrading swr From 0.3.10 to 0.5.7

12 releases in betweennotes for 9

Reading releases, release notes and advisories…

Other targets from 0.3.10Latest2.5.1
  1. 0.3.10yours
  2. 1 release
  3. 0.4.0major
  4. 2 releases
  5. 0.5.0major
  6. 6 releases
  7. 0.5.7target
?
changes to make
0
advisories fixed
10+
new
34+
fixes

Counted from 9 of 12 release notes. Advisories are counted from the advisory database, in full.

Release by release

  1. 0.5.7no release note

  2. 0.5.6

    3 May 20211 fix
    • Fixed

      Fix #1056

  3. 0.5.5no release note

  4. 0.5.4

    19 Mar 20213 fixes
    • Fixed

      Export default SWR config to allow more flexible extensions

    • Fixed

      Invalid invocation on raf

    • Fixed

      Types: Expose KeyLoader

  5. 0.5.3

    13 Mar 20213 fixes
    • Fixed

      Fix dequal vendor

    • Fixed

      Micro optimizations

    • Fixed

      Support multiple useSWRInfinite hooks in a page

  6. 0.5.2no release note

  7. 0.5.1

    10 Mar 20214 fixes
    • Fixed

      Revalidate with initialData when changing the key

    • Fixed

      Update CODEOWNERS: dd1bcf99daeacb167b31a7da9547c39ae4452d95

    • Fixed

      Allow passing undefined config

    • Fixed

      Make swr zero dependency

  8. 0.5.0

    9 Mar 20217 new · 7 fixes
    • New

      Types: Makes types fn and config and getKey more strictly

    • New

      Avoid unnecessary re-renders with the suspense mode

    • New

      Optimize isValidating status

    • New

      Clean up types

27 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.