5 hours ago
next.js

v16.4.0-canary.15

Misc Changes

  • Reduce Turbopack cache size with per-family compression: #97714
  • [test] Skip hooks of suites skipped by a lazy @force-gate: #98169
  • docs: local development: Rewrite docker section, add Windows Dev Drive and WSL2 instructions: #98164
  • Bump swc to v77: #97407
  • Upgrade React from ff7445e6-20260831 to 21c89c9f-20260901: #98147
  • turbo-tasks-backend: parent_count-driven garbage collection: #97282
  • Remove the worker thread for turbopack builds: #96862
  • turbo-tasks-malloc: address review feedback on #97761: #98153

Credits

Huge thanks to @lukesandberg, @eps1lon, @bgw, and @mischnic for helping!

6 hours ago
query

Release 2026-09-02 22:20

Release 2026-09-02 22:20

Changes

Features

  • solid-query: built-in single-flight consumer via FLIGHT_DATA_SOURCE (#11326) (72f818550) by @ryansolid

Fix

  • solid-query: scope useMutation's cache subscription to the flight (#11325) (209f9f515) by @ryansolid

Packages

  • @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
6 hours ago
react-query

Release 2026-09-02 22:20

Release 2026-09-02 22:20

Changes

Features

  • solid-query: built-in single-flight consumer via FLIGHT_DATA_SOURCE (#11326) (72f818550) by @ryansolid

Fix

  • solid-query: scope useMutation's cache subscription to the flight (#11325) (209f9f515) by @ryansolid

Packages

  • @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
6 hours ago
react-query

@tanstack/solid-query-persist-client@6.0.0-rc.2

Patch Changes

  • #11326 72f8185 - 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, 72f8185, 209f9f5, 72f8185]:

    • @tanstack/solid-query@6.0.0-rc.2
6 hours ago
query

@tanstack/solid-query-persist-client@6.0.0-rc.2

Patch Changes

  • #11326 72f8185 - 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, 72f8185, 209f9f5, 72f8185]:

    • @tanstack/solid-query@6.0.0-rc.2
6 hours ago
react-query

@tanstack/solid-query-devtools@6.0.0-rc.2

Patch Changes

  • #11326 72f8185 - 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, 72f8185, 209f9f5, 72f8185]:

    • @tanstack/solid-query@6.0.0-rc.2
6 hours ago
react-query

@tanstack/solid-query@6.0.0-rc.2

Minor Changes

  • #11326 72f8185 - 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 72f8185 - 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 209f9f5 - 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 72f8185 - 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 hours ago
query

@tanstack/solid-query-devtools@6.0.0-rc.2

Patch Changes

  • #11326 72f8185 - 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, 72f8185, 209f9f5, 72f8185]:

    • @tanstack/solid-query@6.0.0-rc.2
6 hours ago
query

@tanstack/solid-query@6.0.0-rc.2

Minor Changes

  • #11326 72f8185 - 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 72f8185 - 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 209f9f5 - 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 72f8185 - 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).