All Versions
17
Latest Version
Avg Release Cycle
17 days
Latest Release
336 days ago

Changelog History
Page 1

  • v0.3.9 Changes

    November 17, 2020

    Patches

    • Replace rIC with rAF: #744
    • ๐Ÿ›  Fix race condition when calling mutate synchronously: #735
    • โ™ป๏ธ Refactor: support SSR in Deno: #754
    • ๐Ÿ›  Fix eslint error: #768
    • ๐Ÿ›  Fix mutateCallback types: #745
    • โž• Add CodeSandbox CI: #769
    • ๐Ÿ‘• Dispatch's payload type is actionType and run lint: #772
    • ๐Ÿ›  Fix suspense: #777

    Credits

    Huge thanks to @ije, @umidbekkarimov, @matamatanot, and @promer94 for helping!

  • v0.3.8 Changes

    November 01, 2020

    Patches

    • ๐Ÿ‘ Allow passing null as the fetcher function for lazy execution: #730
    • โž• Add test for mutate with async-fn: #739

    Credits

    Huge thanks to @maggo and @promer94 for helping!

  • v0.3.7 Changes

    October 29, 2020

    Patches

    • โž• Add README to examples: #716
    • ๐Ÿ”ง Feat: make swr more configurable across platform: #690
    • Accept React 17 as a peer dependency: #725

    Credits

    Huge thanks to @thinceller, @huozhi, and @bcomnes for helping!

  • v0.3.6 Changes

    October 19, 2020

    Patches

    • ๐Ÿ›  Fix: missing dedupe in updaterInterface: #688
    • Doc: fix readme's Request Deduplication example: #699
    • ๐Ÿ›  Fix: error should not be cleared while revalidating: #701

    Credits

    Huge thanks to @huozhi and @Brew-Brew for helping!

  • v0.3.5 Changes

    September 25, 2020

    Patches

    • โœ‚ Remove unnecessary dependencies from mutate and setSize: #665
  • v0.3.4 Changes

    September 23, 2020

    Patches

    • Chore: swap fde for dequal: #655
    • โž• Add React and Hook config for ESLint: #270

    Credits

    Huge thanks to @lukeed and @innocentiv for helping!

  • v0.3.3 Changes

    September 20, 2020

    Patches

    • โฌ†๏ธ Bump handlebars from 4.5.2 to 4.7.6: #646
    • Try fix cannot stop polling by setting refreshInterval (#638): #632
    • Chore: fix error when data tobe 0 null: #622
    • Promote isValidating to the global level of data and error: #569
    • โœ‚ Remove Isomorphic Fetch from Axios Typescript example: #607
    • โž• Add a default fetcher using Fetch API: #367

    Credits

    Huge thanks to @anc95, @blackarctic, @jmichaliga, and @sergiodxa for helping!

  • v0.3.2 Changes

    September 01, 2020

    Patches

    • Chore: optimization dispatch: #621
    • โž• Add function key arguments to WeakMap so they trigger revalidation on identity change: #612

    Credits

    Huge thanks to @anc95 and @ath92 for helping!

  • v0.3.1 Changes

    August 20, 2020

    Patches

    • โž• Add useDebugValue to show the data label in the React DevTools: #578
    • ๐Ÿ›  Fix problem of unnecessary revalidates when resolved data is falsy: #524
    • โž• Added example for SWR Request De-duplication feature: #519
    • ๐Ÿ›  Fix: eventsRef should trigger the lastest version of config callbacks: #521
    • ๐Ÿ›  Fix useSWRInfinite response type: #584
    • ๐Ÿ›  Fix: 'revalidateOnFocus' and 'revalidateOnReconnect' shoule be statful: #583
    • Swr.vercel.app: #605
    • ๐Ÿ›  Fix: do not rerender if data unchanged: #464

    Credits

    ๐Ÿ‘• Huge thanks to @Kexin-Li, @MHA15, @tanmaylaud, @lintuming, @lynxtaa, @promer94, @thomaswang, and @morgs32 for helping!

  • v0.3.0 Changes

    July 30, 2020

    Minor Changes

    • ๐Ÿ†• New infinite loading API: #435
    • โž• Add microbundle: #487
    • โž• Add persistSize option to useSWRInfinite: #490
    • โช Revert "add microbundle " (#492): #487
    • โœจ Enhance: remove mutate calls from cache: #493
    • ๐Ÿ›  Fix page size persistence when remounting: #495
    • Don't retry on error if errorRetryCount is set to 0: #506
    • ๐Ÿ›  Fix: check if mounted when trigger rerender: #510
    • Export interfaces used by useSWRInfinite: #511
    • ๐Ÿ›  Fix typescript warning: #530
    • ๐Ÿ›  Fix: should throw when mutate failed: #557
    • โœจ Enhance: fallback to setTimeout when request idle callback is not available: #473
    • โœจ Enhance: move online listeners to config (#476): #474

    Patches

    • ๐Ÿ”„ Change name to Vercel: #467
    • โšก๏ธ Update keyErr on the cache when mutating: #480
    • โšก๏ธ Test: add test case for error updating in cache when mutate: #481
    • โšก๏ธ Updated the readme: #513
    • โšก๏ธ Update link: #516
    • โœ‚ Remove unused command: #544
    • โฌ†๏ธ Bump lodash from 4.17.15 to 4.17.19: #531

    Credits

    Huge thanks to @huozhi, @dominictwlee, @lolPants, @MoeCasts, @markozxuu, @cristianbgp, @ashfaqnisar, @matamatanot, and @Kexin-Li for helping!