Never miss a release that matters

AI-powered summaries of every GitHub release.

AI Summaries

Changelogs condensed into clear, actionable insights.

Always Free

Track up to 5 packages at no cost, forever.

Weekly Digest

A curated summary of every release, delivered weekly.

Get Started Free
swrv2.x
27 releases

TL;DR

SWR now correctly prioritizes useSWRImmutable settings over the global refreshInterval, resolving unexpected data updates and unnecessary re-renders.

Fixes Worth Knowing

useSWRImmutable now functions as expected, overriding the global refresh interval. A fix prevents extra renders when switching to a new cache key. Preloading data now only happens on the client-side (web browser).

v2.4.0v2.4.0
Feb 1, 2026
v2.3.8v2.3.8
Dec 15, 2025
v2.3.7v2.3.7
Nov 28, 2025
v2.3.6v2.3.6
Aug 11, 2025
v2.3.5v2.3.5
Aug 9, 2025
v2.3.4v2.3.4
Jul 2, 2025
v2.3.3v2.3.3
Mar 6, 2025
v2.3.2v2.3.2
Feb 5, 2025
v2.3.1v2.3.1
Feb 5, 2025
v2.3.0v2.3.0
Dec 23, 2024
v2.2.5v2.2.5
Feb 15, 2024
v2.2.4v2.2.4
Sep 25, 2023
v2.2.3v2.2.3
Sep 25, 2023
v2.2.2v2.2.2
Aug 27, 2023
v2.2.1v2.2.1
Aug 27, 2023
v2.2.0v2.2.0
Jun 22, 2023
v2.1.5v2.1.5
Apr 25, 2023
v2.1.4v2.1.4
Apr 23, 2023
v2.1.3v2.1.3
Apr 10, 2023
v2.1.2v2.1.2
Apr 2, 2023
v2.1.1v2.1.1
Mar 22, 2023
v2.1.0v2.1.0
Mar 6, 2023
v2.0.4v2.0.4
Feb 24, 2023
v2.0.3v2.0.3
Jan 28, 2023
v2.0.2v2.0.2
Jan 26, 2023
v2.0.1v2.0.1
Jan 18, 2023
2.0.02.0.0
Dec 9, 2022
swrv2.xprerelease
22 releases

TL;DR

SWR now correctly handles data conditions within react.use, resolving a potential issue where fetches could restart unexpectedly.

Fixes Worth Knowing

Fixed an issue where react.use could incorrectly trigger re-fetches based on data conditions, improving stability and preventing unnecessary network requests.

v2.3.5-beta.0v2.3.5-beta.0
Aug 6, 2025
v2.2.6-beta.4v2.2.6-beta.4
Jun 1, 2024
v2.2.6-beta.3v2.2.6-beta.3
May 24, 2024
v2.2.6-beta.2v2.2.6-beta.2
Apr 6, 2024
v2.2.6-beta.1v2.2.6-beta.1
Mar 31, 2024
v2.2.1-beta.1v2.2.1-beta.1
Jul 26, 2023
v2.2.0-beta.5v2.2.0-beta.5
Jun 20, 2023
v2.2.0-beta.4v2.2.0-beta.4
Jun 20, 2023
v2.2.0-beta.3v2.2.0-beta.3
Jun 18, 2023
v2.2.0-beta.2v2.2.0-beta.2
Jun 16, 2023
v2.2.0-beta.1v2.2.0-beta.1
Jun 16, 2023
v2.2.0-beta.0v2.2.0-beta.0
May 23, 2023
2.0.0-rc.32.0.0-rc.3
Nov 28, 2022
2.0.0-rc.12.0.0-rc.1
Nov 25, 2022
2.0.0-rc.02.0.0-rc.0
Oct 5, 2022
2.0.0-beta.72.0.0-beta.7
Sep 12, 2022
2.0.0-beta.62.0.0-beta.6
Jul 4, 2022
2.0.0-beta.52.0.0-beta.5
Jun 26, 2022
2.0.0-beta.42.0.0-beta.4
Jun 18, 2022
2.0.0-beta.32.0.0-beta.3
May 15, 2022
2.0.0-beta.12.0.0-beta.1
Apr 17, 2022
2.0.0-beta.02.0.0-beta.0
Apr 11, 2022
swrv1.x
9 releases

TL;DR

SWR now supports functional optimisticData, allowing for more dynamic and responsive UI updates when mutations occur.

New

  • Functional optimisticData allows you to provide a function to calculate optimistic UI state (temporary UI state) during mutations.

Fixes Worth Knowing

  • Fixed an issue where suspense and revalidateIfStale didn’t work correctly together.
  • Resolved a type error in SWRConfig.
1.3.01.3.0
Apr 10, 2022
1.2.21.2.2
Feb 18, 2022
1.2.11.2.1
Feb 2, 2022
1.2.01.2.0
Jan 26, 2022
1.1.21.1.2
Dec 26, 2021
1.1.11.1.1
Dec 10, 2021
1.1.01.1.0
Nov 30, 2021
1.0.1
Sep 12, 2021
1.0.0
Aug 27, 2021
swrv1.xprerelease
28 releases

TL;DR

SWR now requires a return type when using the mutate function, improving type safety for data updates.

Breaking

  • mutate function requires a return type (ensures correct data handling).

New

None.

Fixes Worth Knowing

None.

Before You Upgrade

Update your mutate calls to explicitly define a return type to avoid TypeScript errors.

1.2.0-beta.11.2.0-beta.1
Jan 12, 2022
1.2.0-beta.01.2.0-beta.0
Dec 28, 2021
1.1.2-beta.11.1.2-beta.1
Dec 23, 2021
1.1.2-beta.01.1.2-beta.0
Dec 15, 2021
1.1.0-beta.12
Nov 26, 2021
1.1.0-beta.11
Nov 24, 2021
1.1.0-beta.10
Nov 23, 2021
1.1.0-beta.9
Nov 11, 2021
1.1.0-beta.8
Nov 1, 2021
1.1.0-beta.7
Nov 1, 2021
1.1.0-beta.6
Oct 24, 2021
1.1.0-beta.5
Oct 9, 2021
1.1.0-beta.4
Oct 3, 2021
1.1.0-beta.3
Oct 1, 2021
1.1.0-beta.2
Sep 26, 2021
1.1.0-beta.1
Sep 22, 2021
1.1.0-beta.0
Sep 15, 2021
1.0.1-beta.1
Sep 9, 2021
1.0.1-beta.0
Sep 1, 2021
1.0.0-beta.15
Aug 26, 2021
1.0.0-beta.14
Aug 25, 2021
1.0.0-beta.13
Aug 24, 2021
1.0.0-beta.12
Aug 20, 2021
1.0.0-beta.11
Aug 19, 2021
1.0.0-beta.10
Aug 13, 2021
1.0.0-beta.9
Jul 27, 2021
1.0.0-beta.8
Jul 6, 2021
1.0.0-beta.7
Jun 22, 2021
swrv0.x
39 releases

TL;DR

SWR now correctly handles revalidation on focus, improving data freshness when switching between tabs or windows.

Fixes Worth Knowing

Fixed an issue where SWR would not revalidate data when a window regained focus, leading to stale data in some scenarios.

0.5.6
May 3, 2021
0.5.4
Mar 19, 2021
0.5.3
Mar 13, 2021
0.5.1
Mar 10, 2021
0.5.0
Mar 9, 2021
0.4.2
Feb 8, 2021
0.4.1
Jan 28, 2021
0.4.0
Jan 7, 2021
0.3.11
Dec 20, 2020
0.3.10
Dec 19, 2020
0.3.9
Nov 17, 2020
0.3.8
Nov 1, 2020
0.3.7
Oct 29, 2020
0.3.6
Oct 19, 2020
0.3.5
Sep 25, 2020
0.3.4
Sep 23, 2020
0.3.3
Sep 20, 2020
0.3.2
Sep 1, 2020
0.3.1
Aug 20, 2020
0.3.0
Jul 30, 2020
0.2.3
Jun 12, 2020
0.2.2
May 22, 2020
0.2.1
May 20, 2020
0.2.0
Mar 30, 2020
0.1.18
Feb 24, 2020
0.1.17
Feb 14, 2020
0.1.16
Dec 28, 2019
0.1.15
Dec 18, 2019
0.1.14
Dec 17, 2019
0.1.13
Dec 5, 2019
0.1.12
Nov 21, 2019
0.1.10
Nov 15, 2019
0.1.9
Nov 9, 2019
0.1.8
Nov 6, 2019
0.1.7
Nov 6, 2019
0.1.6
Nov 4, 2019
0.1.4
Oct 31, 2019
0.1.3
Oct 31, 2019
0.1.1
Oct 29, 2019
swrv0.xprerelease
1 release

TL;DR

SWR now exposes its internal cache, allowing developers more control over data management (data storage and retrieval).

New

  • Exposed Cache: Developers can now directly access and manipulate SWR’s cache for advanced use cases like pre-fetching or custom invalidation strategies.
0.2.0-beta.0
Feb 24, 2020