0
Fork 0
mirror of https://github.com/TanStack/router.git synced 2026-11-16 19:38:07 +00:00
Commit graph

56 commits

Author SHA1 Message Date
Cong-Cong Pan
37877da166
perf(start): optimize Rsbuild import protection reporting (#8164)
* perf(start): avoid parsing original source in Rsbuild import protection

* perf(start): avoid filesystem reads in Rsbuild import protection reporting

* perf(start): remove redundant module survival checks

* perf(start): ignore inactive Rspack import connections

* perf(start): lazily build Rsbuild import protection diagnostics

* chore: remove test case

* add changeset

* fix(start): persist Rsbuild import protection markers in buildInfo

* fix: normalize file path in getModuleResource

* fix(start): restore Rsbuild diagnostics for inactive imports

* fix(start): improve Rsbuild import protection diagnostics

* refactor(start): clarify Rsbuild violation scanner state

* update readme

* fix(start-plugin-core): avoid dependency locations in Rsbuild diagnostics

* fix(start): respect importer scope for Rsbuild markers

* refactor(start): move Rsbuild import protection transform to loader

* test(start): type Rsbuild import protection mocks

* fix(start): close Rsbuild import protection reporting gaps

* fix(start): skip errored Rsbuild import protection modules
2026-08-31 18:48:41 +02:00
Manuel Schiller
65f7b7f791
fix(start): keep server-only routes out of RSC bundles (#7944)
Use the Start storage context for request cancellation and focused server entrypoints to keep unrelated route dependencies out of the RSC module graph. Add emitted-build regression coverage for the boundary.

fixes #7938
2026-08-04 00:02:37 +02:00
Manuel Schiller
ffdd64e842
fix(start): preserve resolved virtual module ids (#7844) 2026-07-18 20:08:42 +02:00
Manuel Schiller
9bebf8dc9f
rename inputValidator to validator (#7566)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-06 23:05:56 +02:00
Manuel Schiller
301f6ba459
fix(start): clean up server function handler imports (#7552)
Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com>
2026-06-05 21:30:23 +02:00
Manuel Schiller
9c09bca59e
fix(start): emit boot-sibling chunks as scripts for IIFE entries (#7501)
Co-authored-by: Keven Arroyo <kevenarroyo@microsoft.com>
2026-05-29 01:42:05 +02:00
Manuel Schiller
a82cec6947
fix(start): avoid encoded virtual adapter ids in vite dev (#7484) 2026-05-25 01:01:47 +02:00
Manuel Schiller
90adda91aa
fix: bundled dev support for vite (#7482) 2026-05-24 22:08:23 +02:00
Manuel Schiller
51a97a167f
feat(start): support rsbuild iife client output (#7477) 2026-05-24 02:02:05 +02:00
Flo
9f6258f23e
chore: update zod to v4.4.3 (#7441)
* chore: update zod to v4.4.3

* fix(start): preserve route path defaults

* fix(examples): resolve zod 4 build failures
2026-05-20 08:41:45 +02:00
Manuel Schiller
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>
2026-05-19 18:43:00 +02:00
Manuel Schiller
2387a2eea0
feat(start): add inline CSS runtime controls and asset URL templates (#7380) 2026-05-16 00:38:42 +02:00
Flo
9f9f371e59
fix: revert plugin changes, createCsrfMiddleware compilation, fix HMR tests (#7400)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Manuel Schiller <manuel.schiller@caligano.de>
2026-05-15 16:35:59 +02:00
Flo
5ae2ae5e0f
feat(start): CSRF middleware (#7373) 2026-05-09 18:34:24 +02:00
Manuel Schiller
056337ef02
fix: fix plain TypeScript parser handling (#7342) 2026-05-05 01:57:21 +02:00
Manuel Schiller
ae453b7862
feat: rsc css (#7310)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-01 14:49:25 +02:00
Manuel Schiller
c4256c2c85
fix: Ignore fully type-only imports and re-exports when collecting im… (#7305)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-30 22:37:53 +02:00
Manuel Schiller
4d864eebbd
inline css (#7253) 2026-04-25 01:20:36 +02:00
Manuel Schiller
9252206e5a
fix: asset sorting (#7251) 2026-04-24 22:29:13 +02:00
Manuel Schiller
dda463c8b5
fix: Split Start plugin core (#7249) 2026-04-24 20:33:33 +02:00
Manuel Schiller
91a708989d
rsbuild plugin (#7228)
Co-authored-by: neverland <chenjiahan.jait@bytedance.com>
Co-authored-by: Keven Arroyo <dake.3601@gmail.com>
2026-04-24 03:26:03 +02:00
Manuel Schiller
f7f00250f3
fix(start): include Vite style.css when cssCodeSplit is disabled (#7191)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-04-15 04:23:56 +02:00
Manuel Schiller
e30814d949
fix react-router shared route css persistence on nav (#7186)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-04-15 02:19:51 +02:00
Manuel Schiller
a581680a27
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>
2026-04-13 22:35:58 +02:00
Manuel Schiller
812792fbda
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>
2026-04-11 20:15:35 +02:00
Manuel Schiller
d3f20fbe7a
fix(start-plugin-core): reuse deduped server function ids across compilers (#7153) 2026-04-11 16:37:33 +02:00
Manuel Schiller
f920527e8d
efp (#7144)
Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
2026-04-11 01:43:05 +02:00
Manuel Schiller
ed9c43df7a
fix: dedupe repeated css assets in the start manifest (#7030) 2026-03-25 00:00:49 +01:00
Manuel Schiller
9a4d924d2b
fix: keep CSS when referenced both statically and dynamically (#6891)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-11 20:30:18 +01:00
Manuel Schiller
b2a71ee211
fix: alias and namespace import support for import protection (#6784) 2026-03-01 01:32:50 +01:00
Manuel Schiller
c099ebf204
fix: don't rely on syntheticNamedExports in import protection (#6758) 2026-02-25 02:08:23 +01:00
Manuel Schiller
95761bc4e3
feat: add excludeFiles to import-protection (#6757)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-25 00:50:40 +01:00
Manuel Schiller
996e182844
fix(start): prevent false positives for transitively resolved imports… (#6722)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-21 22:11:03 +01:00
Manuel Schiller
711f3b858e
feat: import protection (#6688) 2026-02-18 01:16:30 +01:00
JongKyung Lee
d03f6d720e
fix: prevent prerender hang when filter returns zero results (#6619)
* fix(prerender): add check for settled queue to skip empty prerender filter

* test(prerender): add test for resolving when prerender filter matches no pages
2026-02-14 00:10:16 +01:00
Manuel Schiller
d931bcff15
fix: don't propagate directCall kind through var bindings (#6651) 2026-02-13 21:03:51 +01:00
Manuel Schiller
b5b4079ded
fix: do not pass signal into server function (#5470)
* fix: do not pass signal into server function

* fix test

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-02-05 22:48:04 +01:00
Manuel Schiller
f5bf1cdb32
fix: resolve env-only functions through module re-export chains (#6599)
fixes #6583
2026-02-05 21:59:39 +01:00
Manuel Schiller
4fcfdaac1b
feat: add server fn meta (#6213)
* feat: add server fn meta

* fix: resolve merge conflicts and fix eslint errors in start-*-core

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-11 09:54:32 +01:00
Manuel Schiller
e5fd28b9f1
fix: hardening (#6337) 2026-01-09 00:38:55 +01:00
Manuel Schiller
7d598a1e2d
chore: bump babel-dead-code-elimination (#6228) 2025-12-26 02:11:04 +01:00
Manuel Schiller
ca1d24eb17
fix: createIsomorphicFn compilation (#6220) 2025-12-25 19:15:14 +01:00
Kyle
94160c7d68
fix: whitespace in server function .handler() not matching compiler regex (#6216)
* fix: detect .handler() when separated by whitespace

* fix: also match createServerFn(

* fix: use word boundary for createServerFn regex

* make regex more permissive

---------

Co-authored-by: Manuel Schiller <manuel.schiller@caligano.de>
2025-12-25 15:12:46 +01:00
Manuel Schiller
7f0b79cb83
refactor: consolidate start compiler (#6210) 2025-12-24 23:39:46 +01:00
Manuel Schiller
c504bd2c4d
fix: compiler handles type-only exports (#6199) 2025-12-23 08:53:47 +01:00
Manuel Schiller
97d9f30c69
feat: remove ClientOnly children from server build (#6193) 2025-12-23 08:40:43 +01:00
Manuel Schiller
7f14405f79
performance: compiler (#6190)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-23 02:11:07 +01:00
Manuel Schiller
c1d6c33aed
fix: compile factories (#6188) 2025-12-23 00:47:47 +01:00
Manuel Schiller
770a26535f
fix: compiler plugin (#6177)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-22 14:57:50 +01:00
Manuel Schiller
e8f2174902
fix: trace nested server function factory re-export chain (#6166) 2025-12-21 02:14:46 +01:00