yarn swr 1.0.0-beta.9

latest releases: 2.2.6-beta.4, 2.2.6-beta.3, 2.2.6-beta.1...
3 years ago

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!

Don't miss a new swr release

NewReleases is sending notifications on new releases.