Repository navigation
v2.0.0-next.32
Pre-releasePatch Changes
-
1db62b1: Observe tier: the router declares the route the document arrived on, with the same
OBSERVE.attribution.withOrigincall it makes for every navigation — around the work that builds its context (initial: trueon the ref), on both sides. On the client this is the first"navigation"record (initial: true,atthe 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/:idrather than one name per user) had this for every navigation but the first; now it has the first too. Nothing in production builds:OBSERVEis undefined there and the declaration folds out. Needssolid-js/@solidjs/web2.0.0-rc.12or later (NavigationRef.initial,RenderEvent.route), already inside the^2.0.0-rc.13peer range. -
2b2f244: Move off
sharedConfigonto Solid's public hydration APIs:query()writes server results withgetHydrationWriter()(gated byisHydratable(), so<NoHydration>suppresses it) and adopts them on the client withtakeHydrationValue(). Drops the obsoletesharedConfig.donewrite 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,toStringand__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.querydata 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,ETagandLast-Modifiedalso stays on the query response. UsehttpHeader()from@solidjs/webto 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.