Skip to content

1.0.0-beta.9

Pre-release
Pre-release
Compare
Choose a tag to compare
@shuding shuding released this 27 Jul 12:34
7a05169

Major Changes

  • Move infinite types to swr/infinite and deprecate old ones: #1272
  • Drop legacy types: #1276
  • Breaking: drop the default fetcher: #1304

Minor Changes

  • Feat: add getInfiniteKey to mutate the cache for useSWRInfinite: #1257
  • Rename isDocumentVisible to isVisible: #1308

Patches

  • Fix types generate: #1266
  • Add test case that covers #1286: #1297
  • Enhance: simplify deno detection: #1299
  • Refine createCache: #1283
  • Fix useSWRInfinite doesn't revalidate the first page: #1301
  • Code structure refactoring: #1303

Credits

Huge thanks to @huozhi and @koba04 for helping!