SWR v0.2.3 Release Notes

Release Date: 2020-06-12 // almost 4 years ago
  • 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!