v2.1.0
Feature
Checkout subscription docs and useSWRInfinite parallel fetching docs for more details
Patches
- fix: use the latest config in useSWRMutation by @koba04 in #2468
- Fix: type support for suspense and fallbackData(#2396) by @taro-28 in #2452
- Error should be reset when new data comes by @huozhi in #2472
- fix: avoid creating new snapshot if cache is not updated at client during streaming by @promer94 in #2475
- refactor: initialize the cache only on first access by @promer94 in #2479
Misc
- ci: fix publish workflow by @promer94 in #2453
- ci: faster e2e test by @promer94 in #2428
- test: add a test for keepPreviousData without changing key by @koba04 in #2470
- Always assume subscriptions will return sub count from current key by @huozhi in #2460
- test: Fix flaky e2e test by @promer94 in #2476
- chore: Add subscription example by @huozhi in #2480
New Contributors
Full Changelog: v2.0.4...v2.1.0