Packages

@tanstack/query-core

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

Your version

5.108.1

19 Nov 2026Where it was published

5.108.2 is the newest release of 5.x.

In short

1 fixed

Release note

Patch Changes

  • Require getNextPageParam in the types for queryClient.infiniteQuery, the deprecated infinite query methods, and usePrefetchInfiniteQuery. If you omit pages, a stale query can still refetch multiple cached pages and needs the callback to compute their page parameters. Reuse the same infiniteQueryOptions you pass to useInfiniteQuery to supply the callback.

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.