1.1.0-beta.0
Pre-release
Pre-release
Minor Changes
- Should treat key change as remount: #1430
- Stable hash: #1429
- Enhance: provider release handlers: #1449
Patches
- Test: add tests for a global cache: #1421
- Chore: always use config ref: #1397
- Typing: use separated constants instead of enum: #1425
- Test: add render utilities and remove TestSWRConfig: #1435
- Fix initial isValidating when isPaused() returns true: #1440
- Build: no emit on error: #1446
- Chore: remove unused typings: #1448
- Test: refactor use-swr-cache-test: #1442
- Refactor code related to unsubscribing global listeners: #1451
- Chore: refactor infinite: #1452
- Test: refactor concurrent rendering tests: #1457
- Test: refactor config tests: #1458
- Revert "feat: add a warning for invalid arguments with suspense mode " (#1460): #1402
- Test: refactor mutation tests: #1459
- Fix: Support IE11: #1463
Credits
Huge thanks to @huozhi, @koba04, @anirudh1713, @anothertempore, and @amannn for helping!