github TanStack/query release-2026-10-15-0754
Release 2026-10-15 07:54

3 hours ago

Release 2026-10-15 07:54

Changes

Fix

  • query-core: preserve union narrowing in setQueryData updaters (#11935) (0f15bc9) by @sviat-barbutsa
  • examples/svelte/playground: keep unsaved edits out of the query cache and apply the 'staleTime' and 'gcTime' inputs (#11986) (9cce260) by @sukvvon
  • examples/react/eslint-plugin-demo: pass the dependencies as arguments so the 'allowlist' demo is checked by 'exhaustive-deps' (#12012) (5959fdb) by @sukvvon
  • examples/react/playground: keep only the edited fields as local state and apply the initial query defaults on creation (#11985) (6a4bfe5) by @sukvvon
  • examples/vue/dependent-queries: replace 'enabled' with 'skipToken' to type the author query (#12010) (fa49ddd) by @sukvvon
  • examples/svelte/star-wars: type route params with 'PageProps' instead of 'page.params' (#12009) (8818228) by @sukvvon
  • vue-query-devtools: update client when prop changes (#11413) (67705fd) by @grzdev
  • query-persist-client-core/createPersister: await 'storage.setItem' when persisting a query (#11410) (ed4d849) by @MaxFreedomPollard

Refactor

  • examples/lit/ssr: replace the deprecated 'prefetchQuery' with 'query' in the server render (#11992) (a8af0e2) by @sukvvon
  • examples/react/batching: rename the parsed 'ids' in 'onChange' to 'parsedIds' to avoid shadowing the state (#12013) (e3e6b46) by @sukvvon
  • examples/react/suspense: share the project queries between prefetching and 'useSuspenseQuery' with 'queryOptions' (#11990) (fd81404) by @sukvvon
  • examples/react/nextjs: share the posts query between 'getStaticProps' and 'usePosts' with 'queryOptions' (#11989) (1aeece3) by @sukvvon
  • examples/svelte/ssr: share the post queries between 'load' and components with 'queryOptions' (#11988) (542a6f0) by @sukvvon
  • examples/lit/ssr: replace the 'satisfies CreateQueryOptions' annotation with 'queryOptions' (#11987) (06dbbd8) by @sukvvon
  • examples/react: move 'QueryClient' into '_app' with 'React.useState' (#11993) (0a3dfa0) by @sukvvon

Chore

Packages

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

Don't miss a new query release

NewReleases is sending notifications on new releases.