From 35e2a482aeb74a235bdb4fca068ba973512235b4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 2 Sep 2026 22:03:57 +0000 Subject: [PATCH] ci: changeset release (rc) --- .changeset/pre.json | 4 +++ 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 | 9 ++++++ packages/solid-query-devtools/package.json | 2 +- .../solid-query-persist-client/CHANGELOG.md | 9 ++++++ .../solid-query-persist-client/package.json | 2 +- packages/solid-query/CHANGELOG.md | 21 +++++++++++++ packages/solid-query/package.json | 2 +- pnpm-lock.yaml | 30 +++++++++---------- 15 files changed, 76 insertions(+), 33 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index ea9cf21756e..dfea3d95db1 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -30,9 +30,12 @@ "@tanstack/lit-query": "0.2.7" }, "changesets": [ + "dehydrate-settled", "fifty-spoons-draw", + "flight-data-source", "free-cities-hunt", "legal-signs-call", + "mutation-flight-scoped-subscription", "slimy-mice-relate", "solid-beta-15-upgrade", "solid-beta-21-upgrade", @@ -40,6 +43,7 @@ "solid-beta-33-upgrade", "solid-hydration-data-consumption", "solid-query-native-rewrite", + "solid-rc-6-floor", "solid-rc-upgrade", "sour-balloons-nail", "whole-coins-count" diff --git a/examples/solid/astro/package.json b/examples/solid/astro/package.json index 18ce58ba7f1..5a4f7687318 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.1", - "@tanstack/solid-query-devtools": "^6.0.0-rc.1", + "@tanstack/solid-query": "^6.0.0-rc.2", + "@tanstack/solid-query-devtools": "^6.0.0-rc.2", "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 75d5ceab8ae..61409cacee2 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.1", - "@tanstack/solid-query-devtools": "^6.0.0-rc.1", + "@tanstack/solid-query": "^6.0.0-rc.2", + "@tanstack/solid-query-devtools": "^6.0.0-rc.2", "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 6554d6973ca..72c373a389e 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.1", - "@tanstack/solid-query-devtools": "^6.0.0-rc.1", + "@tanstack/solid-query": "^6.0.0-rc.2", + "@tanstack/solid-query-devtools": "^6.0.0-rc.2", "@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 945328bc042..b32c034059e 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.1", - "@tanstack/solid-query-devtools": "^6.0.0-rc.1", + "@tanstack/solid-query": "^6.0.0-rc.2", + "@tanstack/solid-query-devtools": "^6.0.0-rc.2", "@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 4dbe69121ba..d7451b27f63 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.1", - "@tanstack/solid-query-devtools": "^6.0.0-rc.1", - "@tanstack/solid-query-persist-client": "^6.0.0-rc.1", + "@tanstack/solid-query": "^6.0.0-rc.2", + "@tanstack/solid-query-devtools": "^6.0.0-rc.2", + "@tanstack/solid-query-persist-client": "^6.0.0-rc.2", "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 0877846b1e0..c3ab5575ffc 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.1", - "@tanstack/solid-query-devtools": "^6.0.0-rc.1", + "@tanstack/solid-query": "^6.0.0-rc.2", + "@tanstack/solid-query-devtools": "^6.0.0-rc.2", "@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 6ba3dd9527c..a0354bf4266 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.1", - "@tanstack/solid-query-devtools": "^6.0.0-rc.1", + "@tanstack/solid-query": "^6.0.0-rc.2", + "@tanstack/solid-query-devtools": "^6.0.0-rc.2", "@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 0baaa470047..d5108569bb2 100644 --- a/packages/solid-query-devtools/CHANGELOG.md +++ b/packages/solid-query-devtools/CHANGELOG.md @@ -1,5 +1,14 @@ # @tanstack/solid-query-devtools +## 6.0.0-rc.2 + +### Patch Changes + +- [#11326](https://github.com/TanStack/query/pull/11326) [`72f8185`](https://github.com/TanStack/query/commit/72f818550ed6bb87267c6c367761b7175a611497) - Require solid-js and @solidjs/web 2.0.0-rc.6+. rc.6 ships the named flight-data source API the single-flight consumer uses, plus the async settle fix the adapter depends on (rc.5's settle-walk regression breaks query hydration). + +- Updated dependencies [[`72f8185`](https://github.com/TanStack/query/commit/72f818550ed6bb87267c6c367761b7175a611497), [`72f8185`](https://github.com/TanStack/query/commit/72f818550ed6bb87267c6c367761b7175a611497), [`209f9f5`](https://github.com/TanStack/query/commit/209f9f5153cab810337c6b8ad9e0cd90945c5c6f), [`72f8185`](https://github.com/TanStack/query/commit/72f818550ed6bb87267c6c367761b7175a611497)]: + - @tanstack/solid-query@6.0.0-rc.2 + ## 6.0.0-rc.1 ### Patch Changes diff --git a/packages/solid-query-devtools/package.json b/packages/solid-query-devtools/package.json index 471f6caad15..b7fa9524707 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.1", + "version": "6.0.0-rc.2", "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 94272bae45e..095ed8507d9 100644 --- a/packages/solid-query-persist-client/CHANGELOG.md +++ b/packages/solid-query-persist-client/CHANGELOG.md @@ -1,5 +1,14 @@ # @tanstack/solid-query-persist-client +## 6.0.0-rc.2 + +### Patch Changes + +- [#11326](https://github.com/TanStack/query/pull/11326) [`72f8185`](https://github.com/TanStack/query/commit/72f818550ed6bb87267c6c367761b7175a611497) - Require solid-js and @solidjs/web 2.0.0-rc.6+. rc.6 ships the named flight-data source API the single-flight consumer uses, plus the async settle fix the adapter depends on (rc.5's settle-walk regression breaks query hydration). + +- Updated dependencies [[`72f8185`](https://github.com/TanStack/query/commit/72f818550ed6bb87267c6c367761b7175a611497), [`72f8185`](https://github.com/TanStack/query/commit/72f818550ed6bb87267c6c367761b7175a611497), [`209f9f5`](https://github.com/TanStack/query/commit/209f9f5153cab810337c6b8ad9e0cd90945c5c6f), [`72f8185`](https://github.com/TanStack/query/commit/72f818550ed6bb87267c6c367761b7175a611497)]: + - @tanstack/solid-query@6.0.0-rc.2 + ## 6.0.0-rc.1 ### Patch Changes diff --git a/packages/solid-query-persist-client/package.json b/packages/solid-query-persist-client/package.json index 5ebfdc02f55..485b664bb35 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.1", + "version": "6.0.0-rc.2", "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 e52166c7c2f..472b2d5c86d 100644 --- a/packages/solid-query/CHANGELOG.md +++ b/packages/solid-query/CHANGELOG.md @@ -1,5 +1,26 @@ # @tanstack/solid-query +## 6.0.0-rc.2 + +### Minor Changes + +- [#11326](https://github.com/TanStack/query/pull/11326) [`72f8185`](https://github.com/TanStack/query/commit/72f818550ed6bb87267c6c367761b7175a611497) - SSR lifecycle utilities: new `dehydrateSettled` awaits in-flight queries before dehydrating so streamed HTML carries settled data; `QueryClientProvider` tears the client down after server render disposal (`cancelQueries` + `clear`, preventing cross-request leaks) and dehydration now respects `defaultOptions.dehydrate.shouldDehydrateQuery` filtering. + +- [#11326](https://github.com/TanStack/query/pull/11326) [`72f8185`](https://github.com/TanStack/query/commit/72f818550ed6bb87267c6c367761b7175a611497) - Built-in single-flight consumer: `QueryClientProvider` now subscribes the query cache's slice of Solid's multi-source single-flight channel under the exported `FLIGHT_DATA_SOURCE` id (`"sq"`). Mutation responses carrying that slice — a `DehydratedState` produced by a server collector registered with `registerFlightDataSource(FLIGHT_DATA_SOURCE, hook)` — hydrate the provider's client before the mutation's promise resolves, so every mounted query on those keys updates with no follow-up refetches and no per-app wiring. Subscribing is inert when no server collector exists. Requires the `@solidjs/web` release following 2.0.0-rc.4 (the named-source single-flight protocol). + +### Patch Changes + +- [#11325](https://github.com/TanStack/query/pull/11325) [`209f9f5`](https://github.com/TanStack/query/commit/209f9f5153cab810337c6b8ad9e0cd90945c5c6f) - fix: scope useMutation's mutation-cache subscription to the flight. The + hook subscribed at mount with a bare reactive `client()` read (tripping + Solid's STRICT_READ_UNTRACKED dev diagnostic) and held the subscription + for its whole life even though the listener only matters while a mutation + is in flight. The subscription now starts in `run` against the same + client the mutation is built on and ends at settle: nothing reactive is + read at setup, the listener and the mutation can never sit on different + clients, and idle hooks hold no cache subscription. + +- [#11326](https://github.com/TanStack/query/pull/11326) [`72f8185`](https://github.com/TanStack/query/commit/72f818550ed6bb87267c6c367761b7175a611497) - Require solid-js and @solidjs/web 2.0.0-rc.6+. rc.6 ships the named flight-data source API the single-flight consumer uses, plus the async settle fix the adapter depends on (rc.5's settle-walk regression breaks query hydration). + ## 6.0.0-rc.1 ### Major Changes diff --git a/packages/solid-query/package.json b/packages/solid-query/package.json index 5d1a8f61785..4f63f6659e4 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.1", + "version": "6.0.0-rc.2", "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 3b8be6e1498..2537e6c7f97 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.1 + specifier: ^6.0.0-rc.2 version: link:../../../packages/solid-query '@tanstack/solid-query-devtools': - specifier: ^6.0.0-rc.1 + specifier: ^6.0.0-rc.2 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.1 + specifier: ^6.0.0-rc.2 version: link:../../../packages/solid-query '@tanstack/solid-query-devtools': - specifier: ^6.0.0-rc.1 + specifier: ^6.0.0-rc.2 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.1 + specifier: ^6.0.0-rc.2 version: link:../../../packages/solid-query '@tanstack/solid-query-devtools': - specifier: ^6.0.0-rc.1 + specifier: ^6.0.0-rc.2 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.1 + specifier: ^6.0.0-rc.2 version: link:../../../packages/solid-query '@tanstack/solid-query-devtools': - specifier: ^6.0.0-rc.1 + specifier: ^6.0.0-rc.2 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.1 + specifier: ^6.0.0-rc.2 version: link:../../../packages/solid-query '@tanstack/solid-query-devtools': - specifier: ^6.0.0-rc.1 + specifier: ^6.0.0-rc.2 version: link:../../../packages/solid-query-devtools '@tanstack/solid-query-persist-client': - specifier: ^6.0.0-rc.1 + specifier: ^6.0.0-rc.2 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.1 + specifier: ^6.0.0-rc.2 version: link:../../../packages/solid-query '@tanstack/solid-query-devtools': - specifier: ^6.0.0-rc.1 + specifier: ^6.0.0-rc.2 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.1 + specifier: ^6.0.0-rc.2 version: link:../../../packages/solid-query '@tanstack/solid-query-devtools': - specifier: ^6.0.0-rc.1 + specifier: ^6.0.0-rc.2 version: link:../../../packages/solid-query-devtools solid-js: specifier: ^2.0.0-rc.0