Releases: vercel/swr
Releases · vercel/swr
1.1.0-beta.11
1.1.0-beta.10
1.1.0-beta.9
1.1.0-beta.8
Patches
- Chore: Add
type: "module"
and use.mjs
extension: #1604
1.1.0-beta.7
Minor Changes
- Fix: Support for functions that return false: #1586
- Fix: adds undefined as valid Key type to allow falsy Key or Key(): #1594
- Revert "mark data and error as readonly " (#1570): #1514
Patches
- Fix react-native issue: #1583
- Fix: compatible with miniprogram: #1595
- Change config alteration process in withMiddleware to be immutable: #1556
- Fix mutate argument for infinite: #1602
Credits
Huge thanks to @TakahiroHimi, @morgs32, @aFINKndreas, @zhaomengfan, and @junsushin-dev for helping!
1.1.0-beta.6
Patches
- Small fixes: #1541
- Chore: Refactor cleanupState: #1544
- Feat: using latest version of
axios
with fetch interceptor: #1548 - Test: Add test case for mutation deduplication: #1549
- Test: speed up with @swc-node/jest: #1569
- Optimizations: #1578
Credits
Huge thanks to @danestves and @huozhi for helping!
1.1.0-beta.5
Minor Changes
Patches
- Output code coverage: #1511
- Test: Add tests for reconnect and merge-config: #1530
- Fix: Only trigger the success event if not discarded: #1529
- Chore: Code refactoring: #1533
- Fix: Reusing cache provider: #1539
- Chore: fix ts comments: #1540
- Fix: Ensure mutate accepts undefined as the data: #1515
Credits
1.1.0-beta.4
1.1.0-beta.3
Patches
- Fix: Invalidate the key when mutating without revalidating: #1498
- Example: add ref checking condition: #1504
- Fix: Refactor core revalidate function and fix isValidating state bug: #1493
- Chore: Remove duplicate configs: #1507
- Typing: fix-type-generation: #1509
- Chroe: use yalc for local development: #1508