@tanstack/query-core
5.108.2 · 20 Nov 2026MIT101.3M / weekRepositoryHomepagenpmAtom feed
5.108.2 is the newest release of 5.x.
In short
1 fixed
Release note
Patch Changes
query-core: Wrap
persister'sTQueryKeyinNoInferso that thepersisterslot no longer contributes toTQueryKeyinference. Follow-up to #10510, which removedNoInferon all threepersistergenerics. PreservingNoInfer<TQueryKey>keeps that fix's benefit forTQueryFnDatawhile preventingTQueryKeyfrom widening to the augmented constraint whenRegister.queryKeyis narrowed — which madeDataTag-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.