From 42462ded0a26b4bc4823a39c1fa8d283a3229369 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 20 Oct 2026 17:57:24 +0000 Subject: [PATCH] Version Packages (next) --- .changeset/pre.json | 3 +++ CHANGELOG.md | 8 ++++++++ package.json | 2 +- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index d3b41ef4..71340689 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -38,6 +38,7 @@ "flight-entry-consumption-age-gate", "focus-touch-link-preload", "follow-solid-rc10-attribution-api", + "form-action-rename", "form-aria-busy", "fs-eager-components", "fs-emission-adapter", @@ -117,10 +118,12 @@ "server-url-prop", "settle-actions-at-commit", "settle-hooks-every-completion", + "single-flight-at-mount", "single-flight-revalidate-once", "skip-non-http-anchor-links", "solid-2-beta-router-migration", "ssr-link-state", + "stamp-query-flights", "static-render-history-fallback", "submission-retry-promise", "tap-viewport-eager-preload", diff --git a/CHANGELOG.md b/CHANGELOG.md index 70b7e21a..8fa89987 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # @solidjs/router +## 2.0.0-next.41 + +### Patch Changes + +- 7ec5ea1: Rename the router's `action` to `formAction` (and the `Action` type to `FormAction`): it is the form layer — submissions, `aria-busy`, no-JS posts, `.with()` — while `action` is solid-js's own primitive. `action` and `Action` stay as deprecated aliases with a dev warning until the next major. `useAction` is deprecated with no replacement: call the server function (or a core `action`) directly, since the router now applies revalidation and redirects on any server function call. +- 27312e1: Single flight is now the router's, not the action layer's: a mounted router subscribes to the server function transport at mount (unless `singleFlight={false}`), so a server function called straight from an event handler gets its `X-Revalidate` keys, redirect and flight data applied without an action. Query reads, the flight consumer and actions now share one redirect/revalidation path, so action redirects resolve against the router base the same way query redirects do. +- 3c0fe32: `query()` stamps the fetch it starts, and every wrapper it hands a reader, with when that fetch started (`OBSERVE.attribution.markFlight`, observe and dev builds only). Page data a route's preload started, and read a render pass later behind the page's lazy chunk, no longer reads as a waterfall to `ASYNC_WATERFALL` or `SSR_BOUNDARY_WATERFALL`. Takes effect with the solid release that carries the stamps on its core slot (solidjs/solid#4108); older versions ignore it. + ## 2.0.0-next.40 ### Patch Changes diff --git a/package.json b/package.json index fee85d5a..719879fc 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "Ryan Turnquist" ], "license": "MIT", - "version": "2.0.0-next.40", + "version": "2.0.0-next.41", "homepage": "https://github.com/solidjs/solid-router#readme", "repository": { "type": "git",