{"id":"src_ywQzOi8KdZ7iAS8fLDE-O","slug":"swr","name":"SWR","type":"github","url":"https://github.com/vercel/swr","orgId":"org_qsyZSlC_PRGFDYIGsMfzp","org":{"slug":"vercel","name":"Vercel"},"isPrimary":false,"metadata":"{\"changelogDetectedAt\":\"2026-03-31T14:04:45.492Z\"}","releaseCount":126,"releasesLast30Days":0,"avgReleasesPerWeek":0.1,"latestVersion":"v2.4.0","latestDate":"2026-02-01T03:02:37.000Z","changelogUrl":null,"hasChangelogFile":false,"lastFetchedAt":"2026-04-18T14:01:11.464Z","trackingSince":"2019-10-29T18:59:22.000Z","releases":[{"id":"rel_qVHGnXCG-S6LOKEGpypqt","version":"v2.4.0","title":"v2.4.0","summary":"## What's Changed\r\n* chore: Migrate suspense related tests to e2e by @promer94 in https://github.com/vercel/swr/pull/4204\r\n* CI: add missing flag for ...","content":"## What's Changed\r\n* chore: Migrate suspense related tests to e2e by @promer94 in https://github.com/vercel/swr/pull/4204\r\n* CI: add missing flag for canary test by @promer94 in https://github.com/vercel/swr/pull/4206\r\n* fix: Ensure useSWRImmutable overrides global refreshInterval by @CODEAbhinav-art in https://github.com/vercel/swr/pull/4208\r\n* fix: Extra render when changing to new key with useSWRImmutable by @promer94 in https://github.com/vercel/swr/pull/4209\r\n* fix: isHydration will cause unnecessary rerender  by @promer94 in https://github.com/vercel/swr/pull/4212\r\n* fix: Ensure preload runs only on client by @Copilot in https://github.com/vercel/swr/pull/4213\r\n\r\n## New Contributors\r\n* @CODEAbhinav-art made their first contribution in https://github.com/vercel/swr/pull/4208\r\n* @Copilot made their first contribution in https://github.com/vercel/swr/pull/4213\r\n\r\n**Full Changelog**: https://github.com/vercel/swr/compare/v2.3.8...v2.4.0","publishedAt":"2026-02-01T03:02:37.000Z","url":"https://github.com/vercel/swr/releases/tag/v2.4.0","media":[]},{"id":"rel_Hem65tIT8LES6IdlhGeig","version":"v2.3.8","title":"v2.3.8","summary":"## What's Changed\r\n* deps: upgrade dev deps for build by @promer94 in https://github.com/vercel/swr/pull/4188\r\n* update use-sync-external-store to lat...","content":"## What's Changed\r\n* deps: upgrade dev deps for build by @promer94 in https://github.com/vercel/swr/pull/4188\r\n* update use-sync-external-store to latest by @huozhi in https://github.com/vercel/swr/pull/4189\r\n* fix: cve-2025-55182 critical rce vulnerability by @PierreCrb in https://github.com/vercel/swr/pull/4192\r\n* fix: cve-2025-55184 & CVE-2025-55183 by @PierreCrb in https://github.com/vercel/swr/pull/4198\r\n* upgrade dev dep nextjs by @huozhi in https://github.com/vercel/swr/pull/4199\r\n* update dev dependencies to address cve by @PierreCrb in https://github.com/vercel/swr/pull/4200\r\n* enhance: Improve TSDoc comments by @shuding in https://github.com/vercel/swr/pull/4203\r\n* test: Import `act` from React by @shuding in https://github.com/vercel/swr/pull/4202\r\n\r\n## New Contributors\r\n* @PierreCrb made their first contribution in https://github.com/vercel/swr/pull/4192\r\n\r\n**Full Changelog**: https://github.com/vercel/swr/compare/v2.3.7...v2.3.8","publishedAt":"2025-12-15T18:52:52.000Z","url":"https://github.com/vercel/swr/releases/tag/v2.3.8","media":[]},{"id":"rel_gw7F12_6pM1_3DxgR2xcm","version":"v2.3.7","title":"v2.3.7","summary":"## What's Changed\r\n* deps: upgrade ci node version to 22 by @promer94 in https://github.com/vercel/swr/pull/4184\r\n* deps: upgrade pnpm version by @pro...","content":"## What's Changed\r\n* deps: upgrade ci node version to 22 by @promer94 in https://github.com/vercel/swr/pull/4184\r\n* deps: upgrade pnpm version by @promer94 in https://github.com/vercel/swr/pull/4185\r\n* deps: upgrade playwright version by @promer94 in https://github.com/vercel/swr/pull/4186\r\n* deps: upgrade eslint version and fix lint problem by @promer94 in https://github.com/vercel/swr/pull/4187\r\n* feat: Add `strictServerPrefetchWarning` by @shuding in https://github.com/vercel/swr/pull/4183\r\n\r\n\r\n**Full Changelog**: https://github.com/vercel/swr/compare/v2.3.6...v2.3.7","publishedAt":"2025-11-28T20:29:40.000Z","url":"https://github.com/vercel/swr/releases/tag/v2.3.7","media":[]},{"id":"rel_W04YIdiacfCvzH-CZOy4I","version":"v2.3.6","title":"v2.3.6","summary":"## Patches\r\n* fix: do not error when not enabled during suspense by @huozhi in https://github.com/vercel/swr/pull/4156\r\n\r\n\r\n**Full Changelog**: https:...","content":"## Patches\r\n* fix: do not error when not enabled during suspense by @huozhi in https://github.com/vercel/swr/pull/4156\r\n\r\n\r\n**Full Changelog**: https://github.com/vercel/swr/compare/v2.3.5...v2.3.6","publishedAt":"2025-08-11T15:54:37.000Z","url":"https://github.com/vercel/swr/releases/tag/v2.3.6","media":[]},{"id":"rel_BDTvXFcZAc714pS8wpd6-","version":"v2.3.5","title":"v2.3.5","summary":"## Patches\r\n* perf: optimize `useSWRConfig` with `useMemo` to maintain stable reference by @samuel871211 in https://github.com/vercel/swr/pull/4110\r\nh...","content":"## Patches\r\n* perf: optimize `useSWRConfig` with `useMemo` to maintain stable reference by @samuel871211 in https://github.com/vercel/swr/pull/4110\r\nhttps://github.com/vercel/swr/pull/4076\r\n* fix: react.use should not depend on data condition by @huozhi in https://github.com/vercel/swr/pull/4150\r\n\r\n### Chores\r\n* doc: Sync `PublicConfiguration.onDiscarded` tsdoc with SWR official website by @samuel871211 in \r\n* test: e2e test for 2702 by @promer94 in https://github.com/vercel/swr/pull/4154\r\n\r\n## New Contributors\r\n* @eungwang1 made their first contribution in https://github.com/vercel/swr/pull/2947\r\n\r\n**Full Changelog**: https://github.com/vercel/swr/compare/v2.3.4...v2.3.5","publishedAt":"2025-08-09T08:57:49.000Z","url":"https://github.com/vercel/swr/releases/tag/v2.3.5","media":[]},{"id":"rel_yXFcN6MncY0BARoCl1hBP","version":"v2.3.5-beta.0","title":"v2.3.5-beta.0","summary":"## Patches\r\n* perf: optimize `useSWRConfig` with `useMemo` to maintain stable reference by @samuel871211 in https://github.com/vercel/swr/pull/4110\r\n*...","content":"## Patches\r\n* perf: optimize `useSWRConfig` with `useMemo` to maintain stable reference by @samuel871211 in https://github.com/vercel/swr/pull/4110\r\n* doc: Sync `PublicConfiguration.onDiscarded` tsdoc with SWR official website by @samuel871211 in https://github.com/vercel/swr/pull/4076\r\n* feat: modify cache type to allow generic usage by @eungwang1 in https://github.com/vercel/swr/pull/2947\r\n* Revert \"feat: modify cache type to allow generic usage\" by @huozhi in https://github.com/vercel/swr/pull/4151\r\n* fix: react.use should not depend on data condition by @huozhi in https://github.com/vercel/swr/pull/4150\r\n\r\n## New Contributors\r\n* @eungwang1 made their first contribution in https://github.com/vercel/swr/pull/2947\r\n\r\n**Full Changelog**: https://github.com/vercel/swr/compare/v2.3.4...v2.3.5-beta.0","publishedAt":"2025-08-06T14:45:31.000Z","url":"https://github.com/vercel/swr/releases/tag/v2.3.5-beta.0","media":[]},{"id":"rel_sn8XtwH1Dny67A0GTI2EE","version":"v2.3.4","title":"v2.3.4","summary":"## What's Changed\r\n* Fix markdown typo by @Nusab19 in https://github.com/vercel/swr/pull/4106\r\n* fix: check \"if (!error)\" skip error if value is cast ...","content":"## What's Changed\r\n* Fix markdown typo by @Nusab19 in https://github.com/vercel/swr/pull/4106\r\n* fix: check \"if (!error)\" skip error if value is cast to false by @vtgrachev in https://github.com/vercel/swr/pull/4118\r\n* feat: Improve global suspense-enabled `data` type by @oosawy in https://github.com/vercel/swr/pull/4126\r\n* fix: Performance improvement by reducing calls to toString() by @garyhuntddn in https://github.com/vercel/swr/pull/4092\r\n* fix: Optimize the revalidation logic for same key requests. by @agadzik in https://github.com/vercel/swr/pull/4138\r\n\r\n## New Contributors\r\n* @Nusab19 made their first contribution in https://github.com/vercel/swr/pull/4106\r\n* @vtgrachev made their first contribution in https://github.com/vercel/swr/pull/4118\r\n* @garyhuntddn made their first contribution in https://github.com/vercel/swr/pull/4092\r\n\r\n**Full Changelog**: https://github.com/vercel/swr/compare/v2.3.3...v2.3.4","publishedAt":"2025-07-02T15:36:36.000Z","url":"https://github.com/vercel/swr/releases/tag/v2.3.4","media":[]},{"id":"rel_KbcGKHuMqvcKch8_w7150","version":"v2.3.3","title":"v2.3.3","summary":"### Patches\r\n* enhance: use empty prototype object by @huozhi in https://github.com/vercel/swr/pull/4099\r\n* Initialise nextFocusRevalidatedAt on mount...","content":"### Patches\r\n* enhance: use empty prototype object by @huozhi in https://github.com/vercel/swr/pull/4099\r\n* Initialise nextFocusRevalidatedAt on mount by @mgoodfellow in https://github.com/vercel/swr/pull/2857\r\n\r\n### Misc\r\n* Update Twitter references to X by @ManuLpz4 in https://github.com/vercel/swr/pull/4103\r\n\r\n## New Contributors\r\n* @ManuLpz4 made their first contribution in https://github.com/vercel/swr/pull/4103\r\n* @mgoodfellow made their first contribution in https://github.com/vercel/swr/pull/2857\r\n\r\n**Full Changelog**: https://github.com/vercel/swr/compare/v2.3.2...v2.3.3","publishedAt":"2025-03-06T20:15:47.000Z","url":"https://github.com/vercel/swr/releases/tag/v2.3.3","media":[]},{"id":"rel_LmM-OArLmghZCb3oV6NhS","version":"v2.3.2","title":"v2.3.2","summary":"## Patches\r\n* (fix) keepPreviousData: return fallback instead of undefined value by @dvoytenko in https://github.com/vercel/swr/pull/4087\r\n\r\n\r\n**Full ...","content":"## Patches\r\n* (fix) keepPreviousData: return fallback instead of undefined value by @dvoytenko in https://github.com/vercel/swr/pull/4087\r\n\r\n\r\n**Full Changelog**: https://github.com/vercel/swr/compare/v2.3.1...v2.3.2","publishedAt":"2025-02-05T17:03:39.000Z","url":"https://github.com/vercel/swr/releases/tag/v2.3.2","media":[]},{"id":"rel_rPOA3voDs2EbNdfNZpEV-","version":"v2.3.1","title":"v2.3.1","summary":"### Fixes\r\n* fix: missing `throwOnError` in SWRMutationHook options by @Ram4GB in https://github.com/vercel/swr/pull/3054\r\n* fix: sever env detection ...","content":"### Fixes\r\n* fix: missing `throwOnError` in SWRMutationHook options by @Ram4GB in https://github.com/vercel/swr/pull/3054\r\n* fix: sever env detection for deno by @elrrrrrrr in https://github.com/vercel/swr/pull/4064\r\n* keepPreviousData: return fallback instead of undefined value by @dvoytenko in https://github.com/vercel/swr/pull/4084\r\n\r\n### Misc\r\n* ci: update pnpm setup and lock pnpm vesion by @huozhi in https://github.com/vercel/swr/pull/4085\r\n* build: bump bundler by @huozhi in https://github.com/vercel/swr/pull/4086\r\n* refactor: type improvement of `useSWRHandler` by @samuel871211 in https://github.com/vercel/swr/pull/4075\r\n\r\n## New Contributors\r\n* @Ram4GB made their first contribution in https://github.com/vercel/swr/pull/3054\r\n* @elrrrrrrr made their first contribution in https://github.com/vercel/swr/pull/4064\r\n* @dvoytenko made their first contribution in https://github.com/vercel/swr/pull/4084\r\n* @samuel871211 made their first contribution in https://github.com/vercel/swr/pull/4075\r\n\r\n**Full Changelog**: https://github.com/vercel/swr/compare/v2.3.0...v2.3.1","publishedAt":"2025-02-05T01:06:47.000Z","url":"https://github.com/vercel/swr/releases/tag/v2.3.1","media":[]},{"id":"rel_EjV3VWcKT9XOT6pAAlzue","version":"v2.3.0","title":"v2.3.0","summary":"### Feature\r\n\r\n* Support promises as fallback data by @shuding in https://github.com/vercel/swr/pull/2891\r\n* Allow to use with React 19 by @vladshcher...","content":"### Feature\r\n\r\n* Support promises as fallback data by @shuding in https://github.com/vercel/swr/pull/2891\r\n* Allow to use with React 19 by @vladshcherbin and @devjiwonchoi in https://github.com/vercel/swr/pull/3047, https://github.com/vercel/swr/pull/2963\r\n\r\n### Patches\r\n\r\n* fix #3030 and run relateive test in edge-runtime by @promer94 in https://github.com/vercel/swr/pull/3036\r\n* fix: Only suspend when using the `fallback` by @shuding in https://github.com/vercel/swr/pull/3045\r\n* fix type check in tests by @huozhi in https://github.com/vercel/swr/pull/3052\r\n* fix: Replace the deprecated 'window' with 'globalThis' for Deno by @saul-atomrigs in https://github.com/vercel/swr/pull/2915\r\n* fix: check if config.fallback is undefined by @taku-hatano in https://github.com/vercel/swr/pull/2913\r\n* fix(infinte): export SWRInfiniteKeyedMutator type by @LeoMcA in https://github.com/vercel/swr/pull/2900\r\n* fix: Improve comparison performance by @shuding in https://github.com/vercel/swr/pull/2973\r\n* Export ScopedMutator type by @joshkel in https://github.com/vercel/swr/pull/2937\r\n* Improve-Type-Safety-and-State-Access-in-useStateWithDeps-Hook by @O-BERNARDOFOEGBU in https://github.com/vercel/swr/pull/3027\r\n\r\n### Misc\r\n\r\n* chore: bump dev deps and change example react version to latest by @huozhi in https://github.com/vercel/swr/pull/2894\r\n* build: fix beta release job by @huozhi in https://github.com/vercel/swr/pull/2895\r\n* chore: Improve test coverage by @shuding in https://github.com/vercel/swr/pull/2903\r\n* chore: simplify test coverage strategy by @huozhi in https://github.com/vercel/swr/pull/2909\r\n* build: simplify react-server export and update bundler by @huozhi in https://github.com/vercel/swr/pull/2897\r\n* examples: add RSC streaming pre-render with promise fallback example by @promer94 in https://github.com/vercel/swr/pull/2905\r\n* Drop client-only by @huozhi in https://github.com/vercel/swr/pull/2910\r\n* Mark package as side-effect free by @htunnicliff in https://github.com/vercel/swr/pull/2904\r\n* Drop exports module field by @huozhi in https://github.com/vercel/swr/pull/2911\r\n* chore: update pkg script watch by @unliar in https://github.com/vercel/swr/pull/2920\r\n* test: remove console.error times check by @promer94 in https://github.com/vercel/swr/pull/2918\r\n* build: bump bundler for perf by @huozhi in https://github.com/vercel/swr/pull/2929\r\n* Fix bundling of client entry chunks  by @huozhi in https://github.com/vercel/swr/pull/2932\r\n* ci: fix ci error and upgrade action version by @promer94 in https://github.com/vercel/swr/pull/2952\r\n* Add SWRInfiniteMutatorOptions type to export by @ludwigbacklund in https://github.com/vercel/swr/pull/2954\r\n* test: update the revalidate function test for useSWRInfinite by @koba04 in https://github.com/vercel/swr/pull/2955\r\n* chore: upgrade nextjs dev dep for e2e testing by @huozhi in https://github.com/vercel/swr/pull/3044\r\n* ci: simplify ci config and bump some deps version by @promer94 in https://github.com/vercel/swr/pull/2770\r\n* chore: reorganize entries by @huozhi in https://github.com/vercel/swr/pull/3048\r\n* Bump bundler and reorganize serialize exports by @huozhi in https://github.com/vercel/swr/pull/3049\r\n* upgrade use-sync-external-store to support react 19 by @huozhi in https://github.com/vercel/swr/pull/3050\r\n\r\n\r\n## New Contributors\r\n* @htunnicliff made their first contribution in https://github.com/vercel/swr/pull/2904\r\n* @saul-atomrigs made their first contribution in https://github.com/vercel/swr/pull/2915\r\n* @unliar made their first contribution in https://github.com/vercel/swr/pull/2920\r\n* @ludwigbacklund made their first contribution in https://github.com/vercel/swr/pull/2954\r\n* @taku-hatano made their first contribution in https://github.com/vercel/swr/pull/2913\r\n* @LeoMcA made their first contribution in https://github.com/vercel/swr/pull/2900\r\n* @devjiwonchoi made their first contribution in https://github.com/vercel/swr/pull/2963\r\n* @vladshcherbin made their first contribution in https://github.com/vercel/swr/pull/3047\r\n* @O-BERNARDOFOEGBU made their first contribution in https://github.com/vercel/swr/pull/3027\r\n\r\n**Full Changelog**: https://github.com/vercel/swr/compare/v2.2.5...v2.3.0","publishedAt":"2024-12-23T15:27:46.000Z","url":"https://github.com/vercel/swr/releases/tag/v2.3.0","media":[]},{"id":"rel_rZOzIdC8OQ092jrPmBtuw","version":"v2.2.6-beta.4","title":"v2.2.6-beta.4","summary":"## What's Changed\r\n* fix: Improve comparison performance by @shuding in https://github.com/vercel/swr/pull/2973\r\n\r\n\r\n**Full Changelog**: https://githu...","content":"## What's Changed\r\n* fix: Improve comparison performance by @shuding in https://github.com/vercel/swr/pull/2973\r\n\r\n\r\n**Full Changelog**: https://github.com/vercel/swr/compare/v2.2.6-beta.3...v2.2.6-beta.4","publishedAt":"2024-06-01T00:01:58.000Z","url":"https://github.com/vercel/swr/releases/tag/v2.2.6-beta.4","media":[]},{"id":"rel_oj03CA8mn6HC9vOt-q9s3","version":"v2.2.6-beta.3","title":"v2.2.6-beta.3","summary":"## What's Changed\r\n* ci: fix ci error and upgrade action version by @promer94 in https://github.com/vercel/swr/pull/2952\r\n* Add SWRInfiniteMutatorOpti...","content":"## What's Changed\r\n* ci: fix ci error and upgrade action version by @promer94 in https://github.com/vercel/swr/pull/2952\r\n* Add SWRInfiniteMutatorOptions type to export by @ludwigbacklund in https://github.com/vercel/swr/pull/2954\r\n* test: update the revalidate function test for useSWRInfinite by @koba04 in https://github.com/vercel/swr/pull/2955\r\n* Export ScopedMutator type by @joshkel in https://github.com/vercel/swr/pull/2937\r\n* fix: check if config.fallback is undefined by @taku-hatano in https://github.com/vercel/swr/pull/2913\r\n* fix(infinte): export SWRInfiniteKeyedMutator type by @LeoMcA in https://github.com/vercel/swr/pull/2900\r\n* chore: add react peerDeps 19 by @devjiwonchoi in https://github.com/vercel/swr/pull/2963\r\n\r\n## New Contributors\r\n* @ludwigbacklund made their first contribution in https://github.com/vercel/swr/pull/2954\r\n* @taku-hatano made their first contribution in https://github.com/vercel/swr/pull/2913\r\n* @LeoMcA made their first contribution in https://github.com/vercel/swr/pull/2900\r\n* @devjiwonchoi made their first contribution in https://github.com/vercel/swr/pull/2963\r\n\r\n**Full Changelog**: https://github.com/vercel/swr/compare/v2.2.6-beta.2...v2.2.6-beta.3","publishedAt":"2024-05-24T22:15:51.000Z","url":"https://github.com/vercel/swr/releases/tag/v2.2.6-beta.3","media":[]},{"id":"rel_FoytvWoLOAzug0M9a2baC","version":"v2.2.6-beta.2","title":"v2.2.6-beta.2","summary":"## Patches\r\n* build: bump bundler for perf by @huozhi in https://github.com/vercel/swr/pull/2929\r\n* Fix bundling of client entry chunks  by @huozhi in...","content":"## Patches\r\n* build: bump bundler for perf by @huozhi in https://github.com/vercel/swr/pull/2929\r\n* Fix bundling of client entry chunks  by @huozhi in https://github.com/vercel/swr/pull/2932\r\n\r\n\r\n**Full Changelog**: https://github.com/vercel/swr/compare/v2.2.6-beta.1...v2.2.6-beta.2","publishedAt":"2024-04-06T16:22:12.000Z","url":"https://github.com/vercel/swr/releases/tag/v2.2.6-beta.2","media":[]},{"id":"rel_sSxG_LbqFYzsIZ_q0vEaG","version":"v2.2.6-beta.1","title":"v2.2.6-beta.1","summary":"## What's Changed\r\n* build: fix beta release job by @huozhi in https://github.com/vercel/swr/pull/2895\r\n* chore: Improve test coverage by @shuding in ...","content":"## What's Changed\r\n* build: fix beta release job by @huozhi in https://github.com/vercel/swr/pull/2895\r\n* chore: Improve test coverage by @shuding in https://github.com/vercel/swr/pull/2903\r\n* chore: simplify test coverage strategy by @huozhi in https://github.com/vercel/swr/pull/2909\r\n* build: simplify react-server export and update bundler by @huozhi in https://github.com/vercel/swr/pull/2897\r\n* examples: add RSC streaming pre-render with promise fallback example by @promer94 in https://github.com/vercel/swr/pull/2905\r\n* Drop client-only by @huozhi in https://github.com/vercel/swr/pull/2910\r\n* Mark package as side-effect free by @htunnicliff in https://github.com/vercel/swr/pull/2904\r\n* Drop exports module field by @huozhi in https://github.com/vercel/swr/pull/2911\r\n* fix: Replace the deprecated 'window' with 'globalThis' for Deno by @saul-atomrigs in https://github.com/vercel/swr/pull/2915\r\n* chore: update pkg script watch by @unliar in https://github.com/vercel/swr/pull/2920\r\n* test: remove console.error times check by @promer94 in https://github.com/vercel/swr/pull/2918\r\n\r\n## New Contributors\r\n* @htunnicliff made their first contribution in https://github.com/vercel/swr/pull/2904\r\n* @saul-atomrigs made their first contribution in https://github.com/vercel/swr/pull/2915\r\n* @unliar made their first contribution in https://github.com/vercel/swr/pull/2920\r\n\r\n**Full Changelog**: https://github.com/vercel/swr/compare/v2.2.6-beta.0...v2.2.6-beta.1","publishedAt":"2024-03-31T11:07:53.000Z","url":"https://github.com/vercel/swr/releases/tag/v2.2.6-beta.1","media":[]},{"id":"rel_cZn4qBpOBXLoy3SfqlPqW","version":"v2.2.5","title":"v2.2.5","summary":"## Patches\r\n* types: isLoading typed as boolean when using fallbackData (#2866) by @yjrhgvbn in https://github.com/vercel/swr/pull/2875\r\n* fix: allow ...","content":"## Patches\r\n* types: isLoading typed as boolean when using fallbackData (#2866) by @yjrhgvbn in https://github.com/vercel/swr/pull/2875\r\n* fix: allow onErrorRetry on inactive tab without focus/reconnect revalidation by @qkdreyer in https://github.com/vercel/swr/pull/2848\r\n* feat: pass a function to the revalidate option in mutate by @koba04 in https://github.com/vercel/swr/pull/2862\r\n* fix: SWRConfiguration type by @hulla-dev in https://github.com/vercel/swr/pull/2882\r\n\r\n## Misc\r\n* build: use new bundle convention by @huozhi in https://github.com/vercel/swr/pull/2865\r\n* chore: update pnpm-lock.yaml by @koba04 in https://github.com/vercel/swr/pull/2874\r\n* chore: remove useless comment by @kongmoumou in https://github.com/vercel/swr/pull/2868\r\n* test: run pnpm test on CI by @koba04 in https://github.com/vercel/swr/pull/2872\r\n* fix: all act warnings by @koba04 in https://github.com/vercel/swr/pull/2861\r\n* Update bundler by @huozhi in https://github.com/vercel/swr/pull/2830\r\n\r\n## New Contributors\r\n* @kongmoumou made their first contribution in https://github.com/vercel/swr/pull/2868\r\n* @yjrhgvbn made their first contribution in https://github.com/vercel/swr/pull/2875\r\n* @qkdreyer made their first contribution in https://github.com/vercel/swr/pull/2848\r\n* @hulla-dev made their first contribution in https://github.com/vercel/swr/pull/2882\r\n\r\n**Full Changelog**: https://github.com/vercel/swr/compare/v2.2.4...v2.2.5","publishedAt":"2024-02-15T23:32:26.000Z","url":"https://github.com/vercel/swr/releases/tag/v2.2.5","media":[]},{"id":"rel_hCl42macW3r2lxfiWUdXH","version":"v2.2.4","title":"v2.2.4","summary":"## Patches\r\n* Revert \"Remove `index.js` suffix of `use-sync-external-store/shim` to support React Native\" by @huozhi in https://github.com/vercel/swr/...","content":"## Patches\r\n* Revert \"Remove `index.js` suffix of `use-sync-external-store/shim` to support React Native\" by @huozhi in https://github.com/vercel/swr/pull/2802\r\n\r\n\r\n**Full Changelog**: https://github.com/vercel/swr/compare/v2.2.3...v2.2.4","publishedAt":"2023-09-25T12:36:37.000Z","url":"https://github.com/vercel/swr/releases/tag/v2.2.4","media":[]},{"id":"rel_jC8_muNgcicrTOWWZEqTU","version":"v2.2.3","title":"v2.2.3","summary":"## Patches\r\n* fix: remove permissive type by @wcatron in https://github.com/vercel/swr/pull/2759\r\n* Remove `index.js` suffix of `use-sync-external-sto...","content":"## Patches\r\n* fix: remove permissive type by @wcatron in https://github.com/vercel/swr/pull/2759\r\n* Remove `index.js` suffix of `use-sync-external-store/shim` to support React Native by @malash in https://github.com/vercel/swr/pull/2767\r\n* fix: default to fetch type in keyed mutator by @linkvt in https://github.com/vercel/swr/pull/2753\r\n* types: export mutation types by @promer94 in https://github.com/vercel/swr/pull/2780\r\n\r\n## Misc\r\n\r\n* test: update tests, use matched types for mutate api by @huozhi in https://github.com/vercel/swr/pull/2781\r\n\r\n## New Contributors\r\n* @wcatron made their first contribution in https://github.com/vercel/swr/pull/2759\r\n* @malash made their first contribution in https://github.com/vercel/swr/pull/2767\r\n* @linkvt made their first contribution in https://github.com/vercel/swr/pull/2753\r\n\r\n**Full Changelog**: https://github.com/vercel/swr/compare/v2.2.2...v2.2.3","publishedAt":"2023-09-25T09:39:31.000Z","url":"https://github.com/vercel/swr/releases/tag/v2.2.3","media":[]},{"id":"rel_1nkbCstr6tNTM7fQM5_8C","version":"v2.2.2","title":"v2.2.2","summary":"## What's Changed\r\n* fix: It should use startTransition only when IS_REACT_LEGACY is false by @TopGrd in https://github.com/vercel/swr/pull/2756\r\n* fi...","content":"## What's Changed\r\n* fix: It should use startTransition only when IS_REACT_LEGACY is false by @TopGrd in https://github.com/vercel/swr/pull/2756\r\n* fix: simplify `ArgumentsTuple` by @Andarist in https://github.com/vercel/swr/pull/2761\r\n\r\n## New Contributors\r\n* @TopGrd made their first contribution in https://github.com/vercel/swr/pull/2756\r\n* @Andarist made their first contribution in https://github.com/vercel/swr/pull/2761\r\n\r\n**Full Changelog**: https://github.com/vercel/swr/compare/v2.2.1...v2.2.2","publishedAt":"2023-08-27T12:34:05.000Z","url":"https://github.com/vercel/swr/releases/tag/v2.2.2","media":[]},{"id":"rel_CfEEDBcoVpG8eaxq8HhV8","version":"v2.2.1","title":"v2.2.1","summary":"## What's Changed\r\n* Add use client directive for client components exports by @huozhi in https://github.com/vercel/swr/pull/2696\r\n* remove the 'use c...","content":"## What's Changed\r\n* Add use client directive for client components exports by @huozhi in https://github.com/vercel/swr/pull/2696\r\n* remove the 'use client' directive and add client-only to useSWR entry. by @promer94 in https://github.com/vercel/swr/pull/2705\r\n* fix: should serialize subscription fn key by @promer94 in https://github.com/vercel/swr/pull/2711\r\n* build(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 by @dependabot in https://github.com/vercel/swr/pull/2720\r\n* fix: only make data and error update as a non-blocking transition by @promer94 in https://github.com/vercel/swr/pull/2691\r\n* build: generate d.mts for for .mjs, so typescript could resolve types correctly by @promer94 in https://github.com/vercel/swr/pull/2695\r\n* fix(infinite): Fix the ability to use preload along with useSWRInfinite by @agadzik in https://github.com/vercel/swr/pull/2723\r\n* fix: Ensure that using preload with useSWRInfinite returns back an array of data by @agadzik in https://github.com/vercel/swr/pull/2726\r\n* fix: preload request should be consumed within `revalidate` to support `parallel` option by @promer94 in https://github.com/vercel/swr/pull/2727\r\n* Fix the issue that useSWR revalidation isn't triggered if the useSWR call happens after mutation by @Ponyets in https://github.com/vercel/swr/pull/2731\r\n* fix(mutate): fix types of mutate/trigger; make mutate/trigger always return the result of fetcher by @Ponyets in https://github.com/vercel/swr/pull/2708\r\n* build(deps-dev): bump tough-cookie from 4.1.2 to 4.1.3 by @dependabot in https://github.com/vercel/swr/pull/2735\r\n* build(deps-dev): bump json5 from 2.2.1 to 2.2.3 by @dependabot in https://github.com/vercel/swr/pull/2736\r\n* docs: use isLoading instead of !data by @pawfa in https://github.com/vercel/swr/pull/2734\r\n\r\n## New Contributors\r\n* @agadzik made their first contribution in https://github.com/vercel/swr/pull/2723\r\n* @Ponyets made their first contribution in https://github.com/vercel/swr/pull/2731\r\n* @pawfa made their first contribution in https://github.com/vercel/swr/pull/2734\r\n\r\n**Full Changelog**: https://github.com/vercel/swr/compare/v2.2.0...v2.2.1","publishedAt":"2023-08-27T12:33:40.000Z","url":"https://github.com/vercel/swr/releases/tag/v2.2.1","media":[]}],"pagination":{"page":1,"pageSize":20,"totalPages":7,"totalItems":126},"summaries":{"rolling":{"windowDays":90,"summary":"SWR v2.4.0 focused on refinement and test infrastructure maturity. The team migrated suspense-related tests to end-to-end coverage, fixed several rendering inefficiencies in `useSWRImmutable` including unnecessary rerenders when switching keys and hydration-triggered updates, and ensured `preload` executes only in the browser environment rather than during server-side rendering.","releaseCount":1,"generatedAt":"2026-04-18T13:09:43.859Z"},"monthly":[]}}