Major Changes
- BREAKING: Deprecate
revalidate
withmutate
: #1332
Minor Changes
- Improvement: ensure
useSWRInfinite
reusesuseSWR
cache: #1341
Patches
- Code refactoring: #1307
- Add package.json to module exports: #1313
- Fix config being ignored when fetcher is null: #1311
- Reset cache between tests: #1309
- Refine the infinite hook: #1315
- Test: add a test for getInfiniteKey with current data: #1319
- Update bunchee 1.6.2: #1323
- Chore: update useSWRInfinite import: #1326
- Upgrade bunchee, reduce node_modules size: #1329
- Build(deps): bump path-parse from 1.0.6 to 1.0.7: #1334
Credits
Huge thanks to @huozhi, @heysailor, @koba04, and @eric-hc for helping!