@tanstack/query-core
5.108.2 · 20 Nov 2026MIT101.3M / weekRepositoryHomepagenpmAtom feed
Upgrading @tanstack/query-core From 5.96.1 to 5.108.2
57 releases in betweennotes for 38
- 3+
- changes to make
- 0
- advisories fixed
- 5+
- new
- 54+
- fixes
Counted from 38 of 57 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
5.108.2nothing new or fixed in the note
- Fixed
Require
getNextPageParamin the types forqueryClient.infiniteQuery, the deprecated infinite query methods, andusePrefetchInfiniteQuery. If you omitpages, a stale query can still refetch multiple cached pages and needs the callback to compute their page parameters. Reuse the sameinfiniteQueryOptionsyou pass touseInfiniteQueryto supply the callback.
- Fixed
- New
Release the Angular adapter packages in the same fixed version group as
@tanstack/query-core, so they share the core version from now on.
- New
- 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
27 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.