Change Log
Please visit the SWR release page for all history releases.
v2.2.6-beta.4
Published on Sat Jun 01 2024.
What's Changed
- fix: Improve comparison performance by @shuding in https://github.com/vercel/swr/pull/2973
Full Changelog: https://github.com/vercel/swr/compare/v2.2.6-beta.3...v2.2.6-beta.4
v2.2.6-beta.3
Published on Fri May 24 2024.
What's Changed
- ci: fix ci error and upgrade action version by @promer94 in https://github.com/vercel/swr/pull/2952
- Add SWRInfiniteMutatorOptions type to export by @ludwigbacklund in https://github.com/vercel/swr/pull/2954
- test: update the revalidate function test for useSWRInfinite by @koba04 in https://github.com/vercel/swr/pull/2955
- Export ScopedMutator type by @joshkel in https://github.com/vercel/swr/pull/2937
- fix: check if config.fallback is undefined by @taku-hatano in https://github.com/vercel/swr/pull/2913
- fix(infinte): export SWRInfiniteKeyedMutator type by @LeoMcA in https://github.com/vercel/swr/pull/2900
- chore: add react peerDeps 19 by @devjiwonchoi in https://github.com/vercel/swr/pull/2963
New Contributors
- @ludwigbacklund made their first contribution in https://github.com/vercel/swr/pull/2954
- @taku-hatano made their first contribution in https://github.com/vercel/swr/pull/2913
- @LeoMcA made their first contribution in https://github.com/vercel/swr/pull/2900
- @devjiwonchoi made their first contribution in https://github.com/vercel/swr/pull/2963
Full Changelog: https://github.com/vercel/swr/compare/v2.2.6-beta.2...v2.2.6-beta.3
v2.2.6-beta.2
Published on Sat Apr 06 2024.
Patches
- build: bump bundler for perf by @huozhi in https://github.com/vercel/swr/pull/2929
- Fix bundling of client entry chunks by @huozhi in https://github.com/vercel/swr/pull/2932
Full Changelog: https://github.com/vercel/swr/compare/v2.2.6-beta.1...v2.2.6-beta.2
v2.2.6-beta.1
Published on Sun Mar 31 2024.
What's Changed
- build: fix beta release job by @huozhi in https://github.com/vercel/swr/pull/2895
- chore: Improve test coverage by @shuding in https://github.com/vercel/swr/pull/2903
- chore: simplify test coverage strategy by @huozhi in https://github.com/vercel/swr/pull/2909
- build: simplify react-server export and update bundler by @huozhi in https://github.com/vercel/swr/pull/2897
- examples: add RSC streaming pre-render with promise fallback example by @promer94 in https://github.com/vercel/swr/pull/2905
- Drop client-only by @huozhi in https://github.com/vercel/swr/pull/2910
- Mark package as side-effect free by @htunnicliff in https://github.com/vercel/swr/pull/2904
- Drop exports module field by @huozhi in https://github.com/vercel/swr/pull/2911
- fix: Replace the deprecated 'window' with 'globalThis' for Deno by @saul-atomrigs in https://github.com/vercel/swr/pull/2915
- chore: update pkg script watch by @unliar in https://github.com/vercel/swr/pull/2920
- test: remove console.error times check by @promer94 in https://github.com/vercel/swr/pull/2918
New Contributors
- @htunnicliff made their first contribution in https://github.com/vercel/swr/pull/2904
- @saul-atomrigs made their first contribution in https://github.com/vercel/swr/pull/2915
- @unliar made their first contribution in https://github.com/vercel/swr/pull/2920
Full Changelog: https://github.com/vercel/swr/compare/v2.2.6-beta.0...v2.2.6-beta.1
v2.2.5
Published on Thu Feb 15 2024.
Patches
- types: isLoading typed as boolean when using fallbackData (#2866) by @yjrhgvbn in https://github.com/vercel/swr/pull/2875
- fix: allow onErrorRetry on inactive tab without focus/reconnect revalidation by @qkdreyer in https://github.com/vercel/swr/pull/2848
- feat: pass a function to the revalidate option in mutate by @koba04 in https://github.com/vercel/swr/pull/2862
- fix: SWRConfiguration type by @hulla-dev in https://github.com/vercel/swr/pull/2882
Misc
- build: use new bundle convention by @huozhi in https://github.com/vercel/swr/pull/2865
- chore: update pnpm-lock.yaml by @koba04 in https://github.com/vercel/swr/pull/2874
- chore: remove useless comment by @kongmoumou in https://github.com/vercel/swr/pull/2868
- test: run pnpm test on CI by @koba04 in https://github.com/vercel/swr/pull/2872
- fix: all act warnings by @koba04 in https://github.com/vercel/swr/pull/2861
- Update bundler by @huozhi in https://github.com/vercel/swr/pull/2830
New Contributors
- @kongmoumou made their first contribution in https://github.com/vercel/swr/pull/2868
- @yjrhgvbn made their first contribution in https://github.com/vercel/swr/pull/2875
- @qkdreyer made their first contribution in https://github.com/vercel/swr/pull/2848
- @hulla-dev made their first contribution in https://github.com/vercel/swr/pull/2882
Full Changelog: https://github.com/vercel/swr/compare/v2.2.4...v2.2.5