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

199 commits

Author SHA1 Message Date
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
Zelys
afa40ef46c
fix(start-server-core): fall back to GET handler for HEAD requests (RFC 9110 §9.3.2) (#7325)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-03 18:54:24 +02:00
Manuel Schiller
709627f3db
feat: Link header (#7327)
Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com>
2026-05-03 01:25:30 +02:00
Manuel Schiller
238ea4a499
feat: early hints (#7324) 2026-05-02 23:35:52 +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
7fa0f39cab
fix: fix exports for react-start so useServerFn is available with RSC (#7292)
Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com>
2026-04-29 22:22:15 +02:00
Manuel Schiller
4d864eebbd
inline css (#7253) 2026-04-25 01:20:36 +02:00
neverland
a5385dbd90
chore(deps): update Rsbuild related deps to v2.0.1 (#7245) 2026-04-24 22:41:31 +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
Nicolas Beaussart
fc3b766ea9
test(e2e-rsc): migrate to playwrightModes and dynamic inferred dist (#7222) 2026-04-18 23:22:12 +02:00
Nicolas Beaussart
bd97d092ef
chore: unify react-start basic e2e mode projects (#7206) 2026-04-18 22:52:56 +02:00
Manuel Schiller
5edd7e532a
stabilize test (#7220) 2026-04-18 22:38:55 +02:00
Manuel Schiller
c19571fd5d
stabilize rsc tests (#7217) 2026-04-17 21:20:16 +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
4b8df29336
chore: stabilize test (#7192) 2026-04-15 04:00:32 +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
Nicolas Beaussart
df611998cb
chore: add sharding for playwright tests (#7187)
* add sharding

* fix dependnancy

* fix playwright shard port reuse

* full bust

* throw more runners into this run

* try to throw money at it and see the effect

* tune
2026-04-14 13:17:12 +02:00
Manuel Schiller
c3d525924d
chore: stabilize tests (#7185) 2026-04-14 01:07:14 +02:00
Manuel Schiller
c5ad32936f
fix react server exports for start and react-router (#7183)
Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com>
2026-04-14 00:48:18 +02:00
Manuel Schiller
7324b98d11
fix: add react-server server export for react-start (#7180) 2026-04-13 23:01:35 +02:00
Manuel Schiller
105d05691a
fix(router-generator): harden route file transform rewrites (#7167) 2026-04-13 02:20:50 +02:00
Manuel Schiller
55201ad69d
chore: stabilize tests (#7159) 2026-04-12 01:45:28 +02:00
Birk Skyum
0e2c9003c1
chore: bump to h3 v2 rc.20 (#7140) 2026-04-11 23:32:39 +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
Brenley Dueck
8ec9ca97b4
fix(router-core): avoid false notFound matches for proxied loader data (#7156)
* fix(router-core): avoid false notFound matches for proxied loader data

* test(react-start): cover proxied loader data notFound regression

* test(react-start): move notFound regression to rsc direct loader

* chore: add changeset
2026-04-11 19:34:02 +02:00
Flo
6355bb75f7
refactor: shorten internal router store names (#7152) 2026-04-11 13:21:43 +02:00
Flo
459057cd2d
refactor: switch router stores to atom get/set API (#7150) 2026-04-11 12:41:57 +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
240b48257f
chore: stabilize test (#7142) 2026-04-10 21:29:49 +02:00
Tanner Linsley
f7e9c5e323
fix: preserve request context precedence for server functions (#7135) 2026-04-10 19:51:47 +02:00
Nico Lynzaad
30835cb8e9
fix(router-core): align calculation of publicHref in parseLocation and buildLocation (#7069)
* align publicHref

* add tests

* ci: apply automated fixes

* revert changes

* revert changes

* ci: apply automated fixes [Self-Healing CI Rerun]

* ci: apply automated fixes

---------

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-03-30 00:57:24 +02:00
Manuel Schiller
6ee0e795b0
fix: preserve scroll position after SSR hash hydration (#7066) 2026-03-28 19:38:33 +01:00
Nicolas Beaussart
a556afa0f0
test: share React Start basic mode e2e suite (#7060)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-28 11:30:05 +01:00
Birk Skyum
b1c0f4602d
chore: upgrade tooling to typescript 6 (#7024) 2026-03-23 22:59:52 +01:00
huseeiin
6077120efa
fix: vite preview streaming (#6828)
---------

Co-authored-by: Birk Skyum <birk.skyum@pm.me>
2026-03-23 14:05:00 +01:00
Manuel Schiller
6164816414
feat: transformAssets (#7009)
* feat: transformAssets

replaces transformAssetUrls

* fix

* fix
2026-03-22 20:25:12 +01:00
Manuel Schiller
d7445e048d
fix: better react HMR (#7005)
* fix: better react HMR

* layout and fixes

* fix

* stabilize test

* stabilize test
2026-03-21 18:06:31 +01:00
Manuel Schiller
9351e99796
fix: Fix React Fast Refresh state preservation for auto code-split ro… (#7000) 2026-03-21 01:27:50 +01:00
Birk Skyum
aaf764bcee
docs: @tailwindcss/vite to 4.2.2 in examples (#6974) 2026-03-18 17:40:04 +01:00
Birk Skyum
3b8ab0fa6b
docs: add devcontainer.json to all e2e/examples (#6972) 2026-03-18 15:43:14 +01:00
Birk Skyum
7d936c6c36
docs: update examples/e2e to vite 8 (#6958) 2026-03-17 20:37:11 +01:00
Tanner Linsley
d6371529b5
fix: write static server function cache to correct output directory with Nitro (#6940)
* fix: write static server function cache to correct output directory with Nitro

TSS_CLIENT_OUTPUT_DIR was baked in via Vite's define at config time, before
Nitro's configEnvironment hook changed the client build.outDir. This caused
staticServerFnCache files to be written to dist/client/ instead of
.output/public/.

- Remove TSS_CLIENT_OUTPUT_DIR from compile-time define in start-plugin-core
- Set it as a runtime env var in prerender.ts using the resolved output dir
- Guard server-side cache writes on TSS_CLIENT_OUTPUT_DIR being set
- Add e2e test for static server functions with Nitro

* fix: remove dynamic Link to nonexistent route to fix tsc --noEmit
2026-03-16 16:56:29 -06:00
SeanCassiere
773c7c9cb9
chore: generate route-tree for all sandboxes
a recent change to generator, meant that all the sandboxes had their route-trees files being out-of-date
2026-03-14 23:28:51 +13:00
Nathaniel John Tampus
8e7a94266d
chore(examples): update Nitro to v3 beta (#6899) 2026-03-14 22:52:36 +13: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
31ed0a9648
fix: don't re-execute stale loaders on unrelated location changes (#6867)
* fix: don't re-execute stale loaders on unrelated location changes

* lint

* remove loaderKeyChanged

* from last

* inline staleMatchShouldReload

* update tests

* add test

* fix

* revert
2026-03-09 20:02:35 +01:00
Birk Skyum
2f35f93312
chore: bump h3 and srvx (#6869)
* bump h3 v2 to rc 16

* bump srvx to 0.11.9

* lockfile
2026-03-09 12:50:41 +01:00