tanstack/router release-2026-04-18-2008 → release-2026-04-24-0128

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 rsbuild as a build toolchain. When you declare playwrightModes metadata, inferred targets can use either vite or rsbuild, and rsbuild modes build with rsbuild build && tsc --noEmit while 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 onViolation docs, including highlightLine in the snippet docs (#7228).
  • The React Start basic e2e coverage was consolidated into a single project that reuses one Playwright suite across mode combinations. It now defines supported mode and bundler combinations in nx.metadata.playwrightModes, with mode-specific inferred build and test targets and E2E_PORT_KEY wiring (#7206).
  • The React Start RSC e2e setup now uses playwrightModes with dynamic build output directories. Builds write to mode-specific folders via E2E_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