From 33884453276bc2a195d3abd41425ba24346a2d0c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 17 Sep 2026 01:15:58 +0000 Subject: [PATCH] ci: changeset release (rc) --- .changeset/pre.json | 3 ++ examples/solid/astro/package.json | 4 +-- .../solid/basic-graphql-request/package.json | 4 +-- examples/solid/basic/package.json | 4 +-- .../solid/default-query-function/package.json | 4 +-- examples/solid/offline/package.json | 6 ++-- examples/solid/simple/package.json | 4 +-- .../solid/solid-start-streaming/package.json | 4 +-- packages/solid-query-devtools/CHANGELOG.md | 7 ++++ packages/solid-query-devtools/package.json | 2 +- .../solid-query-persist-client/CHANGELOG.md | 7 ++++ .../solid-query-persist-client/package.json | 2 +- packages/solid-query/CHANGELOG.md | 32 +++++++++++++++++++ packages/solid-query/package.json | 2 +- pnpm-lock.yaml | 30 ++++++++--------- 15 files changed, 82 insertions(+), 33 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index 4f6fe4c3f59..d751615a9ff 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -42,10 +42,13 @@ "solid-beta-21-upgrade", "solid-beta-29-upgrade", "solid-beta-33-upgrade", + "solid-disabled-query-ssr", "solid-hydration-data-consumption", + "solid-query-flight-metadata", "solid-query-native-rewrite", "solid-rc-6-floor", "solid-rc-upgrade", + "solid-removed-query-not-rebuilt", "sour-balloons-nail", "whole-coins-count" ] diff --git a/examples/solid/astro/package.json b/examples/solid/astro/package.json index 2f9905c5b99..84f24082cd9 100644 --- a/examples/solid/astro/package.json +++ b/examples/solid/astro/package.json @@ -15,8 +15,8 @@ "@astrojs/solid-js": "^5.0.7", "@astrojs/tailwind": "^6.0.2", "@astrojs/vercel": "^8.1.3", - "@tanstack/solid-query": "^6.0.0-rc.3", - "@tanstack/solid-query-devtools": "^6.0.0-rc.3", + "@tanstack/solid-query": "^6.0.0-rc.4", + "@tanstack/solid-query-devtools": "^6.0.0-rc.4", "astro": "^5.5.6", "@solidjs/web": "^2.0.0-rc.0", "solid-js": "^2.0.0-rc.0", diff --git a/examples/solid/basic-graphql-request/package.json b/examples/solid/basic-graphql-request/package.json index 2675f2c1eae..3c93578cf29 100644 --- a/examples/solid/basic-graphql-request/package.json +++ b/examples/solid/basic-graphql-request/package.json @@ -8,8 +8,8 @@ "preview": "vite preview" }, "dependencies": { - "@tanstack/solid-query": "^6.0.0-rc.3", - "@tanstack/solid-query-devtools": "^6.0.0-rc.3", + "@tanstack/solid-query": "^6.0.0-rc.4", + "@tanstack/solid-query-devtools": "^6.0.0-rc.4", "graphql": "^16.9.0", "graphql-request": "^7.1.2", "@solidjs/web": "^2.0.0-rc.0", diff --git a/examples/solid/basic/package.json b/examples/solid/basic/package.json index 7bea27f58b1..be07a6a9ef1 100644 --- a/examples/solid/basic/package.json +++ b/examples/solid/basic/package.json @@ -8,8 +8,8 @@ "preview": "vite preview" }, "dependencies": { - "@tanstack/solid-query": "^6.0.0-rc.3", - "@tanstack/solid-query-devtools": "^6.0.0-rc.3", + "@tanstack/solid-query": "^6.0.0-rc.4", + "@tanstack/solid-query-devtools": "^6.0.0-rc.4", "@solidjs/web": "^2.0.0-rc.0", "solid-js": "^2.0.0-rc.0" }, diff --git a/examples/solid/default-query-function/package.json b/examples/solid/default-query-function/package.json index 4aee821d9a7..36379b8a275 100644 --- a/examples/solid/default-query-function/package.json +++ b/examples/solid/default-query-function/package.json @@ -8,8 +8,8 @@ "preview": "vite preview" }, "dependencies": { - "@tanstack/solid-query": "^6.0.0-rc.3", - "@tanstack/solid-query-devtools": "^6.0.0-rc.3", + "@tanstack/solid-query": "^6.0.0-rc.4", + "@tanstack/solid-query-devtools": "^6.0.0-rc.4", "@solidjs/web": "^2.0.0-rc.0", "solid-js": "^2.0.0-rc.0" }, diff --git a/examples/solid/offline/package.json b/examples/solid/offline/package.json index d7b618c5641..380a8891abf 100644 --- a/examples/solid/offline/package.json +++ b/examples/solid/offline/package.json @@ -9,9 +9,9 @@ }, "dependencies": { "@tanstack/query-async-storage-persister": "^5.101.4", - "@tanstack/solid-query": "^6.0.0-rc.3", - "@tanstack/solid-query-devtools": "^6.0.0-rc.3", - "@tanstack/solid-query-persist-client": "^6.0.0-rc.3", + "@tanstack/solid-query": "^6.0.0-rc.4", + "@tanstack/solid-query-devtools": "^6.0.0-rc.4", + "@tanstack/solid-query-persist-client": "^6.0.0-rc.4", "msw": "^2.6.6", "@solidjs/web": "^2.0.0-rc.0", "solid-js": "^2.0.0-rc.0" diff --git a/examples/solid/simple/package.json b/examples/solid/simple/package.json index 7e3e73144dd..4611f9873f2 100644 --- a/examples/solid/simple/package.json +++ b/examples/solid/simple/package.json @@ -8,8 +8,8 @@ "preview": "vite preview" }, "dependencies": { - "@tanstack/solid-query": "^6.0.0-rc.3", - "@tanstack/solid-query-devtools": "^6.0.0-rc.3", + "@tanstack/solid-query": "^6.0.0-rc.4", + "@tanstack/solid-query-devtools": "^6.0.0-rc.4", "@solidjs/web": "^2.0.0-rc.0", "solid-js": "^2.0.0-rc.0" }, diff --git a/examples/solid/solid-start-streaming/package.json b/examples/solid/solid-start-streaming/package.json index 3a6ed010052..4d7f7248d5f 100644 --- a/examples/solid/solid-start-streaming/package.json +++ b/examples/solid/solid-start-streaming/package.json @@ -12,8 +12,8 @@ "@solidjs/meta": "^0.29.4", "@solidjs/router": "^0.15.3", "@solidjs/start": "^1.1.3", - "@tanstack/solid-query": "^6.0.0-rc.3", - "@tanstack/solid-query-devtools": "^6.0.0-rc.3", + "@tanstack/solid-query": "^6.0.0-rc.4", + "@tanstack/solid-query-devtools": "^6.0.0-rc.4", "@solidjs/web": "^2.0.0-rc.0", "solid-js": "^2.0.0-rc.0", "vinxi": "^0.5.3" diff --git a/packages/solid-query-devtools/CHANGELOG.md b/packages/solid-query-devtools/CHANGELOG.md index 741efa82d4e..4b98b573bbf 100644 --- a/packages/solid-query-devtools/CHANGELOG.md +++ b/packages/solid-query-devtools/CHANGELOG.md @@ -1,5 +1,12 @@ # @tanstack/solid-query-devtools +## 6.0.0-rc.4 + +### Patch Changes + +- Updated dependencies [[`fd3f1c9`](https://github.com/TanStack/query/commit/fd3f1c9462f65382d90b1b058bafe214f3c37b69), [`09f2666`](https://github.com/TanStack/query/commit/09f266618d1360f49e87b94a686b57ccc501635a), [`0e6ff54`](https://github.com/TanStack/query/commit/0e6ff548b813e47b9844a931c85bc9fefda96643)]: + - @tanstack/solid-query@6.0.0-rc.4 + ## 6.0.0-rc.3 ### Patch Changes diff --git a/packages/solid-query-devtools/package.json b/packages/solid-query-devtools/package.json index 82053e58a69..ea28f08d844 100644 --- a/packages/solid-query-devtools/package.json +++ b/packages/solid-query-devtools/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/solid-query-devtools", - "version": "6.0.0-rc.3", + "version": "6.0.0-rc.4", "description": "Developer tools to interact with and visualize the TanStack/solid-query Query cache", "author": "tannerlinsley", "license": "MIT", diff --git a/packages/solid-query-persist-client/CHANGELOG.md b/packages/solid-query-persist-client/CHANGELOG.md index e82fdee572d..6229b1ee5e2 100644 --- a/packages/solid-query-persist-client/CHANGELOG.md +++ b/packages/solid-query-persist-client/CHANGELOG.md @@ -1,5 +1,12 @@ # @tanstack/solid-query-persist-client +## 6.0.0-rc.4 + +### Patch Changes + +- Updated dependencies [[`fd3f1c9`](https://github.com/TanStack/query/commit/fd3f1c9462f65382d90b1b058bafe214f3c37b69), [`09f2666`](https://github.com/TanStack/query/commit/09f266618d1360f49e87b94a686b57ccc501635a), [`0e6ff54`](https://github.com/TanStack/query/commit/0e6ff548b813e47b9844a931c85bc9fefda96643)]: + - @tanstack/solid-query@6.0.0-rc.4 + ## 6.0.0-rc.3 ### Patch Changes diff --git a/packages/solid-query-persist-client/package.json b/packages/solid-query-persist-client/package.json index 361af7cdc42..b4a080784a4 100644 --- a/packages/solid-query-persist-client/package.json +++ b/packages/solid-query-persist-client/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/solid-query-persist-client", - "version": "6.0.0-rc.3", + "version": "6.0.0-rc.4", "description": "Solid.js bindings to work with persisters in TanStack/solid-query", "author": "tannerlinsley", "license": "MIT", diff --git a/packages/solid-query/CHANGELOG.md b/packages/solid-query/CHANGELOG.md index bde1d560e24..9b8f689c6d3 100644 --- a/packages/solid-query/CHANGELOG.md +++ b/packages/solid-query/CHANGELOG.md @@ -1,5 +1,37 @@ # @tanstack/solid-query +## 6.0.0-rc.4 + +### Patch Changes + +- [#11449](https://github.com/TanStack/query/pull/11449) [`fd3f1c9`](https://github.com/TanStack/query/commit/fd3f1c9462f65382d90b1b058bafe214f3c37b69) - fix: finish server renders that read a disabled query. Reading `.data` from a + `useQuery` with `enabled: false` and nothing cached stopped an SSR render from + ever completing — no bytes at all, since the data node was handed a promise + that can never settle. That parking is intended client behaviour (the reader + suspends into the nearest `` until an enable, refetch or cache write + revives the compute), but on the server there is no later: the render has to + finish, and nothing will enable the query or write the cache before it does. + A disabled query with no data now commits its idle state on the server, which + is the contract the scalar metadata channel already honoured and the state the + client hydrates to. Client behaviour is unchanged. + +- [#11517](https://github.com/TanStack/query/pull/11517) [`09f2666`](https://github.com/TanStack/query/commit/09f266618d1360f49e87b94a686b57ccc501635a) - The single-flight consumer applies `X-Revalidate` on responses that carried no slice for the query cache (no collector registered, a redirect leaving the app) instead of throwing on the missing payload — nothing is covered, so the declared scope is swept in full. The header's three states are three scopes: absent leaves the cache alone, an empty declaration (`revalidate: []`) sweeps nothing, and the reserved key `*` (`revalidate: '*'`) invalidates every query the payload did not cover. + +- [#11360](https://github.com/TanStack/query/pull/11360) [`0e6ff54`](https://github.com/TanStack/query/commit/0e6ff548b813e47b9844a931c85bc9fefda96643) - fix: stop a mounted observer from re-creating and refetching a removed + query. The read layer bumps its per-hook version signal on every cache + event for its hash, `removed` included, and the recompute that followed + called `queryCache.build()`, which put the entry the caller had just + deleted straight back. The resurrection was not passive: the rebuilt + entry also re-pointed the still-live observer, whose mount-fetch policy + then refetched and repopulated the key, so `removeQueries()` (and + `clear()`) could not be made to stick while any hook observed the key. + `query()` now reuses the entry it last read when the cache no longer + holds that hash, and only builds when the hash is genuinely new, so a + removal leaves the cache empty and fires no fetch, while the mounted + reader holds its last value until options change or a real entry returns + through `setQueryData`, a refetch or a later mount. This is the behavior + of the other adapters, and of solid-query at 6.0.0-rc.0. + ## 6.0.0-rc.3 ### Patch Changes diff --git a/packages/solid-query/package.json b/packages/solid-query/package.json index 1161007ae7b..1207a0bf8df 100644 --- a/packages/solid-query/package.json +++ b/packages/solid-query/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/solid-query", - "version": "6.0.0-rc.3", + "version": "6.0.0-rc.4", "description": "Primitives for managing, caching and syncing asynchronous and remote data in Solid", "author": "tannerlinsley", "license": "MIT", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7cfda69fac3..5ad982245f7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1601,10 +1601,10 @@ importers: specifier: ^2.0.0-rc.0 version: 2.0.0-rc.0(solid-js@2.0.0-rc.0) '@tanstack/solid-query': - specifier: ^6.0.0-rc.3 + specifier: ^6.0.0-rc.4 version: link:../../../packages/solid-query '@tanstack/solid-query-devtools': - specifier: ^6.0.0-rc.3 + specifier: ^6.0.0-rc.4 version: link:../../../packages/solid-query-devtools astro: specifier: ^5.5.6 @@ -1625,10 +1625,10 @@ importers: specifier: ^2.0.0-rc.0 version: 2.0.0-rc.0(solid-js@2.0.0-rc.0) '@tanstack/solid-query': - specifier: ^6.0.0-rc.3 + specifier: ^6.0.0-rc.4 version: link:../../../packages/solid-query '@tanstack/solid-query-devtools': - specifier: ^6.0.0-rc.3 + specifier: ^6.0.0-rc.4 version: link:../../../packages/solid-query-devtools solid-js: specifier: ^2.0.0-rc.0 @@ -1650,10 +1650,10 @@ importers: specifier: ^2.0.0-rc.0 version: 2.0.0-rc.0(solid-js@2.0.0-rc.0) '@tanstack/solid-query': - specifier: ^6.0.0-rc.3 + specifier: ^6.0.0-rc.4 version: link:../../../packages/solid-query '@tanstack/solid-query-devtools': - specifier: ^6.0.0-rc.3 + specifier: ^6.0.0-rc.4 version: link:../../../packages/solid-query-devtools graphql: specifier: ^16.9.0 @@ -1681,10 +1681,10 @@ importers: specifier: ^2.0.0-rc.0 version: 2.0.0-rc.0(solid-js@2.0.0-rc.0) '@tanstack/solid-query': - specifier: ^6.0.0-rc.3 + specifier: ^6.0.0-rc.4 version: link:../../../packages/solid-query '@tanstack/solid-query-devtools': - specifier: ^6.0.0-rc.3 + specifier: ^6.0.0-rc.4 version: link:../../../packages/solid-query-devtools solid-js: specifier: ^2.0.0-rc.0 @@ -1709,13 +1709,13 @@ importers: specifier: ^5.101.4 version: link:../../../packages/query-async-storage-persister '@tanstack/solid-query': - specifier: ^6.0.0-rc.3 + specifier: ^6.0.0-rc.4 version: link:../../../packages/solid-query '@tanstack/solid-query-devtools': - specifier: ^6.0.0-rc.3 + specifier: ^6.0.0-rc.4 version: link:../../../packages/solid-query-devtools '@tanstack/solid-query-persist-client': - specifier: ^6.0.0-rc.3 + specifier: ^6.0.0-rc.4 version: link:../../../packages/solid-query-persist-client msw: specifier: ^2.6.6 @@ -1740,10 +1740,10 @@ importers: specifier: ^2.0.0-rc.0 version: 2.0.0-rc.0(solid-js@2.0.0-rc.0) '@tanstack/solid-query': - specifier: ^6.0.0-rc.3 + specifier: ^6.0.0-rc.4 version: link:../../../packages/solid-query '@tanstack/solid-query-devtools': - specifier: ^6.0.0-rc.3 + specifier: ^6.0.0-rc.4 version: link:../../../packages/solid-query-devtools solid-js: specifier: ^2.0.0-rc.0 @@ -1777,10 +1777,10 @@ importers: specifier: ^2.0.0-rc.0 version: 2.0.0-rc.0(solid-js@2.0.0-rc.0) '@tanstack/solid-query': - specifier: ^6.0.0-rc.3 + specifier: ^6.0.0-rc.4 version: link:../../../packages/solid-query '@tanstack/solid-query-devtools': - specifier: ^6.0.0-rc.3 + specifier: ^6.0.0-rc.4 version: link:../../../packages/solid-query-devtools solid-js: specifier: ^2.0.0-rc.0