v2.2.5
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
Fetched April 18, 2026
