github TanStack/query release-2026-10-17-1753
Release 2026-10-17 17:53

3 hours ago

Release 2026-10-17 17:53

Changes

Fix

  • query-core: clear mutations before notifying subscribers (#11470) (1fee044) by @chungyo
  • react-query: retry queries with falsy errors on mount (#11328) (c208861) by @jeonghoon11
  • preact-query: retry on mount for falsy errors when throwOnError returns false (#11375) (0addcd2) by @S-jooyoung
  • solid-query: subscribe to the new observer when the queryClient changes (#11920) (7ea0278) by @taekop
  • query-core: preserve null infinite page params (#11527) (fce89dd) by @gwagjiug
  • query-devtools/Devtools: apply the 'hideDisabledQueries' prop to the query list (#11638) (b61abc2) by @sukvvon
  • {preact,solid,svelte,angular-query-experimental}: switch to 'export type *' for type-only re-exports (#11251) (fc3a384) by @sukvvon
  • query-devtools: expose pressed state on the boolean value toggle button (#11983) (c8f5eac) by @dmarcey
  • eslint-plugin-query: detect aliased React hook dependencies (#11889) (1cf6eb4) by @fallintoplace
  • react-query*: declare '@types/react' as an optional peer dependency (#11728) (a108398) by @sukvvon
  • examples/react: throw on non-ok 'fetch' responses in the query and mutation functions (#12058) (5817e6f) by @sukvvon
  • react-query-devtools: create the devtools instance lazily with 'useState' initializer instead of on every render (#11722) (0992a92) by @sukvvon
  • svelte-query/HydrationBoundary: make 'options' and 'queryClient' props optional (#12030) (2bb82df) by @sukvvon
  • preact-query: do not go into optimistic fetching state when not subscribed (#11259) (2ce5190) by @giaBaoJS
  • examples/react/nextjs-app-optimistic-updates: return the invalidation promise from 'onSettled' so the pending todo stays until the refetch finishes (#12055) (9fbf293) by @sukvvon
  • examples: rename the auto-refetching title from 'stale-time' to 'refetchInterval', which is the option it sets (#12051) (83b0831) by @sukvvon
  • examples/react/offline: throw on non-ok responses so failures surface the server's message instead of a JSON parse error (#12050) (b71ff31) by @sukvvon
  • examples/react/chat: submit through a 'form' so 'Enter' cannot send an empty question (#12049) (6f1fa2b) by @sukvvon
  • examples/react/batching: show the character's 'status' instead of the query 'status' (#12045) (9583088) by @sukvvon
  • examples/react/rick-morty: read the episode's 'air_date' instead of the nonexistent 'airDate' (#12046) (116818a) by @sukvvon
  • examples/react/chat: give each question an 'id' so repeated questions get their own React key and query (#12047) (817f823) by @sukvvon
  • examples/react/chat: use camelCase 'strokeWidth', 'strokeLinecap' and 'strokeLinejoin' on the send icon (#12048) (8ca99d1) by @sukvvon

Refactor

  • eslint-plugin-query/exhaustive-deps: remove the unused 'fixable' from the rule metadata (#12044) (a5f1b09) by @sukvvon
  • examples/react/suspense: prefetch the projects in the click handler instead of inside the 'setShowProjects' updater (#12056) (a636462) by @sukvvon
  • examples/react/react-router: replace the deprecated 'ensureQueryData' with 'query' and 'staleTime: 'static'' in the loaders (#12052) (584fd64) by @sukvvon
  • examples/react/react-native: pass the movie title in route params and show the cached list item as 'placeholderData' (#12037) (e75ecbe) by @sukvvon

Chore

Packages

  • @tanstack/angular-query-experimental@5.104.4
  • @tanstack/eslint-plugin-query@5.104.4
  • @tanstack/lit-query@0.2.29
  • @tanstack/preact-query@5.104.4
  • @tanstack/preact-query-devtools@5.104.4
  • @tanstack/preact-query-persist-client@5.104.4
  • @tanstack/query-async-storage-persister@5.104.4
  • @tanstack/query-broadcast-client-experimental@5.104.4
  • @tanstack/query-core@5.104.4
  • @tanstack/query-devtools@5.104.4
  • @tanstack/query-persist-client-core@5.104.4
  • @tanstack/query-sync-storage-persister@5.104.4
  • @tanstack/react-query@5.104.4
  • @tanstack/react-query-devtools@5.104.4
  • @tanstack/react-query-next-experimental@5.104.4
  • @tanstack/react-query-persist-client@5.104.4
  • @tanstack/solid-query@5.104.4
  • @tanstack/solid-query-devtools@5.104.4
  • @tanstack/solid-query-persist-client@5.104.4
  • @tanstack/svelte-query@6.3.4
  • @tanstack/svelte-query-devtools@6.3.4
  • @tanstack/svelte-query-persist-client@6.3.4
  • @tanstack/vue-query@5.104.4
  • @tanstack/vue-query-devtools@6.3.4

Don't miss a new query release

NewReleases is sending notifications on new releases.