Packages

@tanstack/react-query

5.104.5MIT
  • 5.104.5 is the latest, published 19 October 2026.
  • No known security advisory.
  • 5.x: 340 releases since 17 October 2023, 19 in the last 90 days.

Releases in the last 90 days

Feed of releases and advisories

Every stable release, newest first. Notes are quoted as the maintainers published them.

  1. 5.104.5

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

    Patch Changes

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

  2. 5.104.4

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

    Patch Changes

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

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

  3. 5.104.3

    15 October 2026
    Release notes
  4. 5.104.2

    11 October 2026
    Release notes
  5. 5.104.1

    2 October 2026
    Release notes
  6. 5.104.0

    26 September 2026
    Build projects with Vite 8

    Minor Changes

    • Build projects with Vite 8

  7. 5.103.3

    26 September 2026
    codemods: avoid copying unnecessary files from codemods project

    Patch Changes

    • codemods: avoid copying unnecessary files from codemods project

  8. 5.103.2

    21 September 2026
    Release notes
  9. 5.103.1

    16 September 2026
    Release notes
  10. 5.103.0

    16 September 2026
    Release notes
Show 9 earlier releases
  1. 5.102.8

    27 August 2026
    Release notes
  2. 5.102.7

    27 August 2026
    Release notes
  3. 5.102.6

    26 August 2026
    react-query: throw falsy errors from useQueries and useSuspenseQueries to the error boundary

    Patch Changes

    • react-query: throw falsy errors from useQueries and useSuspenseQueries to the error boundary

  4. 5.102.5

    26 August 2026
    Release notes
  5. 5.102.4

    25 August 2026
    Release notes
  6. 5.102.3

    24 August 2026
    Release notes
  7. 5.102.2

    23 August 2026
    Release notes
  8. 5.102.1

    23 August 2026
    Release notes
  9. 5.102.0

    22 August 2026
    react-query: update usePrefetchQuery and usePrefetchInfiniteQuery to use queryClient.query and queryClient.infiniteQuery

    Minor Changes

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

    Patch Changes

    • remove NoInfer from useQuery return types

    • types: propagate generic type parameters to useMutationState select callback

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

    • Default TData of UseInfiniteQueryOptions and UseSuspenseInfiniteQueryOptions to InfiniteData<TQueryFnData> so it matches the hook generics.

    • make mutation variables optional when undefined extends TVariables

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

    • Avoid emitting a runtime import for React Query's type-only exports.

    • react-query: don't show optimistic fetching for unsubscribed useQueries

    • remove unused experimental_beforeQuery and experimental_afterQuery hooks

    • remove placeholderData from suspense infinite query

All 448 releases

Major versions

  • 5.xsince 17 October 2023 · latest 5.104.5 · 340 releases
  • 4.xsince 18 July 2022 · latest 4.44.0 · 108 releases

Quality and security signals

What npm and deps.dev say about the latest release. Signals, not a verdict.

Reading npm and deps.dev…

Registry facts last checked 20 October 2026. Releases and advisories last read 20 October 2026.

Know when your own dependencies move

Inlinr tracks your coding time automatically. Switch dependency tracking on for a project and it reads that repository's manifest to show what is behind and what has been deprecated — off by default, one project at a time.