mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
77 commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
252caa8534 |
feat(solid-router): delegate lazyRouteComponent to Solid 2's lazy() (#8081)
* feat(solid-router): register head tags through Solid's useHead registry
HeadContent now feeds the route-derived tags (useTags output, semantics
unchanged) to Solid's head registry as one reactive group instead of
rendering <Asset> elements in-tree. The registry owns head emission on
both runtimes: SSR splices/streams resolved winners into <head>, the
client patches document.head reactively — replacing the manual
relocate-into-head, imperative script injection, and document.title
syncing that Asset.tsx carried for head tags.
The dev-only dev-styles handling (filter DEV_STYLES_ATTR links post
hydration) is a no-op in production, so it folds into the single
HeadContent — retiring HeadContent.dev.tsx, index.dev.tsx, and the
package's development export conditions.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* test(solid-start): pin SSR'd lazy() modulepreload hints and hydration asset map
The client-assets manifest wiring (
|
||
|
|
b60b741a88 |
feat(solid-router): adopt Solid 2's useHead registry for head management (#8080)
* feat(solid-router): register head tags through Solid's useHead registry
HeadContent now feeds the route-derived tags (useTags output, semantics
unchanged) to Solid's head registry as one reactive group instead of
rendering <Asset> elements in-tree. The registry owns head emission on
both runtimes: SSR splices/streams resolved winners into <head>, the
client patches document.head reactively — replacing the manual
relocate-into-head, imperative script injection, and document.title
syncing that Asset.tsx carried for head tags.
The dev-only dev-styles handling (filter DEV_STYLES_ATTR links post
hydration) is a no-op in production, so it folds into the single
HeadContent — retiring HeadContent.dev.tsx, index.dev.tsx, and the
package's development export conditions.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* test(solid-start): pin SSR'd lazy() modulepreload hints and hydration asset map
The client-assets manifest wiring (
|
||
|
|
1022de9f32 |
Merge branch 'main' into upgrade-solidjs-rc-0-main-merge
# Conflicts: # benchmarks/client-nav/package.json # benchmarks/client-nav/scenarios/async-pipeline/solid/src/main.tsx # benchmarks/client-nav/scenarios/control-flow/solid/src/main.tsx # benchmarks/client-nav/scenarios/head/solid/src/main.tsx # benchmarks/client-nav/scenarios/history/solid/src/main.tsx # benchmarks/client-nav/scenarios/links/solid/src/main.tsx # benchmarks/client-nav/scenarios/loaders/solid/src/main.tsx # benchmarks/client-nav/scenarios/mount/solid/src/main.tsx # benchmarks/client-nav/scenarios/nested-params/solid/src/main.tsx # benchmarks/client-nav/scenarios/preload/solid/src/main.tsx # benchmarks/client-nav/scenarios/rewrites/solid/src/main.tsx # benchmarks/client-nav/scenarios/route-tree-scale/solid/src/main.tsx # benchmarks/client-nav/scenarios/search-params/solid/src/main.tsx # examples/react/basic-default-search-params/package.json # examples/react/large-file-based/package.json # examples/react/location-masking/package.json # examples/react/navigation-blocking/package.json # examples/react/router-monorepo-react-query/packages/router/package.json # examples/react/search-validator-adapters/package.json # examples/react/start-large/package.json # examples/solid/authenticated-routes-firebase/package.json # examples/solid/authenticated-routes/package.json # examples/solid/basic-default-search-params/package.json # examples/solid/basic-devtools-panel/package.json # examples/solid/basic-file-based/package.json # examples/solid/basic-non-nested-devtools/package.json # examples/solid/basic-solid-query-file-based/package.json # examples/solid/basic-solid-query/package.json # examples/solid/basic-ssr-file-based/package.json # examples/solid/basic-ssr-streaming-file-based/package.json # examples/solid/basic-virtual-file-based/package.json # examples/solid/basic-virtual-inside-file-based/package.json # examples/solid/basic/package.json # examples/solid/deferred-data/package.json # examples/solid/i18n-paraglide/package.json # examples/solid/kitchen-sink-file-based/package.json # examples/solid/kitchen-sink-solid-query-file-based/package.json # examples/solid/kitchen-sink-solid-query/package.json # examples/solid/kitchen-sink/package.json # examples/solid/large-file-based/package.json # examples/solid/location-masking/package.json # examples/solid/navigation-blocking/package.json # examples/solid/quickstart-esbuild-file-based/package.json # examples/solid/quickstart-file-based/package.json # examples/solid/quickstart-rspack-file-based/package.json # examples/solid/quickstart-webpack-file-based/package.json # examples/solid/quickstart/package.json # examples/solid/router-monorepo-simple-lazy/package.json # examples/solid/router-monorepo-simple-lazy/packages/router/package.json # examples/solid/router-monorepo-simple/package.json # examples/solid/router-monorepo-simple/packages/router/package.json # examples/solid/router-monorepo-solid-query/package.json # examples/solid/router-monorepo-solid-query/packages/router/package.json # examples/solid/scroll-restoration/package.json # examples/solid/search-validator-adapters/package.json # examples/solid/start-basic-auth/package.json # examples/solid/start-basic-authjs/package.json # examples/solid/start-basic-cloudflare/package.json # examples/solid/start-basic-netlify/package.json # examples/solid/start-basic-nitro/package.json # examples/solid/start-basic-solid-query/package.json # examples/solid/start-basic-static/package.json # examples/solid/start-basic/package.json # examples/solid/start-bun/package.json # examples/solid/start-convex-better-auth/package.json # examples/solid/start-counter/package.json # examples/solid/start-i18n-paraglide/package.json # examples/solid/start-large/package.json # examples/solid/start-streaming-data-from-server-functions/package.json # examples/solid/start-supabase-basic/package.json # examples/solid/start-tailwind-v4/package.json # examples/solid/view-transitions/package.json # examples/solid/with-framer-motion/package.json # examples/solid/with-trpc/package.json # packages/solid-router/CHANGELOG.md # packages/solid-router/package.json # packages/solid-router/src/CatchBoundary.tsx # packages/solid-router/src/Match.tsx # packages/solid-router/src/link.tsx # packages/solid-router/src/useBlocker.tsx # packages/solid-router/src/useRouterState.tsx # packages/solid-router/src/utils.ts # packages/solid-start-client/CHANGELOG.md # packages/solid-start-client/package.json # packages/solid-start-client/src/GenericHydrate.tsx # packages/solid-start-server/CHANGELOG.md # packages/solid-start-server/package.json # packages/solid-start/CHANGELOG.md # packages/solid-start/package.json # pnpm-lock.yaml |
||
|
|
56cc90ea2c |
Upgrade solidjs rc 0 and rename vite-plugin-solid to @solidjs/vite-plugin
`vite-plugin-solid` has been renamed to `@solidjs/vite-plugin`. Its final release under the old name (`3.0.0-next.27`) is a re-export shim over the new package, and `next.28`+ ships only under the new name. The rename and the `rc` bump are forced together: `@solidjs/vite-plugin@3.0.0-next.28` peer-requires `solid-js`/`@solidjs/web` `^2.0.0-rc.0`. - solid-js, @solidjs/web, babel-preset-solid: 2.0.0-beta.32 -> ^2.0.0-rc.0 - vite-plugin-solid ^3.0.0-next.23 -> @solidjs/vite-plugin ^3.0.0-next.28 - @tanstack/solid-query + solid-query-devtools -> ^6.0.0-rc.0 (solid-query rc.0 peer-requires solid-js >=2.0.0-rc.0) - @tanstack/query-core converged on 5.101.4: solid-query depends on query-core 5.101.0, which previously resolved to a stale 5.99.0 and produced two structurally incompatible `QueryClient` types, failing @tanstack/solid-router-ssr-query's build `packages/router-devtools-core` intentionally stays on `vite-plugin-solid@^2.11.10` — it builds against Solid 1.9.12 and `@solidjs/vite-plugin` has no 2.x line. `@tanstack/router-plugin` is intentionally untouched: it detects the Solid JSX plugin by its Vite plugin name (`solid`), which the renamed package still registers, and its `vite-plugin-solid` peer is optional — so it keeps working for both Solid 1 and Solid 2 consumers without a change. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> |
||
|
|
980ed5794a |
Upgrade solidjs beta 32 (#8014)
* Upgrade solid-js to 2.0.0-beta.32 and vite-plugin-solid to 3.0.0-next.23 - solid-js / @solidjs/web / babel-preset-solid: 2.0.0-beta.29 -> 2.0.0-beta.32 - vite-plugin-solid: ^3.0.0-next.21 -> ^3.0.0-next.23 (ships @dom-expressions/compiler 0.50.0-next.40) - Migrate server tests off removed renderToStringAsync: awaiting renderToStream() now resolves with the fully-settled HTML string Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * ci: apply automated fixes --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> |
||
|
|
abf9b81b1f |
test: stabilize codspeed CPU benchmarks (#7987) | ||
|
|
b2908c642a |
chore: update seroval to 1.6.2 (#7962) | ||
|
|
e958330a1d |
Merge branch 'main' into solid-router-v2-pre-main-merge-2
# Conflicts: # benchmarks/client-nav/package.json # e2e/solid-start/basic-auth/package.json # e2e/solid-start/basic-solid-query/package.json # e2e/solid-start/basic-tsr-config/package.json # e2e/solid-start/csp/package.json # e2e/solid-start/query-integration/package.json # e2e/solid-start/query-integration/src/routeTree.gen.ts # e2e/solid-start/scroll-restoration/package.json # e2e/solid-start/serialization-adapters/package.json # e2e/solid-start/server-functions/package.json # e2e/solid-start/server-routes/package.json # e2e/solid-start/virtual-routes/package.json # e2e/solid-start/website/package.json # examples/react/start-rscs/package.json # examples/solid/authenticated-routes-firebase/package.json # examples/solid/authenticated-routes/package.json # examples/solid/basic-default-search-params/package.json # examples/solid/basic-devtools-panel/package.json # examples/solid/basic-file-based/package.json # examples/solid/basic-non-nested-devtools/package.json # examples/solid/basic-solid-query-file-based/package.json # examples/solid/basic-solid-query/package.json # examples/solid/basic-ssr-file-based/package.json # examples/solid/basic-ssr-streaming-file-based/package.json # examples/solid/basic-virtual-file-based/package.json # examples/solid/basic-virtual-inside-file-based/package.json # examples/solid/basic/package.json # examples/solid/deferred-data/package.json # examples/solid/i18n-paraglide/package.json # examples/solid/kitchen-sink-file-based/package.json # examples/solid/kitchen-sink-solid-query-file-based/package.json # examples/solid/kitchen-sink-solid-query/package.json # examples/solid/kitchen-sink/package.json # examples/solid/large-file-based/package.json # examples/solid/location-masking/package.json # examples/solid/navigation-blocking/package.json # examples/solid/quickstart-esbuild-file-based/package.json # examples/solid/quickstart-file-based/package.json # examples/solid/quickstart-rspack-file-based/package.json # examples/solid/quickstart-webpack-file-based/package.json # examples/solid/quickstart/package.json # examples/solid/router-monorepo-simple-lazy/package.json # examples/solid/router-monorepo-simple-lazy/packages/app/package.json # examples/solid/router-monorepo-simple-lazy/packages/post-feature/package.json # examples/solid/router-monorepo-simple-lazy/packages/router/package.json # examples/solid/router-monorepo-simple/package.json # examples/solid/router-monorepo-simple/packages/app/package.json # examples/solid/router-monorepo-simple/packages/post-feature/package.json # examples/solid/router-monorepo-simple/packages/router/package.json # examples/solid/router-monorepo-solid-query/package.json # examples/solid/router-monorepo-solid-query/packages/app/package.json # examples/solid/router-monorepo-solid-query/packages/post-feature/package.json # examples/solid/router-monorepo-solid-query/packages/post-query/package.json # examples/solid/router-monorepo-solid-query/packages/router/package.json # examples/solid/scroll-restoration/package.json # examples/solid/search-validator-adapters/package.json # examples/solid/start-basic-auth/package.json # examples/solid/start-basic-authjs/package.json # examples/solid/start-basic-cloudflare/package.json # examples/solid/start-basic-netlify/package.json # examples/solid/start-basic-nitro/package.json # examples/solid/start-basic-solid-query/package.json # examples/solid/start-basic-static/package.json # examples/solid/start-basic/package.json # examples/solid/start-bun/package.json # examples/solid/start-convex-better-auth/package.json # examples/solid/start-counter/package.json # examples/solid/start-i18n-paraglide/package.json # examples/solid/start-large/package.json # examples/solid/start-streaming-data-from-server-functions/package.json # examples/solid/start-supabase-basic/package.json # examples/solid/start-tailwind-v4/package.json # examples/solid/view-transitions/package.json # examples/solid/with-framer-motion/package.json # examples/solid/with-trpc/package.json # packages/router-devtools-core/package.json # packages/solid-router-devtools/CHANGELOG.md # packages/solid-router-devtools/package.json # packages/solid-router/CHANGELOG.md # packages/solid-router/package.json # packages/solid-router/src/CatchBoundary.tsx # packages/solid-router/src/Match.tsx # packages/solid-router/src/Matches.tsx # packages/solid-router/src/Scripts.tsx # packages/solid-router/src/Transitioner.tsx # packages/solid-router/src/headContentUtils.tsx # packages/solid-router/src/lazyRouteComponent.tsx # packages/solid-router/src/link.tsx # packages/solid-router/src/routerStores.ts # packages/solid-router/src/ssr/RouterClient.tsx # packages/solid-router/src/useMatch.tsx # packages/solid-router/tests/link.test.tsx # packages/solid-router/tests/loaders.test.tsx # packages/solid-router/tests/routeContext.test.tsx # packages/solid-router/tests/store-updates-during-navigation.test.tsx # packages/solid-start-client/CHANGELOG.md # packages/solid-start-client/package.json # packages/solid-start-server/CHANGELOG.md # packages/solid-start-server/package.json # packages/solid-start/CHANGELOG.md # packages/solid-start/package.json # pnpm-lock.yaml |
||
|
|
45c4ad8d62 |
fix(router-core): lane match loader rewrite (#7805)
* fix: lane match loader rewrite --------- Co-authored-by: Manuel Schiller <6340397+schiller-manuel@users.noreply.github.com> |
||
|
|
3d40733d4a |
Upgrade solidjs beta 29 + solid-query beta 7 (#7928)
* Upgrade solidjs beta 29 Upgrade `solid-js`, `@solidjs/web` and `babel-preset-solid` to `2.0.0-beta.29`, and `vite-plugin-solid` to `3.0.0-next.20` (peer-requires `>=2.0.0-beta.28`). Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * Upgrade vite-plugin-solid to 3.0.0-next.21 Peer-requires `>=2.0.0-beta.29` (already satisfied) and ships `@dom-expressions/compiler@0.50.0-next.34`. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * Upgrade @tanstack/solid-query to 6.0.0-beta.7 Bump `@tanstack/solid-query` and `@tanstack/solid-query-devtools` to `6.0.0-beta.7`. The devtools package peer-requires `@tanstack/solid-query: ^6.0.0-beta.7`, so the two must move together. `@tanstack/solid-query` is pinned through the `catalog:` entry in pnpm-workspace.yaml and forced repo-wide via `overrides`, so the catalog value is bumped alongside the package.json ranges — editing the package.json ranges alone has no effect on resolution. Both packages are added to `minimumReleaseAgeExclude`; the repo gates on `minimumReleaseAge: 1440` and these betas are newer than that. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5 <noreply@anthropic.com> |
||
|
|
f04ddc61e7 |
fix(start): skip errored Rspack modules during import protection (#7685)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> |
||
|
|
84c43e0595 |
Upgrade solidjs beta 27 (#7916)
Upgrade `solid-js`, `@solidjs/web` and `babel-preset-solid` to `2.0.0-beta.27`, and `vite-plugin-solid` to `3.0.0-next.17` (peer-requires `>=2.0.0-beta.26`). Co-authored-by: Claude Opus 5 <noreply@anthropic.com> |
||
|
|
a7e9835e1c |
Upgrade solidjs beta 25 (#7888)
* Upgrade solidjs beta 25 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * Upgrade vite-plugin-solid to 3.0.0-next.16 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com> |
||
|
|
88f366ab8e |
chore: migrate to typescript 7 (#7887) | ||
|
|
714e11f191 |
Upgrade solidjs beta 21 (#7865) | ||
|
|
edf55759d8 |
ci: omit unchanged bundle size scenarios (#7856) | ||
|
|
218eab2c3b |
chore: regenerate route trees (#7853) | ||
|
|
62f3b2697f |
Upgrade solidjs beta 20 (#7850)
* chore: upgrade Solid v2 packages to 2.0.0-beta.20
Bumps solid-js and @solidjs/web from 2.0.0-beta.19 to 2.0.0-beta.20 and
vite-plugin-solid from 3.0.0-next.11 to 3.0.0-next.13 across packages,
examples, e2e apps, and benchmarks.
vite-plugin-solid 3.0.0-next.13 defaults to the new native JSX backend
(@dom-expressions/compiler), which is an incomplete milestone build that
cannot compile components with element children yet ("Only text and
expression component children are implemented in the AST-native
milestone"). Every vite-plugin-solid call site now passes
compiler: 'babel' to keep the babel-preset-solid pipeline until the
native compiler matures.
Also fixes two pins that had gone stale: the quickstart-webpack example's
direct babel-preset-solid pin (stuck on beta.18) and
@rsbuild/plugin-solid's babel-preset-solid lockfile resolution (also
beta.18), so the compiler and runtime are in lockstep everywhere.
Verified with solid-router test:unit (client + server modes) and
e2e/solid-start/basic (pnpm build + test:e2e:local).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* chore: use the native JSX compiler (vite-plugin-solid default)
Removes the compiler: 'babel' escape hatch from all vite-plugin-solid
call sites, returning to next.13's default native backend
(@dom-expressions/compiler).
The native compiler's only unimplemented construct that this repo used
was a fragment passed as a component's child (dom mode only). The single
instance — the redundant <>{props.children}</> wrapper in solid-router's
ClientOnly — is removed; props.children is a valid JSX child on its own.
Verified: solid-router test:unit (client + server), e2e/solid-start/basic
(pnpm build + test:e2e:local), and a direct scan of all 1353 solid
.tsx/.jsx files in the repo through @dom-expressions/compiler in both
dom and ssr modes with zero failures.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
|
||
|
|
ebe104c01c |
Upgrade solidjs beta 19 (#7813)
* chore: upgrade Solid v2 packages to 2.0.0-beta.16 Bumps solid-js, @solidjs/web, and babel-preset-solid from 2.0.0-beta.15 to 2.0.0-beta.16 across packages, examples, e2e apps, benchmarks, and the pnpm overrides in pnpm-workspace.yaml. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * chore: upgrade Solid v2 packages to 2.0.0-beta.17 Bumps solid-js, @solidjs/web, and babel-preset-solid from 2.0.0-beta.16 to 2.0.0-beta.17 across packages, examples, e2e apps, and benchmarks. The scoped babel-preset-solid overrides in pnpm-workspace.yaml are removed instead of bumped: vite-plugin-solid@3.0.0-next.5 and @rsbuild/plugin-solid@2.0.0-beta.0 both declare '>=2.0.0-beta.0 <2.0.0-experimental.0', which resolves to the newest v2 beta on its own, while Solid 1.x consumers keep babel-preset-solid 1.x. A stale override here silently kept the beta.16 compiler (with its broken omitLastClosingTag marker handling) in the build pipeline. The @dom-expressions/* scope is added to minimumReleaseAgeExclude, covering the renamed compiler package (@dom-expressions/babel-plugin-jsx, formerly babel-plugin-jsx-dom-expressions). Two unrelated loose specs are pinned to their locked versions because re-resolving the lockfile pulled broken releases: @platformatic/flame 1.7.0 fails pnpm's trust-downgrade policy, and the nitro-nightly 'latest' tag depends on an unpublished h3 version. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * fix(solid-router): suspend on the match loadPromise only during SSR On the client, returning the loadPromise from MatchInner's pending branch keeps a live async source in the tree whenever a match is pending. Since Solid 2.0.0-beta.16, that routes every signal write into a transition hold for the rest of the flush, which breaks router-core's synchronous write-then-load flows: invalidate() on a notFound match never re-ran the loader, and writes to unrelated signals were held too. SSR keeps the suspension so the streaming engine waits for the match to settle; the client now renders just the pending component. Verified on beta.17: without this, "re-runs loaders that throw notFound() when invalidated via HMR filter" and "keeps rendering a route notFoundComponent when loader returns notFound() after invalidate" fail. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * fix(lockfile): restore all @rspack/binding@2.0.8 platform binaries The lockfile entry for @rspack/binding@2.0.8 only listed the darwin-arm64 binding, so linux CI runners had no matching native binding and rspack fell back to a hoisted 2.0.0 binary, crashing the bundle-size benchmark with a core/binding version mismatch. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * chore: add changesets for solid-js beta.17 upgrade and SSR-only match suspension Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * fix(examples): replace broken nitro-nightly pin with nitro beta in start-rscs The pinned nitro-nightly@4.0.0-20251010 self-imports 'nitro/runtime/meta', which under pnpm's isolated layout resolves to the hoisted nitro 3.x beta and crashes vite config loading. Mirrors upstream fix |
||
|
|
2bb318bdcf |
fix(benchmarks): Solid v2 type fixes for new benchmark scenarios
- jsxImportSource solid-js -> @solidjs/web in the new scenario tsconfigs (Solid 2's JSX types moved; with the old value tsc fell back to React's JSX namespace and rejected solid components) - createRenderEffect one-arg calls -> v2 (compute, effect) signature in the loaders, search-params, and nested-params solid scenarios, matching the existing client-nav solid app Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|
|
26d94d93fc |
fix(benchmarks): adapt new solid benchmarks from main to Solid v2
main's new client-nav scenarios and memory benchmarks were written for Solid 1.x and fail against this branch's Solid 2 toolchain: - import render/HydrationScript from @solidjs/web instead of solid-js/web - memory benchmark manifests: solid-js 2.0.0-beta.15, @solidjs/web, vite-plugin-solid ^3.0.0-next.5 (matching client-nav) - Suspense -> Loading, and createResource -> router Await in the memory-server solid scenarios - skip the streaming-peak solid bench: Solid 2's renderToStream emits </body></html> with the shell and streams deferred Loading content after it, so router-core's transformStreamWithRouter tail-buffers the ~200 kB of deferred sections and throws 'SSR stream tail exceeded maximum buffer' (MAX_TAIL_CHARS = 64 kB). Needs a transformer-level fix on this branch before the scenario can run. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|
|
adc6ed5712 |
Merge remote-tracking branch 'upstream/main' into solid-router-v2-pre
# Conflicts: # benchmarks/client-nav/package.json # examples/solid/authenticated-routes-firebase/package.json # examples/solid/authenticated-routes/package.json # examples/solid/basic-default-search-params/package.json # examples/solid/basic-devtools-panel/package.json # examples/solid/basic-file-based/package.json # examples/solid/basic-non-nested-devtools/package.json # examples/solid/basic-solid-query-file-based/package.json # examples/solid/basic-solid-query/package.json # examples/solid/basic-ssr-file-based/package.json # examples/solid/basic-ssr-streaming-file-based/package.json # examples/solid/basic-virtual-file-based/package.json # examples/solid/basic-virtual-inside-file-based/package.json # examples/solid/basic/package.json # examples/solid/deferred-data/package.json # examples/solid/i18n-paraglide/package.json # examples/solid/kitchen-sink-file-based/package.json # examples/solid/kitchen-sink-solid-query-file-based/package.json # examples/solid/kitchen-sink-solid-query/package.json # examples/solid/kitchen-sink/package.json # examples/solid/large-file-based/package.json # examples/solid/location-masking/package.json # examples/solid/navigation-blocking/package.json # examples/solid/quickstart-esbuild-file-based/package.json # examples/solid/quickstart-file-based/package.json # examples/solid/quickstart-rspack-file-based/package.json # examples/solid/quickstart-webpack-file-based/package.json # examples/solid/quickstart/package.json # examples/solid/router-monorepo-simple-lazy/package.json # examples/solid/router-monorepo-simple-lazy/packages/router/package.json # examples/solid/router-monorepo-simple/package.json # examples/solid/router-monorepo-simple/packages/router/package.json # examples/solid/router-monorepo-solid-query/package.json # examples/solid/router-monorepo-solid-query/packages/router/package.json # examples/solid/scroll-restoration/package.json # examples/solid/search-validator-adapters/package.json # examples/solid/start-basic-auth/package.json # examples/solid/start-basic-authjs/package.json # examples/solid/start-basic-cloudflare/package.json # examples/solid/start-basic-netlify/package.json # examples/solid/start-basic-nitro/package.json # examples/solid/start-basic-solid-query/package.json # examples/solid/start-basic-static/package.json # examples/solid/start-basic/package.json # examples/solid/start-bun/package.json # examples/solid/start-convex-better-auth/package.json # examples/solid/start-counter/package.json # examples/solid/start-i18n-paraglide/package.json # examples/solid/start-large/package.json # examples/solid/start-streaming-data-from-server-functions/package.json # examples/solid/start-supabase-basic/package.json # examples/solid/start-tailwind-v4/package.json # examples/solid/view-transitions/package.json # examples/solid/with-framer-motion/package.json # examples/solid/with-trpc/package.json # package.json # packages/solid-router/CHANGELOG.md # packages/solid-router/package.json # packages/solid-start-client/CHANGELOG.md # packages/solid-start-client/package.json # packages/solid-start-server/CHANGELOG.md # packages/solid-start-server/package.json # packages/solid-start/CHANGELOG.md # packages/solid-start/package.json # pnpm-lock.yaml # pnpm-workspace.yaml |
||
|
|
a3e24c35a5 |
bench(memory): prefix client and server benchmark names (#7743) | ||
|
|
d644dbb5c2 |
bench(memory): settle-until-quiescent GC barrier between iterations (#7739)
* bench(memory): settle-until-quiescent GC barrier between iterations The fixed-turn settle before the pinned collection was hardware-fragile: teardown needing one more event-loop turn on a given runner leaked a whole payload of garbage past the collection point and flipped the measured peak bimodally (serialization-payload solid/react resurfacing the pre-#7730 6.2MB attractor on some CI runners). Replace it with an adaptive barrier that hops and collects until the post-GC heap size stops moving, with a minimum-turn floor matching the fixed count it replaces (React's stream teardown spans several turns and races a shorter floor). Also pin collections in request-churn and the aborted-requests drain: their peak floated on GC scheduling even with bit-identical work (18% spread on CI for solid churn). Reachable accumulation stays visible to the metric - a forced collection cannot reclaim leaked or cached objects, it only removes floating garbage, whose collection timing was the dominant cross-run noise source. Verified with a synthetic reachable leak: +4.7% peak over a 0.6% A/A noise floor, where the old 18% noise would have swallowed it. Local A/A spreads (3x codspeed run per suite): solid <=1%, react <=2.2% except request-churn (rare +130KB mode, framework teardown variance), vue <=2.3% except aborted-requests (~8%, intra-iteration work variance, down from 21% on CI). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * bench(memory): fixed-count settle barrier, drop adaptive quiescence exit The adaptive exit (collect until post-GC heap size stops moving) made the collection points land at data-dependent turns on CI: heap readings never fully stabilize there, so the exit point - and every subsequent GC point - shifted between identical runs. The first CI A/A pair showed it flipping serialization-payload (vue) to a 6MB mode (67%), inflating peak-large-page (vue) 3.4x, and adding 7-8% swings to the react/vue abort scenarios, while fixing the solid suite. Every step is now a fixed count: 16 settle turns (enough for React/Vue multi-turn teardown that the original 2-turn barrier raced), one pinned collection, one turn, one more collection for finalizer fallout. Fixed counts make the GC points identical across runs by construction, which is the property the barrier exists to provide. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * bench(memory): size iteration counts to the 2-10s measured-run window On CI (eBPF instrument + --no-opt) one pinned iteration costs ~0.1-0.6s, so the previous counts put request-churn at ~36s measured and the error -paths/server-fn benches at 0.1-0.5s - outside the useful 2-10s range in both directions. Retune: request-churn/aborted-requests/error-paths/ server-fn-churn to 40 iterations, serialization-payload to 12; peak-large-page and streaming-peak already sit in range at 20. The floor is raised by pinning error-paths and server-fn-churn rather than inflating their iteration counts: thousands of unpinned iterations would cross V8's own GC scheduling and reintroduce the timing noise the barrier removes, while the pin's fixed per-iteration cost lifts them into range at 40 iterations and makes their collection points deterministic. Note: fewer churn iterations proportionally shrink the accumulation window, so peak-based leak sensitivity drops accordingly; leaks remain visible in total-allocated (forced compactions re-copy the growing live set every iteration). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * bench(memory): disable V8 bytecode flushing in memory bench workers The retuned (shorter) runs exposed a recurring V8 internal event - a +7-13MB allocation burst with the signature of bytecode flush + lazy recompile - that lands inside or outside the measured window at random, flipping peaks by whole MBs between identical CI runs (request-churn vue 785KB vs 3.2MB). The pinned collections age code fast enough for V8 to flush unused bytecode mid-run; --no-flush-bytecode keeps compiled code alive for the process lifetime so the measured window sees no recompile bursts. Vite's mergeConfig concatenates the scenario's test.execArgv with the flags the CodSpeed plugin injects, so both apply to the fork workers. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * bench(memory): pre-size V8 heap geometry in memory bench workers --no-flush-bytecode alone did not stop the run-to-run flips: the recurring event is heap-space growth, which allocates several MB at a run-dependent moment inside the shortened measured windows (error-paths unmatched vue 674KB vs 2MB, serialization-payload solid resurfacing its 6.4MB attractor on one run in three). Pre-sizing old space and pinning the semi-space size removes mid-measurement growth while leaving the per-iteration page map/unmap signal intact - local runs confirm peaks still track payload sizes exactly (serialization 3.5MB, streaming 30.3MB, levels unchanged). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * bench(memory): size tiny benches just above the 2s measured-run floor error-paths and server-fn-churn sat at 5-8s measured on CI; fewer iterations bring them to ~2.3-3.4s, keeping the 2s floor while shrinking the window a stray allocator event can land in. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * bench(memory): verify the pinned collection against the heap floor The residual CI flips all share one signature: exactly one iteration's payload added to the measured peak (serialization-payload vue 3.5 vs 6.9MB, peak-large-page vue 780 vs 1349KB, error-paths redirect vue 300 vs 885KB). On some runners the response teardown holds the payload past the fixed settle window - released only by a later internal timer - so it survives the pinned collection and bleeds into the next iteration. After the fixed 16-turn settle and collection, compare the post-GC heap against the smallest post-collection size seen this run (the inter- iteration floor): while it has not returned to the floor, keep hopping and collecting, bounded at 64 turns. The barrier stays fixed-count in the common case and extends only in exactly the failure case. Workloads that genuinely accumulate reachable memory raise the floor as they go, so accumulation still measures. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * bench(memory): restrict floor verification to peak-shape scenarios The floor-verified barrier fixed its target - the serialization family went to <=0.45% across three CI runs, attractor gone - but destabilized churn/abort scenarios (request-churn solid 420KB vs 3.4MB): their inter- iteration floor legitimately drifts, so the verification capped out chronically and the ~48 extra collections per iteration eventually hit a compaction that double-copies the live set. Split by scenario shape: serialization-payload, peak-large-page and streaming-peak keep the verified barrier (flat floor, proven fix); churn and abort scenarios go back to the plain fixed-count barrier that held them at <=1.7% in the two previous CI rounds. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com> |
||
|
|
208100b7c0 |
feat(benchmarks): client-side CPU benchmark scenario suite (#7732)
* feat(benchmarks): add client-side CPU benchmark scenario suite
Add 11 client-side CPU benchmark scenarios to benchmarks/client-nav, each
implemented identically across react/solid/vue and tracked by CodSpeed
through the existing Benchmarks workflow (no CI changes needed):
async-pipeline, control-flow, head, history, links, loaders, mount,
nested-params, preload, route-tree-scale, search-params
Each scenario is an isolated file-based-routing app (route trees generated
by @tanstack/router-plugin) built for production and driven in jsdom by a
shared harness (scenarios/harness.ts): circular step sequences of real
<Link> clicks (plus hover/preload/history-traversal/invalidate steps),
each synchronized on the router's onRendered event, with a warm-up lap
that asserts every step's observable output. Determinism rules: no
wall-clock timers (counted 0ms hops only), staleTime/gcTime pinned to 0 or
1e9, deterministic preload staleness, stationary DOM and history depth.
The existing baseline apps and bench names are untouched for CodSpeed
continuity; baseline vite configs only gain an explicit root/setupFiles so
they resolve identically under the new per-framework aggregate configs.
Notable constraints encoded in the scenarios:
- Component-level Await/Suspense is excluded from async-pipeline: React 19
throttles every Suspense reveal by ~300ms wall-clock, which is
inherently non-deterministic to benchmark.
- control-flow/react silences React 19's onCaughtError reporting, which
otherwise dominates the measured loop with console I/O.
- Vue route components must be defined before their createFileRoute call
(bundled var hoisting silently yields component: undefined otherwise).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* ci: apply automated fixes
* chore(benchmarks): prefix client-nav bench names with "client-"
All benches in @benchmarks/client-nav now start with "client" so they are
easy to identify on the CodSpeed dashboard (the baseline already did).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* fix(benchmarks): address review findings on client-nav scenario stability
Fixes from an adversarial review of the scenario suite:
- mount: create the browser history explicitly and destroy() it on unmount.
The default per-router createBrowserHistory() monkey-patches
window.history.pushState/replaceState, chaining one wrapper per router —
per-mount cost degraded 1.8ms -> 6ms over 3000 mounts (O(N^2) drift in
the cold-start bench). Verified flat (~1.86ms) after the fix.
- links: replace the five <MatchRoute> components with setup-scoped
useMatchRoute probes in all three apps. vue-router's MatchRoute calls
useMatchRoute() inside its render function, leaking one undisposed
watcher per render — the Vue bench accumulated ~5 dead subscribers per
navigation. Verified flat per-tick cost over 2000 ticks after the fix.
- all scenarios: bound the scroll-restoration cache with
getScrollRestorationKey: (location) => location.pathname. The default
key is a fresh random per-entry location key, so the module-level cache
grew one entry per push navigation for the whole run.
- harness hover step: dispatch a single mouseover instead of
mouseover+mouseenter. Solid/Vue attach intent-preload handlers to BOTH
events, so the old double dispatch ran the preload pipeline twice for
them but once for React. Verified all three adapters preload exactly
once per hover via cached-matches probes.
- README: correct the loaders row (the invalidate step means cached routes
re-run once per lap), the links row, and document the session-history
growth characteristics.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* feat(benchmarks): cover client rewrites, lazy route chunks, encoded params
Closes the three coverage gaps identified in the scenario-suite analysis:
- new `rewrites` scenario (react/solid/vue): router basepath '/app' composed
with a locale input/output rewrite pair — the client analog of the SSR
rewrites scenario. Every href build runs the output rewrite and every
committed location runs the input rewrite; assertions check both the
internal router pathname and the external window pathname. The harness
gained an `initialUrl` option since a basepath app cannot start at '/'.
- route-tree-scale now builds with `autoCodeSplitting: true`, so its
navigations also exercise lazy route-chunk resolution — the default shape
of real file-based apps, previously uncovered.
- nested-params and route-tree-scale param sets now include characters that
need percent-encoding (spaces, `&`, `%`, `+`, unicode) so the segment
encode/decode paths run on every navigation.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* fix(benchmarks): reduce syscall time in measured loops, lengthen mount bench
CodSpeed excludes syscall time from simulation measures, and past a
threshold it warns ("cannot be consistently instrumented") and skips the
benchmark; the exclusion is also inconsistent run-to-run, which was the
root cause of the two same-code CI swings (route-tree-scale react 13%,
async-pipeline react 3.6%) and of skipped runs on hop-heavy benches like
async-pipeline solid (579 calls / 12.1ms).
- Replace all counted setTimeout(0) hops with setImmediate hops (harness
timerHop + async-pipeline hopDelay). Both are deterministic event-loop
turns that yield to timers and the React Node scheduler, but a timer
costs ~3-4 syscalls (timerfd + epoll) per hop vs ~1 for an immediate.
Same-machine instrumented before/after: preload solid 39.8ms -> 1.2ms of
syscall time, preload vue 30.1 -> 1.1, async-pipeline solid 23.5 -> 1.1,
async-pipeline vue 17.9 -> 0.9. head/route-tree-scale are unchanged
(their residual syscalls are GC/scheduler, and their measures were
already stable); history's syscalls come from jsdom's internal
timer-queued traversal and are not reachable from bench code (its
measured values are stable regardless).
- mount: 6 ticks per iteration instead of 2. A single mount simulates to
only ~8ms and very short measures amplify allocator/GC quantization;
the bench now measures ~50ms+ of simulated CPU.
All 39 benches pass; full nx typecheck green.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* fix(benchmarks): stop history benches sleeping in jsdom's traversal timers
The history benches were skip-warned by CodSpeed for excessive syscall
time (5-26ms, highly variable across runs). Root cause: jsdom delivers
history traversals through two nested window.setTimeout(0) tasks, and Node
clamps zero timers to 1ms of wall time — so while awaiting onRendered
after back/forward/go, the event loop blocked in epoll_wait until each
timer expired. That blocked wall-time is recorded as syscall time, and its
duration depends on host timer behavior, hence the variability.
The harness now reroutes zero-delay window.setTimeout calls onto
setImmediate for the duration of a benchmark (non-zero delays pass
through; clearTimeout handles both). Zero-delay timeouts carry no ordering
semantics a check-phase immediate doesn't satisfy, and the suite's
conventions already forbid real-delay timers in measured code.
Instrumented A/A verification (2 runs per framework): history syscall time
react 23-26ms -> 2.5ms, solid 14-23ms -> 1.1ms, vue 11-12ms -> 1.2ms, with
bit-identical syscall counts across runs and measured values stable to
0.06%. The benches also stopped measuring sleep: locally an iteration
dropped from ~42-49ms to ~5-11ms of actual CPU work. All 39 benches pass.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
|
||
|
|
a6337fb98e |
bench(memory): stabilize CodSpeed memory benchmarks (#7730)
* bench(memory): stabilize CodSpeed memory benchmarks Memory flags on PRs were ~85% noise, from two causes: 1. Stale baselines (dominant): the Benchmarks workflow only ran on main pushes touching packages/** or benchmarks/**. Main commits outside those paths had no CodSpeed run, so PRs were compared against an old base run ([^unexpected-base] on every recent codspeed-hq comment; six late-June PRs all compared to the same June-23 run). One outlier base measurement then replays into every PR until the next eligible push. Fix: drop the paths filter for the push trigger + weekly cron backstop. 2. Wall-clock timers racing the single measured run: aborted-requests (solid/vue) resolved deferred loader data on 500/750ms timeouts raced against abort, and drained cancellation with at most one setTimeout(0); streaming-peak staggered deferred sections by milliseconds. Under variable runner load and instrumentation slowdown the interleaving — and therefore the allocation sequence — differed run to run. Fix: count 0ms timers-phase hops (event-loop turns) instead of milliseconds everywhere async ordering must be staged, and drain aborts with a fixed 8-turn settlement barrier. Local before/after evidence (8 fresh-process runs per config, CodSpeed V8 determinism flags, idle + CPU-stressed; kernel peak RSS spread): aborted-requests/solid idle 11.2MB -> 1.8MB (GC counts bit-identical) aborted-requests/solid stress 7.7MB -> 2.5MB streaming-peak/solid idle 6.2MB -> 2.5MB request-churn/solid (untouched control): unchanged, confirming harness streaming-peak/vue keeps ~2% proxy-level variance at any tick count; its PR flags were the identical -3.2% in all three occurrences, i.e. the stale-base artifact rather than per-run jitter. Bench names and workload shapes are unchanged; absolute values will step once on the CodSpeed dashboard from the removed cross-iteration overlap (e.g. aborted-requests/solid retained 15.6MB -> 2.5MB per invocation). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * bench(memory): exclude docs/examples/e2e from main benchmark runs, drop cron paths-ignore instead of no filter: docs/examples/e2e-only pushes cannot affect benchmark results, and falling back across such a commit is safe because the previous run's benchmark-relevant code is identical. The weekly cron backstop is unnecessary for the same reason. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * bench(memory): pin GC between iterations in peak-shape scenarios A/A runs of the real memory instrument showed the two big-payload peak scenarios were still unstable with no timers involved: whether V8 collects iteration i's garbage before iteration i+1 allocates its payload is not reproducible run to run, so the measured peak flipped by a whole payload (serialization-payload solid: 6.8-9.2 MB across identical runs; peak-large-page: 3.5-3.7 MB). Peak scenarios measure the footprint of a single request, not accumulation, so pin the collection points: settle two event-loop turns (so trailing renderer/stream teardown is included) and force a GC after each iteration. Peak then deterministically measures max(single-request footprint). Churn scenarios are unchanged — their signal is accumulation, which a forced GC would mask; the README rule now spells out both sides. A/A validation (3 identical instrumented runs, solid suite): serialization-payload 6.8-9.2 MB -> 3.5-3.6 MB peak-large-page 3.5-3.7 MB -> 754-757 KB (0.45% spread) streaming-peak 38.5-39.5 -> 30.3/30.3/30.3 MB churn scenarios unchanged (aborted-requests 1.4 MB x3) Absolute values step because cross-iteration garbage no longer inflates the peak; the new values are the per-request footprint the scenarios were designed to track. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com> |
||
|
|
259efbe530 |
chore: upgrade solid-js to 2.0.0-beta.15 (#7688)
Bump solid-js and @solidjs/web from 2.0.0-beta.14 to 2.0.0-beta.15 across all packages, examples, and e2e apps. - Pin solid-js as an explicit devDependency in @tanstack/solid-router (it previously only declared a floating peer range, so pnpm kept it on beta.14). - Update the scoped vite-plugin-solid babel-preset-solid override to beta.15 and add a matching scoped override for @rsbuild/plugin-solid. - Add minimumReleaseAgeExclude for the freshly published solid betas. - router-devtools-core intentionally stays on Solid v1. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com> |
||
|
|
e499164c72 |
feat(start-plugin-core): support Rsbuild preview SSR middleware (#7372)
* fix(start-plugin-core): support rsbuild preview SSR * fix(start-plugin-core): always install rsbuild SSR middleware in preview Preview is the only SSR handler in `rsbuild preview`, so gate the opt-out to dev only and keep the option named `installDevServerMiddleware`. |
||
|
|
854ac95b0d |
benchmark: memory (codspeed) (#7623) | ||
|
|
3fe770ad17 | fix: update solid ssr benchmark types | ||
|
|
0747d9b8fa |
ci: apply automated fixes | ||
|
|
1052ab97ba | Merge branch 'main' into solid-router-main-merge2 | ||
|
|
36ed57409a |
bench: calibrate new ssr benchmarks iteration to reduce variability (#7625)
* bench: calibrate new ssr benchmarks iteration to reduce variability * better response stream draining * last remaining fast ssr scenarios |
||
|
|
0c110a934a |
ssr benchmarks (#7606) | ||
|
|
b80781ede4 |
fix(benchmarks): run SSR setup imports natively (#7579)
* fix(benchmarks): run SSR setup imports natively * fix(benchmarks): update codspeed vitest plugin * fix(benchmarks): avoid SSR CodSpeed setup hooks * ci: apply automated fixes * fix(benchmarks): preload SSR handlers before bench * ci: apply automated fixes * ensure benchmarks build are NODE_ENV=production * fail codspeed on error, to avoid future skips like this one --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> |
||
|
|
ac10815f38 |
fix(router-core): respect stripped params in retainSearchParams (#7555) | ||
|
|
6b453dfafc |
fix build (#7553) | ||
|
|
3dcc016fc1 |
improve bundle size benchmarks and add initial skill (#7450) | ||
|
|
f013849cc6 |
Merge remote-tracking branch 'origin/main' into sync-main-to-solidl-v2-pre | ||
|
|
0a7e958c80 |
chore: solid router v2 pre main sync (#7517)
* fix: republish react-start-rsc dependency chain * ci: changeset release * chore: sync published start package versions * ci: changeset release * fix publishing * ci: changeset release * fix * ci: apply automated fixes * ci: changeset release * refactor: switch router stores to atom get/set API (#7150) * ci: changeset release * refactor: shorten internal router store names (#7152) * ci: changeset release * chore(types): re-export SearchMiddleware type from react-router (#7087) * fix(start-plugin-core): reuse deduped server function ids across compilers (#7153) * ci: changeset release * fix(router-core): avoid false notFound matches for proxied loader data (#7156) * fix(router-core): avoid false notFound matches for proxied loader data * test(react-start): cover proxied loader data notFound regression * test(react-start): move notFound regression to rsc direct loader * chore: add changeset * ci: changeset release * fix: reduce start SSR manifest asset duplication (#7157) Co-authored-by: schiller-manuel <schiller-manuel@users.noreply.github.com> Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com> * ci: changeset release * docs: fix file extension syntax for prefix/suffix routing examples (#7149) docs: fix file-based routing examples with literal dots * chore: bump to h3 v2 rc.20 (#7140) * ci: changeset release * chore: stabilize tests (#7159) * chore: add vite 8 to peer deps (#7160) Co-authored-by: schiller-manuel <6340397+schiller-manuel@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> * ci: changeset release * chore(start-server-core): remove unnecessary `any` in `getRequestHeaders` (#7164) * fix(router-generator): harden route file transform rewrites (#7167) * fix docs (#7168) * ci: changeset release * fix(router-plugin): update vite-plugin-solid peer dependency to support version 3.0.0-0 (#7170) * ci: changeset release * fix(router-generator): normalize virtual physical subtree paths (#7169) Co-authored-by: schiller-manuel <6340397+schiller-manuel@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> * ci: changeset release * fix: unify virtual module handling for Start Vite plugins (#7178) Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: CodeRabbit <noreply@coderabbit.ai> Co-authored-by: schiller-manuel <schiller-manuel@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com> * ci: changeset release * fix: add react-server server export for react-start (#7180) * ci: changeset release * fix(docs): correct server function name in example (#7173) * fix react server exports for start and react-router (#7183) Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com> * chore: stabilize tests (#7185) * ci: changeset release * fix(router-core): avoid intermediate success state for async notFound (#7184) * ci: changeset release * Add a React Start server-components skill (#7181) Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> * chore: add sharding for playwright tests (#7187) * add sharding * fix dependnancy * fix playwright shard port reuse * full bust * throw more runners into this run * try to throw money at it and see the effect * tune * fix react-router shared route css persistence on nav (#7186) Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * ci: changeset release * chore: stabilize test (#7192) * fix(start): include Vite style.css when cssCodeSplit is disabled (#7191) Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * ci: changeset release * chore: bump solid-js override 1.9.12 (#7202) * chore: bump query override to 5.99.0 (#7203) * fix(solid-router): use keyed Show in Outlet to fix child route rendering with useQuery (#7204) * ci: changeset release * docs(start): fix authenticated routes doc URL (#7214) * chore(deps): vitest 4.1.4 (#7212) * stabilize rsc tests (#7217) * fix(react-router): prevent webpack static analysis of React.use with let binding (#7182) * ci: changeset release * stabilize test (#7220) * chore: unify react-start basic e2e mode projects (#7206) * feat(nx): support rsbuild in Playwright inference (#7221) * test(e2e-rsc): migrate to playwrightModes and dynamic inferred dist (#7222) * fix(nx): align playwright mode build target naming (#7223) * docs(start): add missing space after comma in 'Handling requests with a body' (#7234) * update intent workflow (#7243) * rsbuild plugin (#7228) Co-authored-by: neverland <chenjiahan.jait@bytedance.com> Co-authored-by: Keven Arroyo <dake.3601@gmail.com> * ci: changeset release * fix: Split Start plugin core (#7249) * ci: changeset release * update intent workflow (#7244) * fix: asset sorting (#7251) * ci: changeset release * chore(deps): update Rsbuild related deps to v2.0.1 (#7245) * fix actions again? (#7252) * inline css (#7253) * ci: changeset release * fix: do not import 'react-refresh/runtime' (#7255) Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com> * ci: changeset release * chore(examples): checkin git outdated route-tree files for react and solid examples (#7257) * add new bundlesize measurements for rsbuild (#7256) Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com> * refactor(router-plugin): upgrade unplugin to `v3` (#7258) * refactor(router-plugin): upgrade unplugin to `v3` * refactor(start-client-core): use a more explicit typing to `CustomFetch` type * chore(examples): runtime enforce for needing the `VITE_CONVEX_URL` * ci: changeset release * fix: issue 7240 causing fouc (#7250) * fix: server middleware type in solid-router (#7260) * replace tsx by jiti (#7261) Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com> * ci: changeset release * docs: Fix server function middleware prop (#7262) * feat(query): add support for custom dehydrate and hydrate options in SSR integration (#7246) Co-authored-by: schiller-manuel <6340397+schiller-manuel@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> * ci: changeset release * fix: use loader data goes undefined (#7265) * fix: streaming when using Await component (#7264) * ci: changeset release * fix(solid-start): bundle solid-query packages during SSR to fix duplicate QueryClientContext (#6151) (#7267) * ci: changeset release * fix(solid-router): hydration mismatch for ssr='data-only' with pendingComponent (#7266) * docs(router): fix typo in doc (#7268) * ci: changeset release * fix(router-core): wildcard nodes respect DFS priority like other nodes in route matching (#7273) * ci: changeset release * fix(solid-router): enable route component HMR for Solid * ci: apply automated fixes * Revert "ci: apply automated fixes" This reverts commit |
||
|
|
9cb7a003e6 |
feat(rsbuild): add RSC support (#7509)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> |
||
|
|
90adda91aa |
fix: bundled dev support for vite (#7482) | ||
|
|
e69ffb3734 |
Upgrade to solidjs beta.14 (#7415) | ||
|
|
5fa9e555f3 |
feat: deferred hydration (#7362)
* feat: deferred hydration * fix * tests * solid tests * Changes before error encountered Agent-Logs-Url: https://github.com/TanStack/router/sessions/5263c469-75c2-4470-bd4c-86f9b43964f4 Co-authored-by: schiller-manuel <6340397+schiller-manuel@users.noreply.github.com> * chore: address hydration review follow-ups Agent-Logs-Url: https://github.com/TanStack/router/sessions/16e27113-ff01-4de8-aded-b9be9f6dd4ff Co-authored-by: schiller-manuel <6340397+schiller-manuel@users.noreply.github.com> * fix(start-client-core): correct import order in hydrateStart.ts Co-authored-by: schiller-manuel <schiller-manuel@users.noreply.github.com> * chore: remove tracked nx self-healing artifacts Agent-Logs-Url: https://github.com/TanStack/router/sessions/95750760-1348-437c-8f73-cc45e899003a Co-authored-by: schiller-manuel <6340397+schiller-manuel@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: schiller-manuel <6340397+schiller-manuel@users.noreply.github.com> Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com> Co-authored-by: schiller-manuel <schiller-manuel@users.noreply.github.com> |
||
|
|
a04d5e46a7 |
update bundlesize benchmark (#7356) | ||
|
|
401272e306 |
chore: bump to solid v2 beta 10 (#7284) | ||
|
|
8adbe7415d |
add new bundlesize measurements for rsbuild (#7256)
Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com> |
||
|
|
b3fedfcd4e |
chore: solid v2 beta 8 (#7241) | ||
|
|
2332fb26f9 |
chore: upgrade Solid to v2 beta.7 (#7210) | ||
|
|
b57e898e67 |
chore(deps): vitest 4.1.4 (#7212) |