Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
Expand Down
4 changes: 2 additions & 2 deletions examples/solid/astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions examples/solid/basic-graphql-request/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions examples/solid/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
4 changes: 2 additions & 2 deletions examples/solid/default-query-function/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
6 changes: 3 additions & 3 deletions examples/solid/offline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions examples/solid/simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
4 changes: 2 additions & 2 deletions examples/solid/solid-start-streaming/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
7 changes: 7 additions & 0 deletions packages/solid-query-devtools/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/solid-query-devtools/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
7 changes: 7 additions & 0 deletions packages/solid-query-persist-client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/solid-query-persist-client/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
32 changes: 32 additions & 0 deletions packages/solid-query/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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 `<Loading>` 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
Expand Down
2 changes: 1 addition & 1 deletion packages/solid-query/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
30 changes: 15 additions & 15 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading