This release focuses on Nx Playwright inference and end-to-end test setup for TanStack Start. It adds rsbuild support, tightens how mode-specific build targets are named, and updates the React Start and RSC e2e projects to use the newer playwrightModes flow.
What's new
- Nx Playwright inference now supports
rsbuildas a build toolchain. When you declareplaywrightModesmetadata, inferred targets can use eitherviteorrsbuild, and rsbuild modes build withrsbuild build && tsc --noEmitwhile keeping the existing Vite behavior unchanged (#7221). - React Start, Solid Start, and Vue Start gained rsbuild support in their plugin entrypoints. The new setup also includes a server-fn HMR page for dev testing, plus updated import-protection guidance and
onViolationdocs, includinghighlightLinein the snippet docs (#7228). - The React Start
basice2e coverage was consolidated into a single project that reuses one Playwright suite across mode combinations. It now defines supported mode and bundler combinations innx.metadata.playwrightModes, with mode-specific inferred build and test targets andE2E_PORT_KEYwiring (#7206). - The React Start RSC e2e setup now uses
playwrightModeswith dynamic build output directories. Builds write to mode-specific folders viaE2E_DIST_DIR, and the start command reads from${E2E_DIST_DIR:-dist}so inferred targets can run against the right output ([#7222](https://github.com/tanstack/router/pull/7222)).
Fixes
- Nx now names inferred Playwright mode build targets in the
build:<toolchain>:<mode>format, keeping the dependent mode and shard test targets aligned with the renamed build target (#7223). - RSC CSS module tests use a more robust assertion mechanism for style validation (#7220).
Other notable changes
- Updated the React Start server-routes guide prose for a missing space after a comma (#7234).
- Updated the intent workflow and related release automation (#7243).
- Various e2e, build, and documentation plumbing changed to support the new inferred mode setup (#7206, #7222, #7228).
Contributors
@beaussan @schiller-manuel @LadyBluenotes @MukundaKatta