Packages

swr

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

Upgrading swr From 1.1.1 to 1.1.2

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.1.1Newest 1.x1.3.0Latest2.5.1
  1. 1.1.1yours
  2. 1.1.2target
0
changes to make
0
advisories fixed
4
new
2
fixes

Release by release

  1. 1.1.2

    26 Dec 20214 new · 2 fixes
    • New

      Ensure auto revalidations are executed after state updates

    • New

      Add moduleNameMapper to jest

    • New

      Use the latest reference of fetcher

    • New

      Add populateCache option to mutate

    • Fixed

      Re-export InfiniteFetcher

    • Fixed

      Fix local state sharing example deps

5 other lines we could not sort, mostly version bumps
  • Make polyfill for requestAnimationFrame more robust

    1.1.2
  • type(infinite): export SWRInfinteHook and SWRInfiniteKeyLoader from infinite, rename InfiniteFetcher to SWRInfiniteFetcher

    1.1.2
  • Improve test

    1.1.2
  • Merge states for concurrent requests

    1.1.2
  • Skip error retrying when document is not active and improve tests

    1.1.2

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.