react-start-rsc: main's dependency bumps (@vitejs/plugin-rsc ^0.5.39, react-server-dom-rspack ^0.1.1, peer floors
>=0.5.38 / >=0.1.1) with the PR's @rspack/core peer floor (>=2.2.9) and its compiler-test-utils dev dependency.
pnpm-lock.yaml regenerated with pnpm 12.18.0. virtual-modules.ts: the PR already had main's pathsOf().manifest fix.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fix(react-start-rsc): bump RSC bundler deps for React Server Components advisories
Raise @vitejs/plugin-rsc to ^0.5.39 (peer >=0.5.38) and
react-server-dom-rspack to ^0.1.1 (peer >=0.1.1) so both bundled React
Flight runtimes include the fixes for GHSA-xqc2-xf4c-x3h3
(CVE-2026-126187, unauthenticated RCE) and GHSA-h3gv-c5rc-p453 (server
function DoS).
Bump the react/react-dom catalog to ~19.2.9. Stay on 19.2.x because
React 19.3 currently fails the rsc-deferred-hydration e2e suite.
The route generator writes its temporary files to .tanstack/tmp. Each
Start example now ignores the directory on its own, as a project copied
out of the monorepo (whose root ignores **/.tanstack). The five without a
.gitignore get start-basic's entries.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore(pnpm): upgrade to pnpm 12
* ci: use native pnpm 12 bootstrap for compiler jobs
* fix(benchmarks): invoke the Nx CLI directly
* refactor(benchmarks): run Nx through pnpm exec
main c156097786: #8858, #8863, #8805, #8269, #8866, #8867, #8868, #8869,
#8870, #8871, #8876, #8888, #8889, #8890, #8892, Version Packages
(#8854, #8891) and docs.
- #8817's side and deletions throughout (Babel compilers, start-compiler,
add-hmr, start-app.ts, server-fn-id-check.ts, router-utils ast.ts).
The lines main changed for #8863, #8866, #8868, #8269 and #8889/#8892
stay #8817's here: their fixes follow as separate commits after the
tests that reproduce them.
- @rsbuild/core 2.3.1 (#8890) in the catalog, the examples and
benchmarks/compiler-perf; Start's peers keep #8817's ^2.2.13 floor.
Lockfile and e2e/react-start/basic's route tree regenerated.
- Tests: main's start-vite-root, start-rsbuild-root, rsbuild
server-compress and router-plugin production-warnings tests are
replaced by their ports in the harness (start-build-roots,
dev-server-config, production-bundle); main's start-dev-restart test
is ported to the dev-server harness and replaces resolve-entries.test.ts
(internals). #8817's Rsbuild SPA dev case gives way to main's
spa-shell e2e. The route HMR `hot` binding test gains main's unsplit
case (#8870).
- KNOWN-BUGS: main fixed decorators after `export` (#8867) and the
Rsbuild sibling-route manifest (#8780, #8876).
- Changesets: drop what main ships now (custom server-fn ids, the Rsbuild
manifest and SPA/compress items, exsolve, Vue store pre-bundling,
falsy `use` entries, `.ts` route HMR).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Bump the workspace catalog and every e2e, example and benchmark
devDependency to ^2.3.1 so the lockfile resolves a single Rsbuild version.
Published peer ranges are unchanged.
The newer Rspack types allow falsy entries in a rule's `use` array, so the
Rsbuild RSC SWC integration now skips them instead of treating them as
loaders.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
0.5.0 calls createServerFn().inputValidator(), which Start removed in #8694;
0.9.0+ uses .validator(). Adapt the example to the kit's current API, as in
its own example app: @workos-inc/node is now a peer dependency, sign-in goes
through a /api/auth/sign-in route that sets the per-flow PKCE verifier cookie
(0.7.0), and the custom requestMiddleware list restores createCsrfMiddleware.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(router-plugin): throw on autoCodeSplitting with esbuild
The esbuild plugin silently bundled every route without splitting when
`autoCodeSplitting` was enabled. It now throws a clear error, and
`TanStackRouterCodeSplitterEsbuild` always throws. Route generation is
unchanged. Extracted from #8817.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* docs(router-plugin): drop autoCodeSplitting from the esbuild skill example
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
The lockfile resolved ^2.1.0 to Rsbuild 2.1.1 / Rspack 2.1.1, whose
persistent cache changes the dev build hash on a warm restart (fixed in
Rspack 2.1.3), so open tabs full-reload. The e2e apps take catalog:
(2.2.14 / Rspack 2.2.9); the examples, which stay copyable outside the
workspace, take the catalog's range. Peer ranges unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Main ran the plugin-order check in the code-splitter plugin, so only with
`autoCodeSplitting` on; the single compiler plugin ran it in every mode and
failed the router-monorepo example builds (`react()` before
`tanstackRouter()`, splitting off). Without splitting, route HMR works
whatever the order: the HMR block is appended to what the framework plugin
emitted. Verified on a real page (integration/route-hmr-browser-plugin-
order.test.ts): with the framework plugin first and splitting off, an edit
of a named or inline React component shows in place keeping its state, a
Solid edit shows in place, no warning; with splitting on, the dev server
refuses to start. The six example reorders are reverted: main's order builds
again, and the example builds of the PR workflow cover the restored gate.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The branch's compiler plugin checks the plugin order in every mode (main only did with autoCodeSplitting on), so these six library builds failed with "Plugin order error: '@vitejs/plugin-react' is placed before '@tanstack/router-plugin'".
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Brings in Node 26.12.1, Version Packages (#8745), the TanStack Markdown
rendering guide (#8808) and the Nx 24 upgrade (#8807). Conflicts were
limited to a version bump in the Solid Rspack quickstart example and
pnpm-lock.yaml, which was regenerated with pnpm install.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- esbuild: autoCodeSplitting is refused; the esbuild installation docs
and quickstart examples no longer enable it
- automatic code splitting: callbacks reading this stay unsplit; route
CSS moves with the split components only when all are split
- Start: server functions only server code calls are not HTTP-callable
in production (dev answers and warns); generateFunctionId arguments
and the default ids; onViolation timing in builds; route CSS loading
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore(deps): bump srvx to ^1.0.0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore(deps): bump @vitejs/plugin-rsc to ^0.5.37
0.5.37 depends on srvx ^1.0.5, which drops the last srvx 0.11 copy from
the lockfile. It is temporarily excluded from minimumReleaseAge until it
is 24h old.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore: drop minimumReleaseAge exclusion for @vitejs/plugin-rsc
0.5.37 is now older than the 24h minimum release age.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* test(ci): TEMP experiment - rsc e2e on srvx 0.10 (revert before merge)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Revert "test(ci): TEMP experiment - rsc e2e on srvx 0.10 (revert before merge)"
This reverts commit 2c7279a0b9.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix(start): preserve dev SSR CSS order
fixes#7794
* add e2e tests for solid and vue, handle vue style urls
* test(start): cover bundled dev styles and SSR reload lifecycle
* fix(start): use completed bundled graph for dev SSR styles
* fix(start): preserve import reachability across bundled dev variants
* test(start): cover layered inline CSS without build observers
* test(start): wait for bundled HMR route registration
* test(start): await HMR readiness in both Vite modes
* test(start): trace initial bundled HMR update in CI
* test(start): trace native bundled HMR watcher in CI
* test(start): inspect initial native watch registrations
* fix(start): support the latest bundled dev toolchain