Packages

@tanstack/react-query

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

Upgrading @tanstack/react-query From 5.100.10 to 5.108.0

38 releases in betweenevery note read

Other targets from 5.100.10Newest 5.x5.108.4
  1. 5.100.10yours
  2. 9 releases
  3. 5.102.0breaking
  4. 27 releases
  5. 5.108.0target

Before you upgrade

Tick each one off as you go
  • Breaking5.102.0

Release by release

  1. 5.108.0nothing new or fixed in the note

  2. 5.107.2

    17 Nov 20261 fix
    • Fixed

      Replace star exports with explicit exports while preserving the current public API. Adapters continue to re-export all of their corresponding core package.

  3. 5.105.3 – 5.107.15 releases, nothing new or fixed in the notes

  4. 5.105.2

    2 Nov 20262 fixes
    • Fixed

      Update the observer options before subscribing so revealing an <Activity> tree whose query key changed while hidden no longer fetches the previous key.

    • Fixed

      Exclude status from the filters accepted by QueryClient.isMutating, useIsMutating, and injectIsMutating. These APIs always count mutations with status: 'pending'.

  5. 5.105.1

    1 Nov 20262 fixes
    • Fixed

      {react,preact,angular,solid,vue}-query/infiniteQueryOptions: Correct the overload selected for a possibly-undefined 'initialData'

    • Fixed

      Exclude fetchStatus from the filters accepted by QueryClient.isFetching, useIsFetching, and injectIsFetching. These APIs always count queries with fetchStatus: 'fetching'.

  6. 5.105.0nothing new or fixed in the note

  7. 5.104.5

    19 Oct 20261 fix
    • Fixed

      Recompute useMutationState and useIsMutating results when their filters, selector, or query client change, without waiting for a mutation cache update.

  8. 5.104.4

    17 Oct 20261 new · 1 fix
    • New

      Allow queries with falsy errors to retry on mount when throwOnError returns false.

    • Fixed

      react-query:* Declare '@types/react' as an optional peer dependency

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

    5.102.0

38 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.