Skip to content

Releases: vercel/swr

v2.2.0-beta.4

20 Jun 19:50
Compare
Choose a tag to compare
v2.2.0-beta.4 Pre-release
Pre-release

What's Changed

  • build: fix conflict types for index and index.react-server by @huozhi in #2677

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

v2.2.0-beta.3

18 Jun 23:26
Compare
Choose a tag to compare
v2.2.0-beta.3 Pre-release
Pre-release

What's Changed

  • Fix Conditional Typing in useSWRMutation to Allow Optional ExtraArg Without Explicitly Passing Undefined by @saengmotmi in #2666
  • Pass displayed data as second parameter of functional optimistic data by @francescogior in #2668
  • Adjust rsc exports by @huozhi in #2673
  • test: add e2e test for react-server entry by @promer94 in #2671

New Contributors

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

v2.2.0-beta.2

16 Jun 12:26
Compare
Choose a tag to compare
v2.2.0-beta.2 Pre-release
Pre-release

What's Changed

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

v2.2.0-beta.1

16 Jun 10:48
Compare
Choose a tag to compare
v2.2.0-beta.1 Pre-release
Pre-release

What's Changed

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

v2.2.0-beta.0

23 May 15:45
Compare
Choose a tag to compare
v2.2.0-beta.0 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v2.1.5...v2.2.0-beta.0

v2.1.5

25 Apr 10:01
Compare
Choose a tag to compare

What's Changed

  • fix: missing interop helpers in bundle by @huozhi in #2582

Full Changelog: v2.1.4...v2.1.5

v2.1.4

23 Apr 18:28
3a8de88
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.1.3...v2.1.4

v2.1.3

10 Apr 15:28
6aff5f3
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.1.2...v2.1.3

v2.1.2

02 Apr 09:24
Compare
Choose a tag to compare

Patches

  • Improved type inferring for swr/subscription
  • Adding SWRSubscriptionOptions type for swr/subscription

Changes

  • test: add typing test for empty config by @koba04 in #2521
  • test: fix syntax error in Equal type alias implementation by @SACHINnANYAKKARA in #2517
  • chore: remove engines by @promer94 in #2536
  • types: improve useSWRSubscription types by @promer94 in #2535
  • Rename subscription types by @huozhi in #2537

New Contributors

  • @SACHINnANYAKKARA made their first contribution in #2517

Full Changelog: v2.1.1...v2.1.2

v2.1.1

22 Mar 14:54
Compare
Choose a tag to compare

Patches

  • refactor: remove useless dataRef, always compare cached data by @promer94 in #2431
  • fix: swr infers incorrect data type for default SWRConfig generic type by @connorch in #2506

Documentation

New Contributors

Full Changelog: v2.1.0...v2.1.1