Packages

@tanstack/react-query

5.108.0 · 17 Nov 2026MIT91.3M / weekRepositoryHomepagenpmAtom feed

Upgrading @tanstack/react-query From 5.101.4 to 5.102.0

1 release in betweenevery note read

Other targets from 5.101.4Newest 5.x5.108.4Latest5.108.0
  1. 5.101.4yours
  2. 5.102.0target
1
change to make
0
advisories fixed
1
new
8
fixes

Before you upgrade

Tick each one off as you go
  • Breaking5.102.0

Release by release

  1. 5.102.0

    Migration needed22 Aug 20261 new · 8 fixes
    • Breaking

      Remove experimental render-time prefetching and the promise property from query results.

    • New

      react-query: Update usePrefetchQuery and usePrefetchInfiniteQuery to use queryClient.query and queryClient.infiniteQuery

    • Fixed

      types: Propagate generic type parameters to useMutationState select callback

    • Fixed

      Fix queryOptions and infiniteQueryOptions return types so exported inferred options can be emitted in declaration files without leaking internal data tag symbols.

1 other line we could not sort, mostly version bumps
  • Remove NoInfer from useQuery return types

    5.102.0

1 internal line (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.