Skip to content

Releases: vercel/swr

v2.3.2

05 Feb 17:03
Compare
Choose a tag to compare

Patches

  • (fix) keepPreviousData: return fallback instead of undefined value by @dvoytenko in #4087

Full Changelog: v2.3.1...v2.3.2

v2.3.1

05 Feb 01:06
Compare
Choose a tag to compare

Fixes

  • fix: missing throwOnError in SWRMutationHook options by @Ram4GB in #3054
  • fix: sever env detection for deno by @elrrrrrrr in #4064
  • keepPreviousData: return fallback instead of undefined value by @dvoytenko in #4084

Misc

New Contributors

Full Changelog: v2.3.0...v2.3.1

v2.3.0

23 Dec 15:27
Compare
Choose a tag to compare

Feature

Patches

Misc

New Contributors

Full Changelog: v2.2.5...v2.3.0

v2.2.6-beta.4

01 Jun 00:01
Compare
Choose a tag to compare
v2.2.6-beta.4 Pre-release
Pre-release

What's Changed

Full Changelog: v2.2.6-beta.3...v2.2.6-beta.4

v2.2.6-beta.3

24 May 22:15
Compare
Choose a tag to compare
v2.2.6-beta.3 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v2.2.6-beta.2...v2.2.6-beta.3

v2.2.6-beta.2

06 Apr 16:22
Compare
Choose a tag to compare
v2.2.6-beta.2 Pre-release
Pre-release

Patches

Full Changelog: v2.2.6-beta.1...v2.2.6-beta.2

v2.2.6-beta.1

31 Mar 11:07
Compare
Choose a tag to compare
v2.2.6-beta.1 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v2.2.6-beta.0...v2.2.6-beta.1

v2.2.5

15 Feb 23:32
Compare
Choose a tag to compare

Patches

  • types: isLoading typed as boolean when using fallbackData (#2866) by @yjrhgvbn in #2875
  • fix: allow onErrorRetry on inactive tab without focus/reconnect revalidation by @qkdreyer in #2848
  • feat: pass a function to the revalidate option in mutate by @koba04 in #2862
  • fix: SWRConfiguration type by @hulla-dev in #2882

Misc

New Contributors

Full Changelog: v2.2.4...v2.2.5

v2.2.4

25 Sep 12:36
Compare
Choose a tag to compare

Patches

  • Revert "Remove index.js suffix of use-sync-external-store/shim to support React Native" by @huozhi in #2802

Full Changelog: v2.2.3...v2.2.4

v2.2.3

25 Sep 09:39
Compare
Choose a tag to compare

Patches

  • fix: remove permissive type by @wcatron in #2759
  • Remove index.js suffix of use-sync-external-store/shim to support React Native by @malash in #2767
  • fix: default to fetch type in keyed mutator by @linkvt in #2753
  • types: export mutation types by @promer94 in #2780

Misc

  • test: update tests, use matched types for mutate api by @huozhi in #2781

New Contributors

Full Changelog: v2.2.2...v2.2.3