New
v2.3.1
Fixes
- fix: missing
throwOnErrorin SWRMutationHook options by @Ram4GB in https://github.com/vercel/swr/pull/3054 - fix: sever env detection for deno by @elrrrrrrr in https://github.com/vercel/swr/pull/4064
- keepPreviousData: return fallback instead of undefined value by @dvoytenko in https://github.com/vercel/swr/pull/4084
Misc
- ci: update pnpm setup and lock pnpm vesion by @huozhi in https://github.com/vercel/swr/pull/4085
- build: bump bundler by @huozhi in https://github.com/vercel/swr/pull/4086
- refactor: type improvement of
useSWRHandlerby @samuel871211 in https://github.com/vercel/swr/pull/4075
New Contributors
- @Ram4GB made their first contribution in https://github.com/vercel/swr/pull/3054
- @elrrrrrrr made their first contribution in https://github.com/vercel/swr/pull/4064
- @dvoytenko made their first contribution in https://github.com/vercel/swr/pull/4084
- @samuel871211 made their first contribution in https://github.com/vercel/swr/pull/4075
Full Changelog: https://github.com/vercel/swr/compare/v2.3.0...v2.3.1