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

6,608 commits

Author SHA1 Message Date
Tanner Linsley
af388a89f7 release: v1.132.27 v1.132.27 2025-09-30 22:05:17 +00:00
Manuel Schiller
5269bd863f
fix: raw response handling (#5276) 2025-10-01 00:02:26 +02:00
Thenglong Heng
bb410f8d16
fix(router): rewriteBasepath not working without trailing slash (#5244)
Co-authored-by: Manuel Schiller <manuel.schiller@caligano.de>
2025-09-30 23:01:11 +02:00
autofix-ci[bot]
ae5119d75b
ci: apply automated fixes 2025-09-30 20:49:03 +00:00
TinsFox
c29938b4b9
docs: Update hosting.md (#5252)
* Update hosting.md

* Update hosting.md

* Update hosting.md
2025-09-30 22:48:14 +02:00
Tanner Linsley
fcf88d025a release: v1.132.26 v1.132.26 2025-09-30 18:50:17 +00:00
Manuel Schiller
545ff3fbc3
fix: allow to express dependencies between serialization adapters (#5314) 2025-09-30 20:42:57 +02:00
Manuel Schiller
1ca59e3aa0
fix: redirect respects rewrites (#5315)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-30 20:41:43 +02:00
Shinya Fujino
2d453a2aab
docs: Add @types/node to build-from-scratch guide (#5308) 2025-09-30 20:29:53 +02:00
Birk Skyum
581941a86a
tests(solid-router): Enable e2e scroll restoration test (#5298)
* enabled solid-rotuer e2e scroll restoration test

* fix solid-router e2e scroll restoration test
2025-09-29 22:34:03 +02:00
Tanner Linsley
f382bd2ef0 release: v1.132.25 v1.132.25 2025-09-29 19:38:37 +00:00
Lee
e52673bb03
fix(router): hash history links with target="_blank" generate incorrect URLs (#5242) 2025-09-29 21:29:54 +02:00
Oliver Wheeler
31e5b9c377
docs: Change "target" to "preset" in Nitro example config (#5290) 2025-09-29 21:27:53 +02:00
Tanner Linsley
3bf18a7432 release: v1.132.24 v1.132.24 2025-09-28 23:57:51 +00:00
Manuel Schiller
de70ba95e6
fix: guard against invalid origin header value (#5288) 2025-09-29 01:49:53 +02:00
Tanner Linsley
ef7318fdd4 release: v1.132.23 v1.132.23 2025-09-28 23:25:38 +00:00
Manuel Schiller
a255e9db46
fix: nonce support (#5287) 2025-09-29 01:23:59 +02:00
Adam Rackis
7a129f7f0b
docs: quickstart (#5286) 2025-09-29 00:40:55 +02:00
Tim Bellefleur
2817a0c39c
examples: fix Bun server static routes from using the wrong path separator on Windows (#5285)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-29 00:17:02 +02:00
Nico Lynzaad
58e8a940e1
tests(start): update spa mode e2e to use production build (#5284)
* make use of prod setup for spa-mode e2e test

* ci: apply automated fixes

* nitpick

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-28 23:48:36 +02:00
Tanner Linsley
08caf67819 release: v1.132.22 v1.132.22 2025-09-28 21:40:11 +00:00
Manuel Schiller
a5ad0fe0a7 fix: load all env vars, do not restrict to VITE_ prefix
fixes #5217
2025-09-28 23:33:52 +02:00
Manuel Schiller
d363dca461 docs: fix hosting 2025-09-28 23:12:40 +02:00
Anindra
5b070468e3
docs: Update wrong link (#5282) 2025-09-28 22:32:36 +02:00
Tanner Linsley
1959f8968a release: v1.132.21 v1.132.21 2025-09-28 19:06:19 +00:00
Manuel Schiller
785afe3aee fix: exclude some more files from compilation 2025-09-28 20:57:19 +02:00
Mo
04af815de8
docs: react-router added API middlewares (#5280) 2025-09-28 20:55:25 +02:00
Manuel Schiller
3a76b3ca08
fix: use package alias for h3 (#5281) 2025-09-28 20:54:11 +02:00
Tanner Linsley
86b1dd9dac release: v1.132.19 v1.132.19 2025-09-28 10:44:30 +00:00
Manuel Schiller
7d876bc31f
fix: register createServerFn fetcher as serializable (#5268)
* fix: createServerFn fetcher has TSS_SERVER_FUNCTION symbol prop

* add serializer extension, register server functions to be serializable

* remove cast
2025-09-28 12:36:00 +02:00
kkane
985f8c61ef
docs: fix Validation with Zod documentation (#5269)
Co-authored-by: kanekv <kane.kim@joylabs.com>
2025-09-28 12:01:02 +02:00
Mattèo Gauthier
b19e0b9c71
docs: wrong link to bun server implementation in hosting page (#5272)
Update link to server.ts in hosting.md
2025-09-28 12:00:10 +02:00
Tanner Linsley
b4e370ecd9 release: v1.132.18 v1.132.18 2025-09-27 23:40:33 +00:00
Manuel Schiller
478d283d3a
fix: handle synchronous handler/middleware (#5270) 2025-09-28 01:32:02 +02:00
Tanner Linsley
07a123da7a release: v1.132.17 v1.132.17 2025-09-27 22:25:32 +00:00
Nico Lynzaad
16eacb3d68
fix(router-core): consider __root__ in path parsing of trailing underscores (#5262)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-28 00:07:31 +02:00
Tanner Linsley
7af7c529af release: v1.132.16 v1.132.16 2025-09-27 21:23:38 +00:00
zenios
6194a783a2
fix: Reexport missing request middleware types (#5267) 2025-09-27 23:16:13 +02:00
Tanner Linsley
b7e255f16e release: v1.132.15 v1.132.15 2025-09-27 19:33:43 +00:00
Manuel Schiller
1776259824 fix: types for server function with inputValidator and request middleware
fixes #5264
2025-09-27 21:26:34 +02:00
Tanner Linsley
dcd86c7fc5 release: v1.132.14 v1.132.14 2025-09-27 19:09:42 +00:00
Manuel Schiller
6cfe2fd925 fix: correctly resolve routes dir and routeTree path w.r.t. root 2025-09-27 21:02:09 +02:00
Júlio Mühlbauer
fa6e7d3d78
docs: add paraglide examples (#5257)
Co-authored-by: Manuel Schiller <manuel.schiller@caligano.de>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-27 16:12:38 +02:00
Tanner Linsley
d50f2dd0cc release: v1.132.13 v1.132.13 2025-09-27 00:09:51 +00:00
autofix-ci[bot]
9831e54675
ci: apply automated fixes 2025-09-27 00:04:45 +00:00
Manuel Schiller
3500dde867 fix: add missing export 2025-09-27 02:03:37 +02:00
Manuel Schiller
53493af536 fix: move createServerRpc into separate package export
this avoids circular imports
2025-09-27 01:54:24 +02:00
Tanner Linsley
37391e803b release: v1.132.12 v1.132.12 2025-09-26 23:45:22 +00:00
Manuel Schiller
84537b714a fix: circular imports
before this happened:

```
vite:hmr circular imports detected: /src/routes/posts.route.tsx -> /src/utils/posts.tsx -> /node_modules/@tanstack/react-start/dist/esm/client.js?v=0794880d -> /node_modules/@tanstack/react-start-client/dist/esm/index.js?v=0794880d -> /node_modules/@tanstack/start-client-core/dist/esm/client/index.js?v=0794880d -> /node_modules/@tanstack/start-client-core/dist/esm/client/hydrateStart.js?v=0794880d -> /src/router.tsx -> /src/routeTree.gen.ts -> /src/routes/posts.route.tsx
```

the transform of `createServerFn` imported `createClientRpc` from `@tanstack/react-start/client` which also export `hydrateStart` in index.ts

moving `createClientRpc` into its own package export resolved this issue
2025-09-27 01:36:21 +02:00
Tanner Linsley
56f6f8df65 release: v1.132.11 v1.132.11 2025-09-26 23:21:30 +00:00