github vercel/swr 1.0.0-beta.7

latest releases: v2.2.6-beta.2, v2.2.6-beta.1, v2.2.6-beta.0...
pre-release2 years ago

Minor Changes

  • Adopt bunchee as bundler: #1025
  • Custom cache provider: #1017
  • Middleware: #1160

Patches

  • Test: refactor use-swr-loading.test.tsx: #1057
  • Test: refactor use-swr-local-mutation.test.tsx: #1059
  • Fix #1056: #1058
  • Test: refactor use-swr-offline.test.tsx: #1063
  • Allow setting the generic on mutate(): #1069
  • Read cache during render: #794
  • Code refactoring: #1077
  • Add --no-sourcemap: #1079
  • Fix mutate: #1075
  • Revert #1024: #1085
  • Fix: race problem when in dedupingInterval: #1088
  • Bug fixes: #1096
  • Test: refactor use-swr-refresh.test.tsx: #1103
  • Docs: optimistic UI examples comments more clearer: #1102
  • Fix setting null cache in useSWRInfinite: #1110
  • Test: refactor use-swr-revalidate.test.tsx: #1111
  • Test: refactor use-swr-suspense.test.tsx: #1113
  • Build: upragde bundler: #1121
  • Replace deprecated types with latest types in axios-typescript example: #1128
  • Add saveData to slowConnection: #1130
  • Clean code: #1145
  • Update bound mutate readme: #1127
  • Code optimizations: #1150
  • Enhance: support exports field: #1154
  • Fix global mutate generic: #1159
  • Build(deps): bump hosted-git-info from 2.8.5 to 2.8.9: #1164
  • Enhance: upgrade ts lint config: #1169
  • Build(deps): bump browserslist from 4.16.3 to 4.16.6: #1181
  • Fix: autocomplete suggestions example: #1183
  • Build(deps): bump ws from 7.4.2 to 7.4.6: #1184
  • Update README.md: #1203
  • Fix typo in placeholder: #1206
  • Update package.json: #1205
  • Build(deps): bump acorn from 6.3.0 to 6.4.2: #1210
  • Build(deps): bump y18n from 4.0.0 to 4.0.3: #1209
  • Build(deps): bump lodash from 4.17.19 to 4.17.21: #1208
  • Build(deps): bump glob-parent from 5.1.0 to 5.1.2: #1207
  • Add codeowner @huozhi: #1221

Credits

Huge thanks to @huozhi, @koba04, @promer94, @nstepien, @MoonBall, @mkrtchian, @eunsukimme, @Tak-Iwamoto, @meeoh, and @teinett for helping!

Don't miss a new swr release

NewReleases is sending notifications on new releases.