@tanstack/query-core
5.108.2 · 20 Nov 2026MIT101.3M / weekRepositoryHomepagenpmAtom feed
Upgrading @tanstack/query-core From 4.44.0 to 5.107.2
287 releases in betweennotes for 59
- 3+
- changes to make
- 0
- advisories fixed
- 5+
- new
- 75+
- fixes
Counted from 59 of 287 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking5.102.0
- Breaking5.100.13
- Deprecated5.102.0
Release by release
- Fixed
Replace star exports with explicit exports while preserving the current public API. Adapters continue to re-export all of their corresponding core package.
- Fixed
5.107.1nothing new or fixed in the note
- Fixed
Keep the timestamp stable for the same selector error to prevent infinite render loops.
- Fixed
5.106.0 – 5.106.12 releases, nothing new or fixed in the notes
- New
Allow static queries without data to refetch after reset, invalidation, or an explicit refetch. A query is static only when it has data.
- Fixed
Prevent a cancelled retry from pausing the query when its retry delay expires.
- New
- Fixed
Fix infinite queries to respect a reduced
maxPageslimit when fetching in either direction. - Fixed
Exclude
statusfrom the filters accepted byQueryClient.isMutating,useIsMutating, andinjectIsMutating. These APIs always count mutations withstatus: 'pending'. - Fixed
Handle the rejection of a paused refetch started by
refetchQuerieswiththrowOnError, so cancelling it later no longer causes an unhandledCancelledError. - Fixed
Use
() => voidinstead of the DOM-onlyVoidFunctiontype inaddConsumeAwareSignal, so the published declarations type-check without the DOM lib.
- Fixed
- Fixed
Reduce temporary allocations when checking tracked result properties for observer notifications.
- Fixed
Exclude
fetchStatusfrom the filters accepted byQueryClient.isFetching,useIsFetching, andinjectIsFetching. These APIs always count queries withfetchStatus: 'fetching'.
- Fixed
5.105.0nothing new or fixed in the note
28 internal lines (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.