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

Changelog History
Page 2

  • v0.2.3 Changes

    June 12, 2020

    Patches

    • 📄 Docs: update notes for returned data from mutate section: #394
    • 🔄 Change mutateCallback type to allow non-promise return value: #406
    • 🛠 Fix No bound mutate returned by useRequest hook.: #410
    • 🛠 Fix mutate not disposing older async mutations: #427
    • Create CODE_OF_CONDUCT.md: #432
    • Unmount check: #433
    • 🛠 Fix spread syntax with defineProperties: #436
    • ✂ Remove unused file: #441
    • 🏗 Build: use es5 syntax for esm build (#444): #443
    • Replace ZEIT with Vercel in examples: #442
    • ⚡️ Update docs to explain dependent fetching with falsy: #449
    • 👉 Use initialData in suspense mode if provided: #448
    • 📄 Docs: setup issue template: #453
    • 👉 Make trigger return a promise resolved to the new cache value: #391

    Credits

    Huge thanks to @huozhi, @ties-v, @shyamlohar, @TheHolyWaffle, @promer94, @alexandregv, @joshkel, @Narigo, and @sergiodxa for helping!

  • v0.2.2 Changes

    May 22, 2020

    Patches

    • ⚡️ Updated asset link: #408

    Credits

    Huge thanks to @leo for helping!

  • v0.2.1 Changes

    May 20, 2020

    Patches

    • ⬆️ Upgrade Next.js: #324
    • 📚 Minor documentation improvements: #321
    • ➕ Add Data and Error generics to pagesResponseInterface: #294
    • ✂ Remove unused import in example: #338
    • ✅ Use latest: #342
    • ✅ Test: imporve dynamic polling interval test: #351
    • ⚡️ Update handle in CODEOWNERS: 65449cd
    • ✂ Remove the server side suspense warning: #370
    • 🔄 Change if condition and remove 'do nothing': #356
    • ➕ Add Optimistic UI with Immer example: #374
    • 🛠 Fix return type of mutateCallback: #381
    • 🛠 Fix axios example unexpected mutation behavior: #380
    • 🛠 Fix: data inconsist on key change when fetcher is synchronized: #369
    • ⚡️ Update links to Vercel: #385
    • RevalidateOnMount flag that disable automatic revalidation on mount: #225
    • ⚡️ Update README.md: #389

    Credits

    Huge thanks to @timneutkens, @akx, @Kerumen, @zusinShinpei, @matamatanot, @promer94, @hikaru7719, @sergiodxa, @jericopulvera, @huozhi, @sarupbanskota, and @ciak0 for helping!

  • v0.2.0 Changes

    March 30, 2020

    Patches

    • 🛠 Fix polling conditions: #281
    • 🔄 Change useRequest.js to use mutate: #292
    • 🛠 Fix 'reconnect' assignment: #297
    • Dedupe extra requests after mutation: #296
    • 👉 Use window as a target for online event: #300
    • ⬆️ Bump acorn from 5.7.3 to 5.7.4: #303
    • ⚡️ Update examples/server-render: Use getServerSideProps: #307
    • Document the compare option: #320
    • Hoist side effects out of useSWRPages render fiber: #317
    • ✂ Remove keyRef check; add tests: #323

    Credits

    Huge thanks to @mattfwood, @zhengjitf, @buffaybu, @nulladdict, @matamatanot, @joshkel, and @neolefty for helping!

  • v0.2.0-beta.0 Changes

    February 24, 2020

    Minor Changes

    • 🔦 Expose Cache: #231

    Credits

    Huge thanks to @sergiodxa for helping!

  • v0.1.18 Changes

    February 24, 2020

    Patches

    • ➕ Add regression test for WeakMap key is null: #273
    • 🛠 Fix: disable dedupe when trigger/mutate (#279): #271
    • 👌 Improve mutate function: #245
    • ➕ Add errorRetryCount config option: #277
    • 🛠 Fixed potential typescript error in examples/axios-typescript: #265

    Credits

    Huge thanks to @sergiodxa, @dominictwlee, and @Svish for helping!

  • v0.1.17 Changes

    February 14, 2020

    Patches

    • 🛠 Fixed return awaits: #216
    • 🚚 Check if addEventListener and removeEventListener exists: #217
    • 👕 ESlint ignore add esm folder: #218
    • Reorganize slow connection code. Make it a tiny bit smaller: #220
    • 🛠 Fix check for addEventListener existence: #223
    • 👍 Allow use custom isEqual method: #219
    • Moving page cache to use a cache map: #221
    • ⚡️ Update README.md: #235
    • ✅ Test(typo): fix typo: #244
    • 🛠 Fix weakmap key is null: #251
    • 🛠 Fix race condition and add test: #261

    Credits

    Huge thanks to @vassbence, @r13v, @jinxin0112, @onigoetz, @robinandeer, @lllllllqw, @aequasi, and @darrenjennings for helping!