Skip to content

Releases: vercel/swr

v2.3.6

11 Aug 15:54
Compare
Choose a tag to compare

Patches

  • fix: do not error when not enabled during suspense by @huozhi in #4156

Full Changelog: v2.3.5...v2.3.6

v2.3.5

09 Aug 08:57
Compare
Choose a tag to compare

Patches

Chores

  • doc: Sync PublicConfiguration.onDiscarded tsdoc with SWR official website by @samuel871211 in
  • test: e2e test for 2702 by @promer94 in #4154

New Contributors

Full Changelog: v2.3.4...v2.3.5

v2.3.5-beta.0

06 Aug 14:45
Compare
Choose a tag to compare
v2.3.5-beta.0 Pre-release
Pre-release

Patches

  • perf: optimize useSWRConfig with useMemo to maintain stable reference by @samuel871211 in #4110
  • doc: Sync PublicConfiguration.onDiscarded tsdoc with SWR official website by @samuel871211 in #4076
  • feat: modify cache type to allow generic usage by @eungwang1 in #2947
  • Revert "feat: modify cache type to allow generic usage" by @huozhi in #4151
  • fix: react.use should not depend on data condition by @huozhi in #4150

New Contributors

Full Changelog: v2.3.4...v2.3.5-beta.0

v2.3.4

02 Jul 15:36
Compare
Choose a tag to compare

What's Changed

  • Fix markdown typo by @Nusab19 in #4106
  • fix: check "if (!error)" skip error if value is cast to false by @vtgrachev in #4118
  • feat: Improve global suspense-enabled data type by @oosawy in #4126
  • fix: Performance improvement by reducing calls to toString() by @garyhuntddn in #4092
  • fix: Optimize the revalidation logic for same key requests. by @agadzik in #4138

New Contributors

Full Changelog: v2.3.3...v2.3.4

v2.3.3

06 Mar 20:15
Compare
Choose a tag to compare

Patches

Misc

New Contributors

Full Changelog: v2.3.2...v2.3.3

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