@tanstack/react-query
5.108.0 · 17 Nov 2026MIT91.3M / weekRepositoryHomepagenpmAtom feed
Upgrading @tanstack/react-query From 5.101.4 to 5.102.0
1 release in betweenevery note read
- 1
- change to make
- 0
- advisories fixed
- 1
- new
- 8
- fixes
Before you upgrade
Tick each one off as you go- Breaking5.102.0
Release by release
- Breaking
Remove experimental render-time prefetching and the
promiseproperty from query results. - New
react-query: Update usePrefetchQuery and usePrefetchInfiniteQuery to use queryClient.query and queryClient.infiniteQuery
- Fixed
types: Propagate generic type parameters to
useMutationStateselect callback - Fixed
Fix
queryOptionsandinfiniteQueryOptionsreturn types so exported inferred options can be emitted in declaration files without leaking internal data tag symbols.
- Breaking
1 other line we could not sort, mostly version bumps
- 5.102.0
Remove NoInfer from useQuery return types
1 internal line (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.