Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4043 commits
Select commit Hold shift + click to select a range
0b4a094
chore(deps): vite 8.4.0
Sheraff Nov 28, 2026
06c05d4
fix(start-plugin-core): the dev lookup checks a file against the clie…
Sheraff Nov 28, 2026
974d6ac
test(compiler-test-utils): a loose source map's sources may be typed …
Sheraff Nov 28, 2026
631cd3e
test(router-plugin): memo(Page as any) keeps its state on Vite; the p…
Sheraff Nov 28, 2026
daf8632
test(compiler-test-utils): expectNamesFileOnce skips an undefined sou…
Sheraff Nov 28, 2026
eac15c9
chore: drop the dev lookup changeset; start-server-functions covers t…
Sheraff Nov 28, 2026
e8bbaa8
test(compiler-test-utils): the shared fixtures, and their controls
Sheraff Nov 28, 2026
29cb98b
test(compiler-test-utils): the harness's own tests open through the f…
Sheraff Nov 28, 2026
a95a60a
test(router-generator): the tests on the shared fixtures
Sheraff Nov 28, 2026
ad987d5
test(compiler-test-utils): fixture controls from two U8 probes
Sheraff Nov 28, 2026
d8b99fd
test(compiler-test-utils): fixture openers check the signal once load…
Sheraff Nov 28, 2026
7f29723
test(router-generator): the helpers most tests call as bound fixtures
Sheraff Nov 28, 2026
e3b5724
test(router-generator): bound fixtures in one extend each, for TypeSc…
Sheraff Nov 28, 2026
fd8d8f8
test(compiler-test-utils): the pin guard in the package's own projects
Sheraff Nov 28, 2026
5db702c
test(compiler-test-utils): a failed Vite start leaves no file watcher…
Sheraff Nov 28, 2026
7ceef6c
test: tests run concurrently only where each owns what it touches
Sheraff Nov 27, 2026
403862c
test(router-plugin): once-per-run warning rows open a server of their…
Sheraff Nov 27, 2026
c7600bc
test(router-plugin): split the files serial runs put over budget
Sheraff Nov 27, 2026
764e69a
test(start-plugin-core): tests that only read a finished build run co…
Sheraff Nov 28, 2026
b68a0a4
test(router-plugin): four more HMR files that own their servers run c…
Sheraff Nov 28, 2026
b95e1ba
test(start-plugin-core): files whose sibling builds overlap run seria…
Sheraff Nov 28, 2026
7d85613
test(router-plugin): a renamed serial HMR file fails the config, like…
Sheraff Nov 28, 2026
e20623a
test(react-start-rsc): openers as bound fixtures; histories as one te…
Sheraff Nov 28, 2026
1a54cc7
test(react-start-rsc): the handoff rows compare every allowImport cal…
Sheraff Nov 28, 2026
228282a
test(react-start-rsc): the dev leak scan reads what the browser recei…
Sheraff Nov 28, 2026
729b037
test(e2e-utils): the same-path row of hmrFileEditor runs on the defau…
Sheraff Nov 28, 2026
31d25dc
test(react-start-rsc): the files whose one build is an awaited before…
Sheraff Nov 28, 2026
9ef2ad8
test(react-start-rsc): a timeout leaves no restarted server, no late …
Sheraff Nov 28, 2026
a93e69b
test(react-start-rsc): soft only at a history's named checkpoints; wa…
Sheraff Nov 28, 2026
81785bb
test(react-start-rsc): Decision B: serial files call plain openers, t…
Sheraff Nov 28, 2026
2e32cda
test(react-start-rsc): serial openers register at the call; ESLint ke…
Sheraff Nov 28, 2026
f6cbbd7
test(react-start-rsc): a reach history stops when its last click outl…
Sheraff Nov 28, 2026
910fb5a
test(router-plugin): openers close when the test ends, without the cl…
Sheraff Nov 28, 2026
1352b27
test(router-plugin): serial openers register at the call; the lint ru…
Sheraff Nov 28, 2026
b8350c6
test(router-plugin): a route starts without an earlier test's storage…
Sheraff Nov 28, 2026
83b60f7
test(router-plugin): closes registered before the start; a run on a p…
Sheraff Nov 28, 2026
2dfaec5
test(router-plugin): one page per file again, a second run at once re…
Sheraff Nov 28, 2026
7bc3fac
test(router-plugin): a failed webpack start removes its app; closeAtE…
Sheraff Nov 28, 2026
9e0d30d
test(router-plugin): a route's first run clears the origin before it …
Sheraff Nov 28, 2026
1dcb4ed
test(start-plugin-core): openers close with the current test, shared …
Sheraff Nov 28, 2026
a866bf0
test(start-plugin-core): a build's close waits for the build it closes
Sheraff Nov 28, 2026
caa80e7
test(start-plugin-core): concurrent files cannot import what closes w…
Sheraff Nov 28, 2026
8845601
test(start-plugin-core): openers register their close when called, be…
Sheraff Nov 28, 2026
cffe47a
test(start-plugin-core): the concurrent-files rule follows helpers, s…
Sheraff Nov 28, 2026
6f48053
test(start-plugin-core): closes registered before the start; resource…
Sheraff Nov 28, 2026
d2510d3
test(start-plugin-core): the 60 s timeout on the hooks that start hos…
Sheraff Nov 28, 2026
f1dc72a
test(start-plugin-core): no concurrent rows in any test file; concurr…
Sheraff Nov 28, 2026
463fbf3
test(start-plugin-core): file resources close through an afterAll reg…
Sheraff Nov 28, 2026
366c569
test(start-plugin-core): the serial rule by module; no concurrent row…
Sheraff Nov 28, 2026
21cd46f
test(start-plugin-core): one test at a time in every serial project, …
Sheraff Nov 28, 2026
8f39049
test(e2e): the import-protection setups start the dev server itself a…
Sheraff Nov 28, 2026
e1d7c10
test(compiler-test-utils): one closeAtEnd for every package's serial …
Sheraff Nov 28, 2026
8bc8ac3
test(compiler-test-utils): no test-scope or registerCleanup; serial c…
Sheraff Nov 28, 2026
c716842
test(router-plugin): on Vite, a split component compiled before its r…
Sheraff Nov 28, 2026
1ce998c
test(compiler-test-utils): closeAtEnd closes with the resource's clos…
Sheraff Nov 28, 2026
cd4273c
test(router-plugin): Vite servers and watch builds the tests start re…
Sheraff Nov 28, 2026
c4e23ed
test(router-plugin): the #9023 test runs Vitest twice on a warm fsMod…
Sheraff Nov 28, 2026
7ef0261
test: the remaining servers, watchers and directories tests open regi…
Sheraff Nov 28, 2026
55f0b59
test(router-generator): a test's tmpDir and permission change registe…
Sheraff Nov 28, 2026
b55ac54
test(compiler-test-utils): openPage's load fails at 20 s, inside the …
Sheraff Nov 28, 2026
15fd046
test: per-test timeouts move into the projects' config; hooks keep th…
Sheraff Nov 28, 2026
788e4cf
test: why each kept timeout is longer; compile deadlines named as such
Sheraff Nov 28, 2026
6d891a2
test(compiler-test-utils): NODE_ENV and printed output through Vitest…
Sheraff Nov 28, 2026
da51a20
test(compiler-test-utils): the Rsbuild host's console warning read wi…
Sheraff Nov 28, 2026
fc2cbed
test(start-plugin-core): the unreferenced server fn's Rsbuild dev war…
Sheraff Nov 28, 2026
c91130e
test(compiler-test-utils): captures are listeners on one spy set; Vit…
Sheraff Nov 28, 2026
6d7d703
test: HMR pages keep Rsbuild's logger warnings; build openers out of …
Sheraff Nov 28, 2026
525b699
test: NODE_ENV by a resource's lifetime, restores only of what is sti…
Sheraff Nov 28, 2026
e04d9e0
test(compiler-test-utils): a capture lasts as long as what opened it;…
Sheraff Nov 28, 2026
72cd765
test: chunk 5's rewritten tests take their timeouts from the projects…
Sheraff Nov 28, 2026
efc9a30
test(compiler-test-utils): what a test stubs and spies on ends with i…
Sheraff Nov 28, 2026
5e7a541
test: waits with the tools: outcome.ts goes, SettleTimeout moves to r…
Sheraff Nov 28, 2026
051d278
test(start-plugin-core): flaky waits on what is observed: a fixture p…
Sheraff Nov 28, 2026
99e9b69
test(router-plugin): an edit settles twice in a row after it shows (a…
Sheraff Nov 28, 2026
97fece6
test: one import per module; the compile-cases flag typed as written …
Sheraff Nov 28, 2026
3a7b665
test(compiler-test-utils): a page run whose page reloads while it eva…
Sheraff Nov 28, 2026
64ba9da
test(compiler-test-utils): a page run runs again only in a reload of …
Sheraff Nov 28, 2026
979150b
test: a pin's steps before its outcome fail as no assertion; a page r…
Sheraff Nov 28, 2026
b1f0fa0
test: pins settle without asserting; a page run waits for the reload …
Sheraff Nov 28, 2026
4181503
test(compiler-test-utils): chunk 6's new browser controls register th…
Sheraff Nov 28, 2026
3cdb548
test: chunk 6's rewritten tests take their timeouts from the projects…
Sheraff Nov 28, 2026
e8f7411
test: re-check fixes on a2cdecaeb3: pins settle within the edit's bou…
Sheraff Nov 28, 2026
76c6c76
test(compiler-test-utils): chunk 6's socket control opens its page th…
Sheraff Nov 28, 2026
140baea
test(compiler-test-utils): chunk 6's follow-up controls take their ti…
Sheraff Nov 28, 2026
c1bf325
test(router-plugin): the Rsbuild helper-switch pin's edit is its outc…
Sheraff Nov 28, 2026
7c90458
Merge origin/main into t3/yuku-compiler-rewrite
Sheraff Nov 28, 2026
596f069
chore: one jsdom version in the workspace (29.1.1)
Sheraff Nov 28, 2026
5cd95f3
test: chunk 4 without its defences against constructed scenarios
Sheraff Nov 28, 2026
f861562
test(compiler-test-utils): chunk 4 leftovers without openPage's 20 s …
Sheraff Nov 28, 2026
88a3dd3
test: chunk 5 without its defences against builds that outlive their …
Sheraff Nov 28, 2026
cd62fe2
test(compiler-test-utils): chunk 6's page run waits for a kept reload…
Sheraff Nov 28, 2026
020e37f
test: no tests of the test infrastructure
Sheraff Nov 28, 2026
5819ece
test(router-plugin): a route renders until the router reports it rend…
Sheraff Nov 28, 2026
26c94a0
test(router-plugin): the webpack page waits on webpack-dev-middleware…
Sheraff Nov 28, 2026
f3559d5
test(router-plugin): why two settle waits stay (generator-dev-app's w…
Sheraff Nov 28, 2026
7e98cdb
test(compiler-test-utils): settlePage reads the page and what the ser…
Sheraff Nov 28, 2026
c5920c9
test(router-plugin): a webpack edit fails on a compile error that com…
Sheraff Nov 28, 2026
f4f365f
test(router-plugin): the replaced generator's absence window is a pla…
Sheraff Nov 28, 2026
94c70f6
test(compiler-test-utils): the dev server's and the channel's Vite lo…
Sheraff Nov 28, 2026
982b527
test(compiler-test-utils): closing a Vite server waits for its optimi…
Sheraff Nov 28, 2026
14445ad
test(compiler-test-utils): the Rsbuild watcher-scan wait is vi.waitFo…
Sheraff Nov 28, 2026
f09b4db
test(router-plugin): a webpack edit's compile error ends its waits at…
Sheraff Nov 28, 2026
10cc2c5
test(router-plugin): route-app's renderers read the HTML once the fra…
Sheraff Nov 28, 2026
983452f
test(router-plugin): the webpack page reads #app without waiting for …
Sheraff Nov 28, 2026
5795dc0
test: strip what only reviewer-built scenarios reached, and the lane'…
Sheraff Nov 28, 2026
b4966c6
test(start-plugin-core): chunk 7, minimal: two product-bug pins, the …
Sheraff Nov 28, 2026
8d9de3e
test(router-utils, router-generator): less test code, every case kept…
Sheraff Nov 28, 2026
b2ef91e
test(compiler-test-utils, react-start-rsc): delete dead harness code,…
Sheraff Nov 28, 2026
b2d564d
test(start-plugin-core): less dev, HMR and import-protection test code
Sheraff Nov 28, 2026
c7b41d1
test(router-plugin): shared helpers say what they do, without history
Sheraff Nov 28, 2026
9bf66e3
test(router-plugin): unit tier: comments say the behaviour; no review…
Sheraff Nov 28, 2026
1472b1d
test(router-plugin): known-bugs page tests: one-line main-bug comment…
Sheraff Nov 28, 2026
58bddae
test(router-plugin): integration/pages code-splitter and route-hmr: l…
Sheraff Nov 28, 2026
655c84d
test(router-plugin): route HMR tests: headers say the behaviour; hist…
Sheraff Nov 28, 2026
f2a6b2b
test(router-plugin): integration code-splitter files: less comment an…
Sheraff Nov 28, 2026
c2eb3b7
test(router-plugin): integration build/dev/generator tests: shorter h…
Sheraff Nov 28, 2026
800e525
test(router-plugin): folded tables render the titles they had
Sheraff Nov 28, 2026
478fe54
test(start-plugin-core): unit tier: drop review history from comments…
Sheraff Nov 28, 2026
bd52aec
test(start-plugin-core): build tests import their app shells instead …
Sheraff Nov 28, 2026
49a29f0
test(start-plugin-core): Rsbuild builder-shape refusals: one failing …
Sheraff Nov 28, 2026
e0afe5a
test(start-plugin-core): hydrate page tests: drop review history, fol…
Sheraff Nov 28, 2026
4e45f44
test(start-plugin-core): build integration tests and shared helpers: …
Sheraff Nov 28, 2026
1568faf
test(start-plugin-core): Rsbuild build tests take their router from r…
Sheraff Nov 29, 2026
158c4af
test(compiler-test-utils): dev server `url` reads the bound address a…
Sheraff Nov 29, 2026
687006c
test(start-plugin-core): unit tier: comments to one header, shared ro…
Sheraff Nov 29, 2026
6a1d132
test(compiler-test-utils): drop the budget reporter, pins setup, stal…
Sheraff Nov 29, 2026
552ec5f
test(compiler-test-utils): shrink harness essays to one header each
Sheraff Nov 29, 2026
75d1d48
test(start-plugin-core): delete perf guards a compiler-perf scenario …
Sheraff Nov 29, 2026
d1e1a3a
fix(router-generator): keep a constructor import a type still references
Sheraff Nov 29, 2026
97884bd
fix(router-generator): duplicate route file check keys Vue components…
Sheraff Nov 29, 2026
f811809
fix(router-generator): keep the root route of a prefixed physical() m…
Sheraff Nov 29, 2026
2678522
refactor(router-generator): find a route's parent in the attached rou…
Sheraff Nov 29, 2026
0416d94
chore: changeset for the router-generator system review fixes
Sheraff Nov 29, 2026
ecc68f0
test(start-plugin-core): top-level integration tests: headers say the…
Sheraff Nov 29, 2026
eaf79a3
test(start-plugin-core): top-level integration apps import their rout…
Sheraff Nov 29, 2026
3095a39
test(start-plugin-core): fold the root and on-page route syntax-error…
Sheraff Nov 29, 2026
7bc7798
test(start-plugin-core): import-protection integration tests: short h…
Sheraff Nov 29, 2026
32c03d3
test(start-plugin-core): Rsbuild integration tests: short headers, sh…
Sheraff Nov 29, 2026
1280879
test(start-plugin-core): hydrate page tests: short headers, row templ…
Sheraff Nov 29, 2026
303678e
test(router-utils): comments to a behaviour header and the lines the …
Sheraff Nov 29, 2026
33f74d4
test(router-generator): comments to a behaviour header; import the ro…
Sheraff Nov 29, 2026
50c04e2
test(router-plugin): import app shells instead of copying them; copie…
Sheraff Nov 29, 2026
9814b86
test(react-start-rsc): comments to a behaviour header; the ClientBox …
Sheraff Nov 29, 2026
919f4f2
test(router-plugin): type the bare-import rows; import order
Sheraff Nov 29, 2026
ea1309b
test(router-plugin): solid identity edits fail with their own error; …
Sheraff Nov 29, 2026
f28530f
test(router-utils): delete internal cases a behavioural test covers
Sheraff Nov 29, 2026
e75e334
test(start-plugin-core): drop the nondeterministic error-recovery pin…
Sheraff Nov 29, 2026
38041c6
fix(router-generator): an added import goes below a comment trailing …
Sheraff Nov 29, 2026
4ed3c39
fix(start-plugin-core): prerender discovery keeps a route whose compo…
Sheraff Nov 29, 2026
4249064
chore: changeset lines for the directive and prerender fixes
Sheraff Nov 29, 2026
00c711b
fix(react-start-rsc): a renderable payload's `data` slot renders
Sheraff Nov 29, 2026
11ab476
refactor(react-start-rsc): delete the unreachable rsc-scan-virtual-fa…
Sheraff Nov 29, 2026
6069e01
test(react-start-rsc): pin a handler's development-only import breaki…
Sheraff Nov 29, 2026
65bc105
fix(router-plugin): webpack/Rspack options callback takes the default…
Sheraff Nov 29, 2026
8b14b86
fix(router-plugin): read a parenthesized codeSplitGroupings group, as…
Sheraff Nov 29, 2026
bdb319a
refactor(router-plugin): route HMR takes the split groups the splitte…
Sheraff Nov 29, 2026
891ef6e
chore: changeset for the router plugin fixes
Sheraff Nov 29, 2026
fb95628
fix(router-plugin): an option the route already wraps in lazyRouteCom…
Sheraff Nov 29, 2026
8435a4e
fix(router-plugin): a route server option's computed key no longer hi…
Sheraff Nov 29, 2026
631c69c
fix(router-plugin): webpack/Rspack resolve config and routes against …
Sheraff Nov 29, 2026
5f86999
fix(router-plugin): webpack/Rspack persistent cache: a restored modul…
Sheraff Nov 29, 2026
15f091c
docs(compiler-test-utils): KNOWN-BUGS: a former route's stale split i…
Sheraff Nov 29, 2026
3e5020e
fix(router-utils): a tier-0 planner's plan hook runs when it is the o…
Sheraff Nov 29, 2026
58c873b
fix(router-utils): follow an anonymous default-exported function
Sheraff Nov 29, 2026
7e09236
fix(router-utils): a file created beside a dotted folder takes its re…
Sheraff Nov 29, 2026
770a7c9
fix(router-utils): webpack dev map files of a scoped package keep the…
Sheraff Nov 29, 2026
0de96ae
refactor(router-utils): reference classification reuses the expressio…
Sheraff Nov 29, 2026
533cd10
refactor(router-utils): placement reads cluster edges from the read i…
Sheraff Nov 29, 2026
d66dcb8
fix(router-utils): refuse server code passed by a loop-head or catch …
Sheraff Nov 29, 2026
3171380
fix(router-utils): reads no identifier spells are not rewritten
Sheraff Nov 29, 2026
64d1ee3
refactor(router-utils): builder values follow the recognizer table's …
Sheraff Nov 29, 2026
4641083
fix(router-utils): emitted maps keep a `#` of a file name; Rsbuild sc…
Sheraff Nov 29, 2026
7d6f02d
chore: changeset for the router-utils system review fixes
Sheraff Nov 29, 2026
d5d616f
fix(router-utils): raw facts read CommonJS `.js` files as CommonJS; o…
Sheraff Nov 29, 2026
ff24c7e
fix(router-utils): `export * as ns` re-exports read the whole target …
Sheraff Nov 29, 2026
1779886
refactor(router-utils): expression boundaries group with parentheses …
Sheraff Nov 29, 2026
23c456c
fix(router-plugin): a method that stays reads a shared name only when…
Sheraff Nov 29, 2026
bd1cf39
fix(router-plugin, start-plugin-core): pass-through loaders forward t…
Sheraff Nov 29, 2026
964396c
fix(start-plugin-core): a Vite build withdraws its client record only…
Sheraff Nov 29, 2026
ba8df5e
fix(start-plugin-core): Rsbuild's late file-type check reads the modu…
Sheraff Nov 29, 2026
345300e
fix(start-plugin-core): the Vite client capture records the single st…
Sheraff Nov 29, 2026
5926b3b
refactor(start-plugin-core): one pass collects a chunk's route files …
Sheraff Nov 29, 2026
6b867cd
docs(compiler-test-utils): KNOWN-BUGS: a Vite in-memory client build …
Sheraff Nov 29, 2026
f329102
fix(start-plugin-core): Rsbuild RSC keeps a user's SWC rule conditions
Sheraff Nov 29, 2026
cd03b8c
fix(start-plugin-core): Rsbuild mocks a denied non-code file whatever…
Sheraff Nov 29, 2026
8d7c9c2
fix(start-plugin-core): an Rsbuild server build without the client bu…
Sheraff Nov 29, 2026
c0b514a
refactor(start-plugin-core): delete the Rsbuild RSC manifest placehol…
Sheraff Nov 29, 2026
faba822
fix(start-plugin-core): a parenthesized `.validator` method no longer…
Sheraff Nov 29, 2026
a52a09f
fix(start-plugin-core): `<Start . Hydrate>` with whitespace around th…
Sheraff Nov 29, 2026
5072b1c
fix(start-plugin-core): a `<ClientOnly>` `children` prop leaves serve…
Sheraff Nov 29, 2026
1e6a7ad
fix(start-plugin-core): a mock keeps an export named `"*"`
Sheraff Nov 29, 2026
c7bce33
fix(start-plugin-core): a pattern-import report names only a call tha…
Sheraff Nov 29, 2026
9bf92e3
fix(start-plugin-core): an unmapped generated import has no reported …
Sheraff Nov 29, 2026
6629d20
docs(compiler-test-utils): KNOWN-BUGS: SSR follows an isomorphic fn's…
Sheraff Nov 29, 2026
b81acbc
docs(compiler-test-utils): KNOWN-BUGS: split default class in `satisf…
Sheraff Nov 29, 2026
261de03
docs(compiler-test-utils): KNOWN-BUGS: map-only loader edit keeps a s…
Sheraff Nov 29, 2026
5c1b680
docs(compiler-test-utils): KNOWN-BUGS: webpack cache ignores a change…
Sheraff Nov 29, 2026
d6d105b
chore: changeset for the `<ClientOnly>` `children` prop fix (u5#2)
Sheraff Nov 29, 2026
d9ecec2
fix(start-plugin-core): an env-only factory selected by a call keeps …
Sheraff Nov 29, 2026
9b94eff
fix(start-plugin-core): Vite registers no server fns of a module the …
Sheraff Nov 29, 2026
a3ee014
fix(start-plugin-core): a `\0` virtual module's namespace escape is r…
Sheraff Nov 29, 2026
d41479e
docs(compiler-test-utils): KNOWN-BUGS: isomorphic fn continued from a…
Sheraff Nov 29, 2026
66f0908
fix(start-plugin-core): RSC CSS reaches a helper Start recognizes by …
Sheraff Nov 29, 2026
1e92339
fix(start-plugin-core): pattern-import reports read the importer's pa…
Sheraff Nov 29, 2026
5aa05c3
fix(start-plugin-core): an import of type names only keeps no denied …
Sheraff Nov 29, 2026
5d84d88
fix(start-plugin-core): no file import protection denies is in a Vite…
Sheraff Nov 29, 2026
dca1150
Merge remote-tracking branch 'origin/main' into compiler-rewrite/yuku
Sheraff Nov 29, 2026
653f486
chore: move the jsdom catalog to 31.0.1
Sheraff Nov 29, 2026
620ecab
fix(start-plugin-core): an isomorphic fn continued from a namespace m…
Sheraff Nov 29, 2026
27b4890
test(router-plugin): test apps resolve their own tsconfig
Sheraff Nov 29, 2026
68f6180
test(router-plugin): dev generator apps pass the virtual route config…
Sheraff Nov 29, 2026
af0b121
fix(solid-start): write the default client entry without JSX
Sheraff Nov 29, 2026
a95403d
fix(router-core): the tooling entry no longer enters the router's imp…
Sheraff Nov 29, 2026
3278cf9
fix(router-plugin): leave route modules to Start's compiler when both…
Sheraff Nov 29, 2026
84a2416
fix(router-plugin): tanstackRouter() next to tanstackStart() fails wi…
Sheraff Nov 29, 2026
05777c9
fix(start-plugin-core): Rsbuild reads a query-versioned chunk's type …
Sheraff Nov 29, 2026
9fd3f00
fix(router-utils): a templated devtoolNamespace leaves the route text…
Sheraff Nov 29, 2026
055a75d
refactor(start-plugin-core): one manifest metadata collector for both…
Sheraff Nov 29, 2026
a4245b2
refactor(start-plugin-core): one TSS_* defines builder for both hosts
Sheraff Nov 29, 2026
b10e123
fix(start-plugin-core): resolve a relative Vite root and an absolute …
Sheraff Nov 29, 2026
f046ea6
fix(router-plugin): resolve an options callback on Vite and esbuild too
Sheraff Nov 29, 2026
0a7804c
fix(start-plugin-core): Rsbuild honours staticNodeEnv and resolves ou…
Sheraff Nov 29, 2026
d8bc984
fix(start-plugin-core): keep tsr.config.json options and build with d…
Sheraff Nov 29, 2026
aed3abe
fix(router-plugin): esbuild reads the app from absWorkingDir
Sheraff Nov 29, 2026
738541e
fix(start-plugin-core): the import-protection report reads the compil…
Sheraff Nov 29, 2026
7b98e1a
refactor(router-utils): one property key name for the compiler and th…
Sheraff Nov 29, 2026
815e3fe
refactor(router-utils): one static member name
Sheraff Nov 29, 2026
5b9c069
refactor(router-utils): one climb over expression wrappers
Sheraff Nov 29, 2026
d7eda44
refactor(start-plugin-core): the import-protection report reads the r…
Sheraff Nov 29, 2026
8a05279
refactor(router-generator): read a route file in the compiler's language
Sheraff Nov 29, 2026
4a06b99
fix(router-utils): a hash-templated devtoolNamespace leaves the route…
Sheraff Nov 29, 2026
e546a38
fix(start-plugin-core): keep routesDirectory and generatedRouteTree o…
Sheraff Nov 29, 2026
2d30432
fix(start-plugin-core): the import-protection report reads a <ClientO…
Sheraff Nov 29, 2026
f517e21
refactor(router-utils): values read a member's name through staticMem…
Sheraff Nov 29, 2026
6863c2b
refactor(router-utils): a compile reads the parts of another file
Sheraff Nov 29, 2026
055ff84
feat(router-utils): a TSR_COMPILER_NO_CACHE knob for the resolution memo
Sheraff Nov 29, 2026
a4eac00
refactor(router-utils): counters replace the stats registry of cache …
Sheraff Nov 29, 2026
da8fdfb
refactor(router-utils): no resolution memo
Sheraff Nov 29, 2026
b42c590
refactor(router-utils): emission separates statements by F1's seams, …
Sheraff Nov 29, 2026
55c7a35
refactor(router-utils): F1 writes a `0;` line, and late JSX pragmas g…
Sheraff Nov 29, 2026
5104218
fix(router-utils): the env module's text after a generated piece star…
Sheraff Nov 29, 2026
592c08e
fix(router-utils): an item starts at the decorators before `export`
Sheraff Nov 29, 2026
ca50c60
fix(router-utils): a comment that leads its line is the next statement's
Sheraff Nov 29, 2026
90bfaa6
refactor(router-utils): F4 and F5's fixed forms replace expression bo…
Sheraff Nov 30, 2026
e192280
test(start-plugin-core): the bare `new` env row reads the unminified …
Sheraff Nov 30, 2026
ced1ef6
test(start-plugin-core): React Refresh keeps the state of route and e…
Sheraff Nov 30, 2026
8b23de0
docs(router-utils): the README states F4, F5 and F7 in place of expre…
Sheraff Nov 30, 2026
3c6912d
refactor(router-utils): planners edit through four typed edits; inser…
Sheraff Nov 30, 2026
24266bb
refactor(router-utils): removal leaves lists by F2, one rule for decl…
Sheraff Nov 30, 2026
b2bbb23
refactor(router-utils): the closure carries three causes; `USED` was …
Sheraff Nov 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 9 additions & 0 deletions .changeset/bundler-peer-floors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'@tanstack/start-plugin-core': minor
'@tanstack/react-start': minor
'@tanstack/solid-start': minor
'@tanstack/vue-start': minor
'@tanstack/react-start-rsc': minor
---

Raise Start's bundler peer ranges to the lowest versions Start's test suites pass on: `vite` `>=8.1.0` (8.0.x fails Start's dev and build suites), `@rsbuild/core` `^2.2.13`, the first Rsbuild that requires Rspack 2.2.9, and `@rspack/core` `>=2.2.9` for `@tanstack/react-start-rsc`. Earlier Rspack 2 releases leave dev builds stuck after a rebuild, fail RSC builds, and can report a stale client build after a server component's CSS edit, so the page keeps the old styles (web-infra-dev/rspack#15865). The router plugin's ranges are unchanged: it still supports Rsbuild 1.
18 changes: 18 additions & 0 deletions .changeset/chokidar-6-node-22-22.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
'@tanstack/router-cli': minor
'@tanstack/router-generator': minor
'@tanstack/router-plugin': minor
'@tanstack/router-vite-plugin': minor
'@tanstack/start-plugin-core': minor
'@tanstack/react-start': minor
'@tanstack/react-start-rsc': minor
'@tanstack/solid-start': minor
'@tanstack/vue-start': minor
---

Require Node `>=22.22.0`. Before this, `@tanstack/router-cli`, `@tanstack/router-generator` and `@tanstack/router-plugin` required `^20.19.0 || >=22.12.0`, `@tanstack/router-vite-plugin` `>=20.19`, and the Start packages `>=22.12.0`. The route generator and the CLI now depend on chokidar 6, which requires Node 22.22. Node versions below 22.22.0 are no longer supported, and Yarn 1 refuses to install these packages on them.

chokidar 6 fixes two cases where the route generator's file watcher could miss changes. That watcher runs under `tsr watch`, Rspack and webpack watch mode, Rsbuild dev and `vite build --watch`, but not Vite dev. Both were tested on Linux:

- A route file saved again within 50 ms of the previous save, for example by a format-on-save or a script, now reaches the route tree. Before, the route could keep the first save's content. A route file that is a symlink can still miss the second save.
- A routes directory that is deleted and created again, for example by a branch switch, is watched again. Before, route changes could stop reaching the route tree until the watcher was restarted.
5 changes: 5 additions & 0 deletions .changeset/client-only-children-prop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@tanstack/start-plugin-core': patch
---

`<ClientOnly>` with an explicit `children` prop (`<ClientOnly fallback={…} children={…} />`) now renders only its fallback on the server, like children written between the tags: the server no longer runs or imports the children.
13 changes: 13 additions & 0 deletions .changeset/compiler-performance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
'@tanstack/router-plugin': patch
'@tanstack/start-plugin-core': patch
'@tanstack/router-generator': patch
'@tanstack/router-utils': patch
---

Faster builds and dev servers. On 333- and 1,485-route React and Solid apps, builds are 2.2–4.8× faster and dev cold start is 2.2–4.9× faster; Start builds end with 3–11× less heap.

- Production builds release an environment's compiler state as soon as that environment is built, so a build of several environments (client, SSR, then a server or RSC environment) no longer grows its heap with each one (#8794).
- A long-running dev server or `tsr watch` keeps a digest of each route file instead of its text, and an edit that leaves the route tree unchanged no longer goes over every route file.
- On Vite, dependency modules (`node_modules`) no longer pass through the router plugin's transform: Vite and Rolldown leave them out natively, as the webpack and Rspack loader rule does. A build no longer hands every dependency's source to the plugin to leave it unchanged (LibrePhotos: 9,763 of 10,950 calls, for 107 route files), which lowers build peak memory.
- On Rsbuild, Start's client manifest (route preloads and stylesheets), computed after every client compilation, no longer reads the module graph of the entry chunk and stops reading a chunk's modules once it has found every chunk it can import: 3–4× faster per compilation. In dev, an edit shows 37–40% sooner on a 1,485-route app (215–268 ms) and 27–35% sooner on a 338-route app.
23 changes: 23 additions & 0 deletions .changeset/compiler-yuku.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
'@tanstack/router-utils': minor
'@tanstack/router-generator': minor
'@tanstack/router-plugin': minor
'@tanstack/router-core': minor
'@tanstack/start-plugin-core': minor
'@tanstack/react-start-rsc': minor
---

The build-time compilers run on one compiler core built on [Yuku](https://github.com/yuku-toolchain/yuku) instead of Babel: route code splitting and route HMR in the router plugin, Start's server functions, environment separation, `<Hydrate>`, RSC CSS and import protection, and the route generator. Each module is compiled once per environment from its original source, with exact source maps.

**Dependencies.** `@babel/*`, `babel-dead-code-elimination`, `ansis` and `diff` are no longer dependencies, and the router plugin no longer depends on `chokidar` directly (the route generator brings it). `@babel/core` no longer comes with the router plugin or Start: if your app runs Babel itself (for example for the React Compiler), add `@babel/core` to your own `devDependencies`.

**New entries:** `@tanstack/router-utils/compiler` (the compiler core), `@tanstack/router-core/tooling` (the router-core helpers the plugins load instead of the router runtime) and `@tanstack/router-plugin/planners` (the route planners TanStack Start uses).

**Removed:**

- `@tanstack/router-utils`: the Babel helpers (`parseAst`, `generateFromAst`, `deadCodeElimination`, `findReferencedIdentifiers`, `stripTypeExports` and the binding helpers of `compiler-helpers`), `logDiff`, `createIdentifier` and `decodeIdentifier`.
- Start's experimental, Babel-typed `compilerTransforms` and `serverFnProviderModuleDirectives` options and the `StartCompilerPlugin`, `StartCompilerImportTransform`, `StartCompilerTransformContext` and `StartCompilerTransformCandidate` types. RSC integrations pass `rsc: { loadCssExpression, providerDirective }` instead.
- `@tanstack/react-start-rsc/plugin/rscCssTransform`: RSC CSS injection runs in Start's compiler.
- `ssrIsProvider` of `TanStackStartCoreOptions`: the Vite plugin derives it from `providerEnvironmentName`, the Rsbuild plugin from `rsc`.

**Router plugin context:** a context passed to the router plugins must come from `createRouterPluginContext()` (`@tanstack/router-plugin/context`), imported in the same module format (ESM or CJS) as the plugins. A hand-built `{ routesByFile: new Map() }`, or a context from the other module format, throws when the plugin is created, with an error naming the factory.
13 changes: 13 additions & 0 deletions .changeset/dead-code-removal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
'@tanstack/router-utils': minor
'@tanstack/start-plugin-core': patch
'@tanstack/router-plugin': patch
---

Dead-code removal is one rule at every level of a module: what only removed code used (a server fn handler on the client, a `createServerOnlyFn` body, a split route option, a type the client erases) leaves with it, from a function's locals, a destructuring pattern, a namespace's members and the top level alike. Code that stays keeps its behaviour, but for the changes listed last.

- **Server code no longer reaches the client through:** a parameter default only server code reads (`make(db = getServerDb())` becomes `make(db = void 0)` on the client; literal defaults stay, `length` doesn't change); a sibling of a destructuring pattern nobody reads (`const { unused, secret } = getServerObj()`); a pattern default beside a rest element; a type alias, interface, namespace of types or `declare` that only removed code names, also through `import A = N.M` (a chain of aliases of any length), `export type { X }` and a reopened namespace's other block.
- **Registrations no longer disappear:** a value and a type of one name are two uses (`const Shape = register(); type Shape = …`), so a type only removed code names doesn't take a value of its name with it; a namespace of types beside a class, `enum` or `const` doesn't take the value either.
- **Code that throws keeps throwing:** a declaration that reads itself while it is initialised (`const { a = a } = o`, `const x = (() => x)()`) stays.
- **A type never keeps a value:** a declaration only types name (an annotation or a cast in code that runs, a type alias, `typeof`, an overload signature, an abstract or `declare` member) leaves with its initializer, client and server alike, so a call that only set it up no longer runs, and a class only types name is removed with its static blocks. An import only the types of code that stays name, directly, through type aliases or through a `declare`, is the host's (`verbatimModuleSyntax` keeps it), while an exported type (`export type`, `export interface`, `export type { X }`) still takes what only it names; a factory a classic JSX pragma names (`@jsx h`, `@jsxFrag`) is a read where JSX is; a module with decorators, or with a `React` of its own, keeps what types name, as before; a `declare` or a type alias nobody names or exports keeps what it names.
- **What changes on the client, by design:** a removed definition takes its own evaluation with it (a getter of a removed name isn't read, a removed default's call doesn't run); a pattern that stays drops its dead positions, so a `null` there no longer throws on the client; a name read only through a direct `eval` can be removed. The limits and their workarounds are listed in the compiler's known bugs.
11 changes: 11 additions & 0 deletions .changeset/dev-servers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
'@tanstack/router-utils': patch
'@tanstack/router-plugin': patch
'@tanstack/start-plugin-core': patch
---

Dev servers:

- Vite: a module that imports a file that doesn't exist yet loads it once the file is created; it kept failing until a restart.
- A Vite dev server without HMR (`server.hmr: false`, as Vitest runs one) tells Start's compiler about file changes: a module whose import became (or stopped being) a server function builder kept its old compile, with the handler's code in the client module, until a restart.
- Vite: deleting a nested `package.json` whose `imports` or `exports` a module resolved through rebuilds that module in the client and in SSR. When the parent package's mapping pointed the import at a server function builder (or away from one), the old compile stayed until a restart.
5 changes: 5 additions & 0 deletions .changeset/devtool-namespace-hash-template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@tanstack/router-utils': patch
---

webpack and Rspack development builds whose `output.devtoolNamespace` holds a hash template (`app-[fullhash:8]`) keep the route file's text in the maps of split routes.
28 changes: 28 additions & 0 deletions .changeset/diagnostics.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
'@tanstack/router-utils': patch
'@tanstack/router-plugin': patch
'@tanstack/router-generator': patch
'@tanstack/start-plugin-core': patch
'@tanstack/react-start-rsc': patch
---

Compiler and route generator messages:

- Files are named relative to the project root, with one position (line and column, from 1) and a `[tanstack-router]` or `[tanstack-start]` prefix, on every host. On Rsbuild, Rspack and webpack the position is the compilation's own location, so the terminal and the error overlay point at it (`File: ./src/fns.ts:3:28`, `WARNING in ./src/routes/index.tsx 2:22`) instead of `:1:1`.
- Invalid `codeSplitGroupings` fail the module at the value, naming the option. Invalid `codeSplittingOptions` fail with one readable error naming each option instead of a raw schema dump.
- Start's refusals say what to write instead, at the right position: a refused server function names its position, or the local it reads, with the fix (`.validator()` and `{ data }`); a builder kept in an object or assigned after its declaration gets the documented fix. Refusals in a Vue single-file component are reported at the SFC's line and column, in builds and on the dev server, on Vite and Rsbuild.
- The client stubs of the RSC helpers no longer recommend a route loader, and their explanation is development-only.
- A plugin that gives a route file different text under different module ids gets a warning.
- Internal checks: a client build fails with an internal compiler error, naming the file and the position, if a client module would hold server code (a server function's handler or validator, a middleware's or an isomorphic function's server implementation, a `createServerOnlyFn` body, a route option `deleteNodes` lists), or if an output would copy part of a module without a change the compiler planned there. These mean a compiler bug: please report them.
- A warning about how a module is written is for whoever can edit it: an installed package's module (`node_modules`) no longer gets advice for its author (a middleware factory's parameter read in `.server()`, an exported or `this`-using route option, a server compile's parse failure), and an error in one names the package to update or report. Warnings that server code reaches the client, import protection and the package warnings stay.
- Vite dev: the warning about a package that uses Start names the package and its manifest, not Vite's pre-bundle (`node_modules/.vite`), and gives a package that declares Start but that the app does not list the right remedy. In a pre-bundle holding several packages, each package a Start call is in gets its own warning (a kit that only imports the router gets none), wherever the app keeps Vite's `cacheDir`. A pre-bundle is installed code there too: no advice for its author, and its errors name the package; a workspace package the app pre-bundles keeps its author's advice. A pre-bundle another plugin edits before Start's transform names no package.
- `start-server-param` says what the browser can see and where secrets go, at the parameter: "Only server code reads `descriptor`. Arguments at calls included in client code can be visible to the browser. Public labels are fine. Read secrets inside `.server()`."
- A route option whose value the route file exports is reported at the export (the declaration of the first one listed), with how to split it: "`Page` stays in the route module because src/routes/x.tsx exports it. To split it, remove its export, or move it to another module and import it here."
- A route the compiler does not recognise (a wrapped route call, …) is reported once in a Start app, and says only what applies: a root route is not called not code-split, and a wrapped route a build does nothing to (a root or lazy route file without Start) is not reported. In a Start app, every router warning comes from the client's compile of the file.
- A spread of route options is reported as what it may hold: "If the spread holds `ssr`, `server` or `headers`, they stay in client code".
- A route option whose value is a server function written in place is no longer reported as not code-split: the client splits it (only the server's module keeps it).
- Hydrate's refusals of `this`, `super`, `new.target`, `await`, `yield` and a private name of the enclosing class point at the use, not the `<Hydrate` tag.
- An invalid generator option (`quoteStyle`, `target`, …) fails with one error naming the option and `tsr.config.json` when it is a source, instead of a raw schema dump; an invalid `tsr.config.json` names the file. The `experimental.enableCodeSplitting` and route group errors are printed once.
- An internal compiler error reaches the user as one: "Internal compiler error in src/x.tsx. Please report it at https://github.com/TanStack/router/issues with this file and the detail below.", the detail after it.
- Rsbuild, Rspack and webpack print a Start compile message with `[tanstack-start]`; a call by an unknown server function id answers "Server function info not found for <id>. If the page loaded before the server changed, reload it." on every host (Vite dev said "Invalid server function ID"); the import-protection marker conflict names the first marker as `src/x.ts:1:8`; the generator's missing root route names the file to add.
- The RSC client's `<CompositeComponent>` and `RscNodeRenderer` errors are tagged `[tanstack-start]` in development and compact in production.
16 changes: 16 additions & 0 deletions .changeset/hydrate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
'@tanstack/start-plugin-core': patch
---

`<Hydrate>`:

- **Through the app's own re-exports** (`export { Hydrate } from '@tanstack/react-start'`, an imported `Hydrate` exported again, `export *`, a namespace import, chains of these), `<Hydrate>` splits its children like a direct import, in React and Solid, on Vite and Rsbuild; its children's code loaded with the page. A re-export under another name, or one from an installed package, isn't followed.
- **Solid:** children that call `use*()` functions directly are split; the calls run under the boundary's owner, with its context. They failed the build.
- **React:** the hook refusal now covers member calls too: a child calling `React.useId()` or `Route.useLoaderData()` directly fails the build like one calling `useId()`. Move the call into a child component, or use `split={false}`.
- **React:** so does React's `use` written directly in the children, `use(Context)` and `use(promise)` alike (also renamed, or as `React.use`): moved into the split component, `use(Context)` read another context than on the server. The error points at the call, for every hook.
- **New refusals**, where the split children would run on a copy or a snapshot (the build fails at the code; `split={false}` keeps the boundary in place):
- React: a function in the children that reads a `let` the component reassigns, also through a nested `<Hydrate>`. Keep the value in a ref (`useRef`).
- Children that assign a local of the component, or a module-level variable other code of the module also uses. The message names the variable; move it to a module of its own, with a function that assigns it.
- `new.target` in the children, and (Solid) a nested boundary assigning an outer local through `ref`.
- `await` or `yield` directly in the children, and a read of a private name of the class around the boundary (`this.#label`), fail the build with a message instead of a parse error. The deferred hydration guide lists every pattern that fails the build.
- **On the server, a hook call whose value only a `fallback` reads** is removed with the imports only it uses, in every file; outside a route's split component it was kept. A hook that needs the browser (`useState(() => window.innerWidth)`) no longer fails the server render there. A hook that takes an id (`useId`, Solid's `createUniqueId`, or a custom hook that calls one) shifts the ids after it on the server, as with `<ClientOnly>` children: call such a hook in a component inside the boundary.
12 changes: 12 additions & 0 deletions .changeset/import-protection-allow-import.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
'@tanstack/start-plugin-core': minor
'@tanstack/react-start': minor
'@tanstack/solid-start': minor
'@tanstack/vue-start': minor
---

Import protection: new `allowImport(info)` option, and `onViolation` only reports.

- `allowImport` runs during the build, before an import is replaced by its mock, in dev and in builds, once per import. Returning `true` gives the import the real module: it is not a violation, nothing is reported, and `onViolation` is not called. `false` or nothing is the normal outcome under `behavior`. It also sees imports that tree-shaking removes later, so use it to decide, not to report, and give stable answers. Its `info` is `onViolation`'s without `trace` and `snippet`.
- `onViolation` runs during the build, after tree-shaking of the importing environment, for imports that survive tree-shaking and were not allowed, and returns nothing. **If you returned `false` to allow an import, move that decision to `allowImport` and return `true`:** returning `false` now does nothing but print a message saying so. It used to silence the report, while a `.server` file stayed mocked and a file with a `server-only` marker shipped for real.
- With RSC, a `'use client'` file allowed from `rsc` is the real module in `ssr` too.
5 changes: 5 additions & 0 deletions .changeset/import-protection-own-client-only.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@tanstack/start-plugin-core': patch
---

An import-protection error for a client-only component rendered inside an app's own `ClientOnly` component (not the router's), or as the `fallback` of the router's `<ClientOnly>`, now names where it is rendered and suggests the router's `<ClientOnly fallback={...}>`, as it does for one rendered without a wrapper.
Loading