mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
* chore(solid): bump to solid-js 2.0.0-rc.13 and @solidjs/vite-plugin 3.0.0-next.46
Bump solid-js and @solidjs/web to ^2.0.0-rc.13 across the monorepo,
@solidjs/vite-plugin to ^3.0.0-next.46 (its compiler range resolves to
rc.13, keeping the JSX compiler on the runtime's RC), the webpack
example's @solidjs/babel-plugin and the @rsbuild/plugin-solid compiler
overrides to 2.0.0-rc.13, and raise the Solid packages' solid-js /
@solidjs/web peer floors to 2.0.0-rc.13.
rc.13 replaced attribution.navigations() with
attribution.history('navigation'); observe-navigation.test.tsx follows.
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
* refactor(solid-router): move hydration off sharedConfig onto public Solid 2.0 APIs
Replace solid-js internals with the public hydration surface shipped in
solid-js / @solidjs/web 2.0.0-rc.13 (solidjs/solid#3718):
- useHydrated: sharedConfig.hydrating -> isHydrating()
- serializeMatchTransfer: sharedConfig.context.serialize ->
getHydrationWriter().write, gated on isHydratable() (the old
context.noHydrate guard was dead in 2.0)
- primeRouterFromRegistry: raw _$HY.r reads, the tsr: prefix scan and
s/v unwrapping -> per-match takeHydrationValue()
- tests / external-SSR repro: drop the sharedConfig reset and _$HY
enumeration; the repro asserts entries server-side and consumption
through takeHydrationValue
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
* chore: restore Babel lockfile entries drifted by the rc.13 bump
---------
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Brenley Dueck <brenleydueck@gmail.com>
772 B
772 B
| @tanstack/solid-router | @tanstack/solid-router-devtools | @tanstack/solid-router-ssr-query | @tanstack/solid-start | @tanstack/solid-start-client | @tanstack/solid-start-server |
|---|---|---|---|---|---|
| patch | patch | patch | patch | patch | patch |
Bump solid-js and @solidjs/web to ^2.0.0-rc.13 (and @solidjs/vite-plugin to ^3.0.0-next.46), and raise the Solid peer floors to 2.0.0-rc.13.
@tanstack/solid-router moves off Solid's internal sharedConfig and the raw _$HY registry onto the public hydration API rc.13 ships (solidjs/solid#3718): useHydrated reads isHydrating(); the native SSR match transfer writes through getHydrationWriter() gated on isHydratable(), so it now respects <NoHydration>; and the client boot takes each match's entry with takeHydrationValue().