Packages

@tanstack/query-core

5.108.2 · 20 Nov 2026MIT101.3M / weekRepositoryHomepagenpmAtom feed

Your version

5.100.9

3 May 2026Where it was published

5.108.2 is the newest release of 5.x.

In short

1 fixed

Release note

Patch Changes

  • query-core: Wrap persister's TQueryKey in NoInfer so that the persister slot no longer contributes to TQueryKey inference. Follow-up to #10510, which removed NoInfer on all three persister generics. Preserving NoInfer<TQueryKey> keeps that fix's benefit for TQueryFnData while preventing TQueryKey from widening to the augmented constraint when Register.queryKey is narrowed — which made DataTag-branded wrapper returns un-assignable in contravariant slots.

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.