unstale

npm / @tanstack/query-core

@tanstack/query-core

What changed in @tanstack/query-core 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.

4 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.8 on npm

@tanstack/query-core 54 changes

Fixes and other changes 4

  • Preserves a stored null first page parameter when refetching an infinite query.

    5.104.4release notes

  • Clears the mutation cache before notifying subscribers so useMutationState and useIsMutating update correctly after queryClient.clear().

    5.104.4release notes

  • Preserves discriminated union narrowing in setQueryData updaters.

    5.104.3release notes

  • Queued scoped mutations now start when the window is not focused.

    5.104.2release notes