From 78768dd2505f764009d55c9a08704559e0eb56e2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 30 Sep 2026 07:55:51 +0000 Subject: [PATCH] Version Packages (next) --- .changeset/pre.json | 6 ++++++ CHANGELOG.md | 13 +++++++++++++ package.json | 2 +- 3 files changed, 20 insertions(+), 1 deletion(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index 5495b0ff..a25ec729 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -13,6 +13,7 @@ "claims-sweep-hydration-transparent", "compiler-claimed-anchors", "compose-location-writes-a28", + "declare-initial-route", "decouple-data-layer", "default-scroll-restoration", "define-route-typed-params", @@ -52,9 +53,14 @@ "own-single-flight-and-nojs", "popular-pears-boil", "preserve-layouts-between-child-routes", + "public-hydration-api", + "query-cache-prototype-keys", "query-decodes-redirect-carrier", "query-implies-get", + "query-prototype-keys", "query-redirect-revalidate-pending", + "query-search-stability", + "query-ssr-response-headers", "rc9-server-function-action-url", "redirect-carrier-semantics", "redirect-sweep-retained-sections", diff --git a/CHANGELOG.md b/CHANGELOG.md index c78ae93a..ef3c9de7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # @solidjs/router +## 2.0.0-next.32 + +### Patch Changes + +- 1db62b1: Observe tier: the router declares the route the document arrived on, with the same `OBSERVE.attribution.withOrigin` call it makes for every navigation — around the work that builds its context (`initial: true` on the ref), on both sides. On the client this is the first `"navigation"` record (`initial: true`, `at` the document's navigation start, no write to wait for); on the server the same declaration names the request's `"render"` record (`RenderEvent.route`: the matched pattern, the path, the params). A consumer naming page loads and requests by route (`/users/:id` rather than one name per user) had this for every navigation but the first; now it has the first too. Nothing in production builds: `OBSERVE` is undefined there and the declaration folds out. Needs `solid-js` / `@solidjs/web` `2.0.0-rc.12` or later (`NavigationRef.initial`, `RenderEvent.route`), already inside the `^2.0.0-rc.13` peer range. +- 2b2f244: Move off `sharedConfig` onto Solid's public hydration APIs: `query()` writes server results with `getHydrationWriter()` (gated by `isHydratable()`, so `` suppresses it) and adopts them on the client with `takeHydrationValue()`. Drops the obsolete `sharedConfig.done` write on the first location change. Requires solid-js / @solidjs/web 2.0.0-rc.13; peer range now `^2.0.0-rc.13`. +- daa7713: Include own `__proto__` properties when generating query cache keys. Arguments that differ in those values now use separate cache entries instead of returning another argument's cached result. +- 4b5cb10: Parse search parameters such as `constructor`, `toString` and `__proto__` as ordinary keys. Single values remain strings, repeated values keep URL order, and all parsed keys are included in enumeration and serialization. +- 6e47fbb: Keep `location.query` data stable when navigation changes only the pathname or hash. Consumers that enumerate the query no longer rerun when the search string is unchanged, and repeated parameters keep the same array references. +- 87b5caa: Keep query responses from changing an SSR page's content type or making it download as a file. Representation metadata such as `Content-Language`, `ETag` and `Last-Modified` also stays on the query response. Use `httpHeader()` from `@solidjs/web` to set these headers on the page itself. + + Append cookies once per cached query result. New results can still update cookies, and redirects continue to work after streaming starts. + ## 2.0.0-next.31 ### Patch Changes diff --git a/package.json b/package.json index fbb722f2..49f3f0e3 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "Ryan Turnquist" ], "license": "MIT", - "version": "2.0.0-next.31", + "version": "2.0.0-next.32", "homepage": "https://github.com/solidjs/solid-router#readme", "repository": { "type": "git",