SWR will now use the latest fetcher function passed to the hook, when sending the request. Previously it uses the initial snapshotted fetcher.
When refocusing on the window with state changes (like clicking a button that changes the SWR key immediately), SWR now avoids revalidations if they're not necessary. Details can be found in #1720.
useSWRInfiniteTwo types for useSWRInfinite are added: SWRInfinteHook and SWRInfinteKeyLoader. You can use them to type the hook and the getKey function.
populateCache option for mutateA new option to control if the mutation data should be written to the cache. You can find the details in #1729.
requestAnimationFrame more robust by @thomaspaulmann in https://github.com/vercel/swr/pull/1707populateCache option to mutate by @shuding in https://github.com/vercel/swr/pull/1729Full Changelog: https://github.com/vercel/swr/compare/1.1.1...1.1.2
Fetched April 18, 2026