Packages

swr

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

Upgrading swr From 2.0.0 to 2.0.1

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 2.0.0Newest 2.x, Latest2.5.1
  1. 2.0.0yours
  2. 2.0.1target
0
changes to make
0
advisories fixed
1
new
2
fixes

Release by release

  1. 2.0.1

    18 Jan 20231 new · 2 fixes
    • New

      Add all mutate options support to useSWRInfinite

    • Fixed

      useSWRMutation should always use the latest fetcher

    • Fixed

      Types properites in exports fields

8 other lines we could not sort, mostly version bumps
  • When the suspense option is true, the returned data will exclude undefined and the isLoading will always be false.

    2.0.1
  • When the fallbackData option is provided, the returned data will be the same type of fallbackData, and the isLoading will always be false.

    2.0.1
  • types: Make FullConfiguration generic

    2.0.1
  • type: Enforce array literal as tuple

    2.0.1
  • Improve type test

    2.0.1
  • Update bunchee to remove the extra target cli option

    2.0.1
  • types: Conditional swr response

    2.0.1
  • Update license year

    2.0.1

1 internal line (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.