@tanstack/query-core@5.104.4

TanStack/query@tanstack/query-core@5.104.4Oct 17, 2026by github-actions[bot]

Upgrading?

AI Summary

A core patch release addressing critical fixes in mutation state management and infinite query refetching behavior.

Key Highlights

  • Clears the mutation cache before notifying subscribers to fix `useMutationState` and `useIsMutating` after `queryClient.clear()`
  • Preserves a stored `null` first page parameter when refetching an infinite query

Full Release Notes

### Patch Changes

- [#11470](https://github.com/TanStack/query/pull/11470) [`1fee044`](https://github.com/TanStack/query/commit/1fee0443dbeb346b8401557ca286a66cdec7ad71) - Clear the mutation cache before notifying subscribers so `useMutationState` and `useIsMutating` update correctly after `queryClient.clear()`.

- [#11527](https://github.com/TanStack/query/pull/11527) [`fce89dd`](https://github.com/TanStack/query/commit/fce89ddf7a35b14252096ff64a1217efd81b415c) - Preserve a stored `null` first page parameter when refetching an infinite query.

Related Repositories