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

6,685 commits

Author SHA1 Message Date
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
Flo
fa48ea8d38
chore: update @rolldown/pluginutils to 1.0.1 (#7440) 2026-05-20 08:41:28 +02:00
Flo
c0f439c59b
chore: update chokidar to v5 (#7439) 2026-05-20 08:41:13 +02:00
Tanner Linsley
0bfb7efa12
docs(start): compare deferred hydration to React selective hydration (#7442)
Adds a short comparison section answering the common question about how
TanStack Start's deferred hydration relates to React 18's selective
hydration. The framing: selective hydration controls the order of
inevitable hydration work; deferred hydration controls whether and when
that work happens at all.
2026-05-19 19:44:44 -06:00
Tanner Linsley
ac4b43f346
docs(start): compare deferred hydration to Astro islands (#7438)
Adds a short mental-model section answering the common question
about how TanStack Start's deferred hydration relates to Astro
islands.
2026-05-19 15:09:21 -06:00
Flo
60ad69c8fa
chore: update @swc/core in example/react/quickstart-webpack-file-based (#7434)
* chore: update @swc/core in example/react/quickstart-webpack-file-based

* chore: update @swc/core in example/react/quickstart-webpack-file-based [Self-Healing CI Rerun]

---------

Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com>
2026-05-19 20:09:04 +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
Sean Cassiere
2506478fa8
docs(start): use router package for module declaration to type the request context (#7427) 2026-05-18 10:29:25 +12:00
Flo
86b5ca062e
security: stricter pnpm config blockExoticSubdeps & trustPolicy (#7425) 2026-05-17 15:29:14 +02:00
github-actions[bot]
ee8a6753da
ci: Version Packages (#7423) release-2026-05-17-1148 @tanstack/react-router@1.170.4 @tanstack/react-start-client@1.167.4 @tanstack/react-start-rsc@0.1.6 @tanstack/react-start-server@1.167.4 @tanstack/react-start@1.168.6 @tanstack/router-cli@1.167.5 @tanstack/router-core@1.171.2 @tanstack/router-generator@1.167.5 @tanstack/router-plugin@1.168.6 @tanstack/router-vite-plugin@1.167.6 @tanstack/solid-router@1.170.4 @tanstack/solid-start-client@1.167.4 @tanstack/solid-start-server@1.167.4 @tanstack/solid-start@1.168.6 @tanstack/start-client-core@1.169.4 @tanstack/start-plugin-core@1.170.6 @tanstack/start-server-core@1.168.4 @tanstack/start-static-server-functions@1.167.4 @tanstack/start-storage-context@1.167.4 @tanstack/vue-router@1.170.4 @tanstack/vue-start-client@1.167.4 @tanstack/vue-start-server@1.167.4 @tanstack/vue-start@1.168.6 2026-05-17 13:43:38 +02:00
Manuel Schiller
b60eb36e59
fix: fix route mismatch warnings and HMR route indexes (#7422)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-17 13:35:04 +02:00
github-actions[bot]
32c5a8ec8d
ci: Version Packages (#7421) release-2026-05-16-2257 @tanstack/react-start-rsc@0.1.5 @tanstack/react-start@1.168.5 @tanstack/router-plugin@1.168.5 @tanstack/router-vite-plugin@1.167.5 @tanstack/solid-start@1.168.5 @tanstack/start-plugin-core@1.170.5 @tanstack/vue-start@1.168.5 2026-05-17 00:54:12 +02:00
Manuel Schiller
8146db7e54
fix(router-plugin): detect typed root route context for HMR (#7420) 2026-05-17 00:42:32 +02:00
github-actions[bot]
d1dc4ae7c0
ci: Version Packages (#7417) release-2026-05-16-1922 @tanstack/react-router@1.170.3 @tanstack/react-start-client@1.167.3 @tanstack/react-start-rsc@0.1.4 @tanstack/react-start-server@1.167.3 @tanstack/react-start@1.168.4 @tanstack/router-cli@1.167.4 @tanstack/router-core@1.171.1 @tanstack/router-generator@1.167.4 @tanstack/router-plugin@1.168.4 @tanstack/router-vite-plugin@1.167.4 @tanstack/solid-router@1.170.3 @tanstack/solid-start-client@1.167.3 @tanstack/solid-start-server@1.167.3 @tanstack/solid-start@1.168.4 @tanstack/start-client-core@1.169.3 @tanstack/start-plugin-core@1.170.4 @tanstack/start-server-core@1.168.3 @tanstack/start-static-server-functions@1.167.3 @tanstack/start-storage-context@1.167.3 @tanstack/vue-router@1.170.3 @tanstack/vue-start-client@1.167.3 @tanstack/vue-start-server@1.167.3 @tanstack/vue-start@1.168.4 2026-05-16 21:17:56 +02:00
Manuel Schiller
d9cf9331b8
fix(router-core): hydrate before initial client route match (#7416) 2026-05-16 21:10:08 +02:00
github-actions[bot]
4e42422f28
ci: Version Packages (#7413) release-2026-05-16-1436 @tanstack/react-router@1.170.2 @tanstack/react-start-client@1.167.2 @tanstack/react-start-rsc@0.1.3 @tanstack/react-start-server@1.167.2 @tanstack/react-start@1.168.3 @tanstack/router-cli@1.167.3 @tanstack/router-core@1.171.0 @tanstack/router-generator@1.167.3 @tanstack/router-plugin@1.168.3 @tanstack/router-vite-plugin@1.167.3 @tanstack/solid-router@1.170.2 @tanstack/solid-start-client@1.167.2 @tanstack/solid-start-server@1.167.2 @tanstack/solid-start@1.168.3 @tanstack/start-client-core@1.169.2 @tanstack/start-plugin-core@1.170.3 @tanstack/start-server-core@1.168.2 @tanstack/start-static-server-functions@1.167.2 @tanstack/start-storage-context@1.167.2 @tanstack/vue-router@1.170.2 @tanstack/vue-start-client@1.167.2 @tanstack/vue-start-server@1.167.2 @tanstack/vue-start@1.168.3 2026-05-16 16:32:00 +02:00
Flo
d533f87976
feat(router-core): params.priority route option as tie breaker in matching algorithm (#7411)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-16 16:20:12 +02:00
github-actions[bot]
b3f2ab809e
ci: Version Packages (#7409) release-2026-05-16-0506 @tanstack/react-start-rsc@0.1.2 @tanstack/react-start@1.168.2 @tanstack/router-cli@1.167.2 @tanstack/router-generator@1.167.2 @tanstack/router-plugin@1.168.2 @tanstack/router-vite-plugin@1.167.2 @tanstack/solid-start@1.168.2 @tanstack/start-plugin-core@1.170.2 @tanstack/vue-start@1.168.2
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-05-16 07:02:58 +02:00
Manuel Schiller
742941e2f1
fix: Fix literal underscore paths under pathless layouts (#7408) 2026-05-16 04:08:22 +02:00
github-actions[bot]
13432ad9ff
ci: Version Packages (#7407) release-2026-05-15-2300 @tanstack/react-router@1.170.1 @tanstack/react-start-client@1.167.1 @tanstack/react-start-rsc@0.1.1 @tanstack/react-start-server@1.167.1 @tanstack/react-start@1.168.1 @tanstack/router-cli@1.167.1 @tanstack/router-core@1.170.1 @tanstack/router-generator@1.167.1 @tanstack/router-plugin@1.168.1 @tanstack/router-vite-plugin@1.167.1 @tanstack/solid-router@1.170.1 @tanstack/solid-start-client@1.167.1 @tanstack/solid-start-server@1.167.1 @tanstack/solid-start@1.168.1 @tanstack/start-client-core@1.169.1 @tanstack/start-plugin-core@1.170.1 @tanstack/start-server-core@1.168.1 @tanstack/start-static-server-functions@1.167.1 @tanstack/start-storage-context@1.167.1 @tanstack/vue-router@1.170.1 @tanstack/vue-start-client@1.167.1 @tanstack/vue-start-server@1.167.1 @tanstack/vue-start@1.168.1 2026-05-16 00:55:45 +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
github-actions[bot]
ae64839145
ci: Version Packages (#7405) release-2026-05-15-1930 @tanstack/arktype-adapter@1.167.0 @tanstack/eslint-plugin-router@1.162.0 @tanstack/eslint-plugin-start@0.1.0 @tanstack/history@1.162.0 @tanstack/nitro-v2-vite-plugin@1.155.0 @tanstack/react-router-devtools@1.167.0 @tanstack/react-router-ssr-query@1.167.0 @tanstack/react-router@1.170.0 @tanstack/react-start-client@1.167.0 @tanstack/react-start-rsc@0.1.0 @tanstack/react-start-server@1.167.0 @tanstack/react-start@1.168.0 @tanstack/router-cli@1.167.0 @tanstack/router-core@1.170.0 @tanstack/router-devtools-core@1.168.0 @tanstack/router-devtools@1.167.0 @tanstack/router-generator@1.167.0 @tanstack/router-plugin@1.168.0 @tanstack/router-ssr-query-core@1.169.0 @tanstack/router-utils@1.162.0 @tanstack/router-vite-plugin@1.167.0 @tanstack/solid-router-devtools@1.167.0 @tanstack/solid-router-ssr-query@1.167.0 @tanstack/solid-router@1.170.0 @tanstack/solid-start-client@1.167.0 @tanstack/solid-start-server@1.167.0 @tanstack/solid-start@1.168.0 @tanstack/start-client-core@1.169.0 @tanstack/start-fn-stubs@1.162.0 @tanstack/start-plugin-core@1.170.0 @tanstack/start-server-core@1.168.0 @tanstack/start-static-server-functions@1.167.0 @tanstack/start-storage-context@1.167.0 @tanstack/valibot-adapter@1.167.0 @tanstack/virtual-file-routes@1.162.0 @tanstack/vue-router-devtools@1.167.0 @tanstack/vue-router-ssr-query@1.167.0 @tanstack/vue-router@1.170.0 @tanstack/vue-start-client@1.167.0 @tanstack/vue-start-server@1.167.0 @tanstack/vue-start@1.168.0 @tanstack/zod-adapter@1.167.0
ci: changeset release

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-05-15 21:24:23 +02:00
Birk Skyum
14520e5eb5
ci: align release workflow to query (#7404) 2026-05-15 21:12:35 +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
Corbin Crutchley
1f7b3188e2
chore: add CODEOWNERS file (#7394)
* chore: add CODEOWNERS file

* chore: add Nx and NPMRC

* Update .github/CODEOWNERS

---------

Co-authored-by: Nicolas Beaussart <nic.beaussart@gmail.com>
2026-05-14 07:40:56 +02:00
Harry Whorlow
dfcffab661
chore(pnpm): update pnpm to v11 (#7392) 2026-05-14 00:20:53 +02:00
Flo
e16bb6b2c5
ci: zizmor (#7389) 2026-05-14 00:01:57 +02:00
Flo
201e150bd1
minor semver bump to all packages (#7395) 2026-05-13 22:46:39 +02:00
renovate[bot]
bb5f3cc93c
chore(deps): pin dependencies (#7388)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-12 23:32:33 +10:00
Lachlan Collins
68d5f318e4
ci: add pinGitHubActionDigests (#7387) 2026-05-12 22:51:36 +10:00
Tanner Linsley
5d92d5aea3
Update bundle-size.yml 2026-05-11 16:03:38 -06:00
Tanner Linsley
861870ffb1
Update labeler.yml 2026-05-11 16:02:40 -06:00
Tanner Linsley
3ee179f0d9
Update bundle-size.yml 2026-05-11 16:02:10 -06:00
Manuel Schiller
038cd123b7
fix: fix jiti usage for tsconfig paths (#7382)
* Enable jiti tsconfig path aliases

Agent-Logs-Url: https://github.com/TanStack/router/sessions/0a481c9b-eb97-4543-acc5-71d43b97d386

Co-authored-by: schiller-manuel <6340397+schiller-manuel@users.noreply.github.com>

* Use fixture for jiti tsconfig aliases

Agent-Logs-Url: https://github.com/TanStack/router/sessions/182b9baa-9e54-4813-a322-c33a1da5417d

Co-authored-by: schiller-manuel <6340397+schiller-manuel@users.noreply.github.com>

* Track fixture path alias helper

Agent-Logs-Url: https://github.com/TanStack/router/sessions/182b9baa-9e54-4813-a322-c33a1da5417d

Co-authored-by: schiller-manuel <6340397+schiller-manuel@users.noreply.github.com>

* Add router-generator changeset

Agent-Logs-Url: https://github.com/TanStack/router/sessions/ab1a42cc-7326-4e36-a656-f01179221cee

Co-authored-by: schiller-manuel <6340397+schiller-manuel@users.noreply.github.com>

* Format virtual config fixture

Agent-Logs-Url: https://github.com/TanStack/router/sessions/22194166-b3a7-431e-b723-ad594d4b0405

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>
2026-05-11 21:16:18 +02:00
Shkumbin Hasani
b1c061aff9
fix(router-core): fix missing closing paren in CSS.supports check for view transition types (#7369) 2026-05-10 00:11:51 +02:00
Flo
5ae2ae5e0f
feat(start): CSRF middleware (#7373) 2026-05-09 18:34:24 +02:00
Copilot
4eed408f12
Document server function strict serialization options (#7358)
* Document server function strict option

Agent-Logs-Url: https://github.com/TanStack/router/sessions/8deabe7a-7412-455e-9111-97a13cb4582e

Co-authored-by: schiller-manuel <6340397+schiller-manuel@users.noreply.github.com>

* Refine strict docs wording

Agent-Logs-Url: https://github.com/TanStack/router/sessions/e2857d6e-314e-496c-b99b-78c207c28c77

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>
2026-05-07 03:19:26 +02:00
github-actions[bot]
1523612270 ci: changeset release @tanstack/react-start@1.167.65 @tanstack/router-cli@1.166.43 @tanstack/router-generator@1.166.42 @tanstack/router-plugin@1.167.35 @tanstack/router-vite-plugin@1.166.50 @tanstack/solid-start@1.167.62 @tanstack/start-plugin-core@1.169.20 @tanstack/vue-start@1.167.58 release-2026-05-06-2303 @tanstack/react-start-rsc@0.0.44 2026-05-06 23:03:16 +00:00
autofix-ci[bot]
90492109f1
ci: apply automated fixes 2026-05-06 22:49:36 +00:00
Copilot
c5811aacb5
fix: Bump jiti to 2.7.0 (#7355)
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>
2026-05-07 00:48:14 +02:00
Manuel Schiller
a04d5e46a7
update bundlesize benchmark (#7356) 2026-05-07 00:46:13 +02:00
github-actions[bot]
ee96e25d14 ci: changeset release release-2026-05-05-2037 @tanstack/react-router@1.169.2 @tanstack/react-start-client@1.166.48 @tanstack/react-start-rsc@0.0.43 @tanstack/react-start-server@1.166.52 @tanstack/react-start@1.167.64 @tanstack/router-cli@1.166.42 @tanstack/router-core@1.169.2 @tanstack/router-generator@1.166.41 @tanstack/router-plugin@1.167.34 @tanstack/router-vite-plugin@1.166.49 @tanstack/solid-router@1.169.2 @tanstack/solid-start-client@1.166.47 @tanstack/solid-start-server@1.166.51 @tanstack/solid-start@1.167.61 @tanstack/start-client-core@1.168.2 @tanstack/start-plugin-core@1.169.19 @tanstack/start-server-core@1.167.30 @tanstack/start-static-server-functions@1.166.41 @tanstack/start-storage-context@1.166.35 @tanstack/vue-router@1.169.2 @tanstack/vue-start-client@1.166.43 @tanstack/vue-start-server@1.166.47 @tanstack/vue-start@1.167.57 2026-05-05 20:37:25 +00:00
Manuel Schiller
35e88f0499
fix: update deps (#7340) 2026-05-05 22:27:21 +02:00
Manuel Schiller
fdeb3f3e0c
fix: disable rsbuild server compression (#7348) 2026-05-05 22:11:46 +02:00
github-actions[bot]
bcefc84d7e ci: changeset release @tanstack/react-start@1.167.63 @tanstack/router-cli@1.166.41 @tanstack/router-generator@1.166.40 @tanstack/router-plugin@1.167.33 @tanstack/router-utils@1.161.8 @tanstack/router-vite-plugin@1.166.48 @tanstack/solid-start@1.167.60 @tanstack/start-plugin-core@1.169.18 @tanstack/vue-start@1.167.56 release-2026-05-05-0000 @tanstack/react-start-rsc@0.0.42 2026-05-05 00:00:04 +00:00
Manuel Schiller
056337ef02
fix: fix plain TypeScript parser handling (#7342) 2026-05-05 01:57:21 +02:00
Manuel Schiller
ed3152af20
test: reproducer for #2547 (#7337) 2026-05-04 00:42:55 +02:00
Manuel Schiller
19f496bf6f
test: add reproducer for #2514 (#7336) 2026-05-04 00:35:10 +02:00
github-actions[bot]
15df770b56 ci: changeset release release-2026-05-03-1708 @tanstack/react-start-rsc@0.0.41 @tanstack/react-start-server@1.166.51 @tanstack/react-start@1.167.62 @tanstack/solid-start-server@1.166.50 @tanstack/solid-start@1.167.59 @tanstack/start-plugin-core@1.169.17 @tanstack/start-server-core@1.167.29 @tanstack/vue-start-server@1.166.46 @tanstack/vue-start@1.167.55 2026-05-03 17:08:04 +00: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