Packages

swr

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

Upgrading swr From 2.2.0 to 2.2.1

1 release in betweenevery note read

Reading releases, release notes and advisories…

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

Release by release

  1. 2.2.1

    11 Aug 20231 new · 7 fixes
    • New

      Add use client directive for client components exports

    • Fixed

      Should serialize subscription fn key

    • Fixed

      Only make data and error update as a non-blocking transition

    • Fixed

      infinite: Fix the ability to use preload along with useSWRInfinite

1 other line we could not sort, mostly version bumps
  • Remove the 'use client' directive and add client-only to useSWR entry.

    2.2.1

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