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

Compare commits

..

163 commits

Author SHA1 Message Date
Manuel Schiller
18b8abfbdf add e2e test for server context 2025-08-31 17:00:55 +02:00
Manuel Schiller
616aca49db fix: check return type of router.dehydrate w.r.t. serializability 2025-08-31 02:31:22 +02:00
Tanner Linsley
5f1a1c7ce1 release: v1.132.0-alpha.11 2025-08-30 23:58:25 +00:00
Manuel Schiller
47f897b22e
fix: make middleware types compatible (#5056) 2025-08-31 01:57:05 +02:00
Tanner Linsley
6658f75330 release: v1.132.0-alpha.10 2025-08-30 23:24:51 +00:00
Manuel Schiller
30ad7f6db4
feat: allow composability of server function factories and middlewares (#5044) 2025-08-31 01:23:32 +02:00
Tanner Linsley
55c7be5ad7 release: v1.132.0-alpha.9 2025-08-29 00:33:23 +00:00
Manuel Schiller
bbfab37a99
feat: serverfn abstraction (#5040) 2025-08-29 02:31:57 +02:00
Tanner Linsley
840d2802b0 release: v1.132.0-alpha.8 2025-08-28 22:53:41 +00:00
Nico Lynzaad
b7b68b951d
fix(router-generator): Add path check for custom generatedRouteTree folder path (#5039)
When a custom generatedRouteTree path is used there exists the
possibility that the folder path might not exists yet when the routeTree
is generated.

This adds a check and creates the path should it not exists.

This resolves #4912 as part of the Alpha branch

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-29 00:52:02 +02:00
chorobin
881ca83b2b allow reponse/formdata reverted
This reverts commit 6ae12bff54.
2025-08-29 00:01:20 +02:00
chorobin
6ae12bff54 allow reponse/formdata 2025-08-28 23:50:30 +02:00
chorobin
581f1e56a6 tests and examples fixed 2025-08-28 23:07:23 +02:00
chorobin
8b67f2f858 fix default adapters 2025-08-28 20:19:53 +02:00
chorobin
3bedacd8fe add adapter default 2025-08-28 00:33:55 +02:00
chorobin
3a581a2f19 fix adapters 2025-08-28 00:21:43 +02:00
chorobin
568c485ef0 tests and linting 2025-08-28 00:15:27 +02:00
chorobin
c145e397d8 serialization pls 2025-08-28 00:02:09 +02:00
Nico Lynzaad
d56aa42a8a Merge branch 'relative-routing-to-current-location' into alpha 2025-08-26 23:45:03 +02:00
Tanner Linsley
7c40453eeb Revert "Revert "fix: do not pre-decodeURI before passing to createMemoryHistory (#4893)""
This reverts commit af0cd986c2.
2025-08-26 10:45:57 -06:00
Nico Lynzaad
508ee37b27 Merge branch 'main' into relative-routing-to-current-location 2025-08-26 17:19:58 +02:00
chorobin
a23e6c9b45 "serialization rulez" beforeLoad 2025-08-25 00:16:31 +02:00
chorobin
e77f446259 "serialization rulez"?? 2025-08-24 23:46:19 +02:00
chorobin
b54d056109 "serialization rulez" second attempt 2025-08-24 23:24:19 +02:00
chorobin
9a4efc61ec "serialization rulez" 2025-08-24 23:00:07 +02:00
Tanner Linsley
9383fd9991 release: v1.132.0-alpha.7 2025-08-23 18:33:17 +00:00
Manuel Schiller
02276b1e8c
refactor: start compiler (#5014) 2025-08-23 20:32:03 +02:00
Tanner Linsley
dd2d3ca12f release: v1.132.0-alpha.6 2025-08-22 20:32:31 +00:00
Manuel Schiller
7503cd15a0
fix: change plugin config (#5012) 2025-08-22 22:31:12 +02:00
Tanner Linsley
5451683d52 release: v1.132.0-alpha.5 2025-08-22 04:45:20 +00:00
James Opstad
191e442648
fix: use separate output directories for client and server (#5000)
Co-authored-by: Manuel Schiller <manuel.schiller@caligano.de>
2025-08-22 06:33:34 +02:00
Tanner Linsley
517ab4aa38 release: v1.132.0-alpha.4 2025-08-22 04:11:45 +00:00
Manuel Schiller
805b1d39ae fix tests 2025-08-22 06:06:41 +02:00
Manuel Schiller
a1f37a8589 allow dynamic scrollRestoration config 2025-08-21 20:11:28 +02:00
Manuel Schiller
735b3037e3 formatter & lint 2025-08-21 20:09:09 +02:00
Manuel Schiller
117aac77d1 move start-compiler plugin into separate folder 2025-08-21 20:07:35 +02:00
Manuel Schiller
22ad997f1e fix ScriptOnce to cleanup after itself 2025-08-21 20:07:35 +02:00
Manuel Schiller
6978066604 use correct fallback key 2025-08-21 20:07:35 +02:00
Manuel Schiller
c3258bfbae fix: scroll restoration on the server 2025-08-21 20:07:35 +02:00
Manuel Schiller
769490a48e custom error serialization in server functions 2025-08-21 20:07:35 +02:00
autofix-ci[bot]
453e7cd6df
ci: apply automated fixes 2025-08-20 23:36:12 +00:00
Manuel Schiller
eb62ff636f only stream server function response if necessary 2025-08-21 01:35:20 +02:00
Manuel Schiller
adf7fe5530 add symbol to identify server functions 2025-08-21 01:18:57 +02:00
Tanner Linsley
6524f53e3c release: v1.132.0-alpha.3 2025-08-20 17:10:11 +00:00
Manuel Schiller
7f0cc200a6 Merge remote-tracking branch 'origin/custom-transformers' into HEAD 2025-08-20 19:04:46 +02:00
Manuel Schiller
004b32845f whitelist expected errors 2025-08-20 19:03:14 +02:00
Manuel Schiller
1ab8d26826 Merge remote-tracking branch 'origin/main' into HEAD 2025-08-20 18:32:40 +02:00
Manuel Schiller
4f4d34d2fc use seroval for serverfunctions 2025-08-20 18:26:46 +02:00
Manuel Schiller
4d205d7fb8 move createServerRpc into start-server-core 2025-08-20 18:26:46 +02:00
Manuel Schiller
0bcb4d2af0 re-export createClientRpc 2025-08-20 18:26:46 +02:00
Nico Lynzaad
3e664620d6 resolve test failure 2025-08-20 01:42:00 +02:00
autofix-ci[bot]
9c4606045b
ci: apply automated fixes 2025-08-19 23:01:27 +00:00
Nico Lynzaad
29dfcf9b6e refactor based on coderabbit recommendations 2025-08-20 01:00:28 +02:00
Nico Lynzaad
87d51b9325 formatting 2025-08-19 22:25:00 +02:00
autofix-ci[bot]
3d93911259
ci: apply automated fixes 2025-08-19 20:18:46 +00:00
Nico Lynzaad
ab6f27b83b rersolve inconsistency between solid and react implementation 2025-08-19 22:16:41 +02:00
Nico Lynzaad
41481f760a Merge branch 'main' into relative-routing-to-current-location 2025-08-19 12:39:04 +02:00
autofix-ci[bot]
452f876729
ci: apply automated fixes 2025-08-19 03:32:37 +00:00
Nico Lynzaad
8feb3c0f34 revert change to SolidJS useNavigate 2025-08-19 05:29:00 +02:00
Nico Lynzaad
d3391ea501 Merge branch 'main' into relative-routing-to-current-location 2025-08-19 03:37:00 +02:00
Nico Lynzaad
de884b8e97 consolidate from logic 2025-08-19 03:34:31 +02:00
Nico Lynzaad
8f41f218f5 cleanup tests 2025-08-19 00:12:47 +02:00
Manuel Schiller
29df9cba3c move client server function handling into start-client-core 2025-08-18 22:59:40 +02:00
Manuel Schiller
9bb12fc5d4 clean up example 2025-08-18 19:37:35 +02:00
Manuel Schiller
1158731b51 add e2e test 2025-08-18 19:37:35 +02:00
Manuel Schiller
6959929efc use env var for server fn base 2025-08-18 19:37:35 +02:00
Manuel Schiller
e459efd26c don't duplicate test fixture in e2e tests 2025-08-18 19:37:35 +02:00
Manuel Schiller
43c01fb9d2 rename 2025-08-18 19:37:35 +02:00
Manuel Schiller
f82aaab156 example usage 2025-08-18 00:52:30 +02:00
Manuel Schiller
a75e1913bf custom transformers 2025-08-18 00:52:23 +02:00
autofix-ci[bot]
ad7eea5006
ci: apply automated fixes 2025-08-17 22:12:12 +00:00
Nico Lynzaad
0ae150e41e reactivity and code cleanup 2025-08-18 00:10:32 +02:00
Manuel Schiller
8fec1d3b5c don't check whether $_TSR global is undefined
it must be since the bootstrapping script was injected at the beginning
2025-08-17 23:37:14 +02:00
Nico Lynzaad
f5c5559247 apply code rabbit doc suggestion 2025-08-17 22:22:17 +02:00
Nico Lynzaad
944af34e83 apply code rabbit doc suggestion 2025-08-17 22:15:55 +02:00
autofix-ci[bot]
723540c4c1
ci: apply automated fixes 2025-08-17 20:12:41 +00:00
Nico Lynzaad
983b7cee5c Merge branch 'main' into relative-routing-to-current-location 2025-08-17 22:10:55 +02:00
Nico Lynzaad
0c9b67a0fb apply code rabbit suggestions 2025-08-17 22:06:44 +02:00
Nico Lynzaad
e0b8814b6a resolve merge issue 2025-08-17 21:30:20 +02:00
Nico Lynzaad
d5701da026 Merge branch 'main' into relative-routing-to-current-location
# Conflicts:
#	packages/router-core/src/router.ts
2025-08-17 21:16:53 +02:00
autofix-ci[bot]
44ad37c868
ci: apply automated fixes 2025-08-17 13:50:59 +00:00
Nico Lynzaad
b4d41f89f7 update docs 2025-08-17 15:31:46 +02:00
Nico Lynzaad
745107c9bc replicate changes to Solid 2025-08-17 15:23:55 +02:00
Nico Lynzaad
ba524f121c test cleanup 2025-08-17 14:27:36 +02:00
Nico Lynzaad
55ba9afd9d code cleanup 2025-08-17 14:22:02 +02:00
Nico Lynzaad
9e1b1dd47b some more test refining 2025-08-17 14:06:19 +02:00
Nico Lynzaad
c53266f8f6 update react-router tests 2025-08-17 03:31:02 +02:00
Nico Lynzaad
b8af5756c3 enhance relative navigation from determination 2025-08-17 03:30:24 +02:00
Manuel Schiller
0383286742 Merge remote-tracking branch 'origin/main' into HEAD 2025-08-16 20:19:21 +02:00
Tanner Linsley
39fc80d563 release: v1.132.0-alpha.2 2025-08-16 17:22:18 +00:00
Manuel Schiller
bcfe15e676 Merge remote-tracking branch 'origin/main' into HEAD 2025-08-16 19:14:18 +02:00
Tanner Linsley
1c2977cd47 release: v1.132.0-alpha.1 2025-08-13 21:07:17 +00:00
Manuel Schiller
11e6af28f3 fix optimizeDeps 2025-08-13 22:09:15 +02:00
Tanner Linsley
4266be986c release: v1.132.0-alpha.0 2025-08-12 18:16:03 +00:00
Tanner Linsley
82f309bf98 release: v1.121.0-alpha.28 2025-08-12 17:49:31 +00:00
Manuel Schiller
dce7270434 ignore type error 2025-08-12 19:47:05 +02:00
Manuel Schiller
e77e8173da use custom server in e2e examples 2025-08-12 19:23:59 +02:00
Manuel Schiller
d5b4c3b490 remove unused dep 2025-08-12 19:23:59 +02:00
Manuel Schiller
162edced29 allow to explicitly configure whether to install dev server middleware 2025-08-12 19:23:59 +02:00
Manuel Schiller
6f923a030e fix lint 2025-08-12 19:23:59 +02:00
Manuel Schiller
afd0ec3843 respect base path for client entry script 2025-08-11 21:55:42 +02:00
Manuel Schiller
ae4c98f6d6 response status / statusText handling for server functions 2025-08-11 21:55:42 +02:00
Manuel Schiller
cd112e01e2 update clerk usage 2025-08-11 21:55:42 +02:00
Manuel Schiller
871aa82626 fix example 2025-08-11 21:55:42 +02:00
Manuel Schiller
c0f6a35f17 remove unused exports 2025-08-11 21:55:42 +02:00
Manuel Schiller
4695e16b47 fix e2e test 2025-08-11 21:55:42 +02:00
Manuel Schiller
73499fb1aa fix e2e test 2025-08-11 21:55:41 +02:00
Manuel Schiller
bf51a52910 fix packages 2025-08-11 21:55:41 +02:00
Manuel Schiller
9b783bd007 rename getWebRequest to getRequest 2025-08-11 21:55:41 +02:00
Manuel Schiller
4398f04003 fix snapshots 2025-08-11 21:55:41 +02:00
Manuel Schiller
cc4c4bdadc remove externals 2025-08-11 21:55:41 +02:00
Manuel Schiller
febeddec7a fix packages 2025-08-09 15:02:31 +02:00
Manuel Schiller
79a96a8610 fix response handling 2025-08-09 14:51:47 +02:00
Manuel Schiller
e71485a494 fix solid test 2025-08-09 14:41:35 +02:00
Manuel Schiller
29b8b0c46f docs 2025-08-09 14:38:56 +02:00
autofix-ci[bot]
28c7ce9786
ci: apply automated fixes 2025-08-09 11:09:56 +00:00
Nico Lynzaad
df1e08b897 update test to use new Header type exports 2025-08-09 13:05:02 +02:00
Nico Lynzaad
ee22571131 export ResponseHeaderName and RequestHeaderName 2025-08-09 13:03:29 +02:00
Manuel Schiller
f436579232 Merge remote-tracking branch 'origin/main' into HEAD 2025-08-09 12:13:50 +02:00
autofix-ci[bot]
c8171007a8
ci: apply automated fixes 2025-08-09 10:05:21 +00:00
Nico Lynzaad
5cb57797fd update e2e-tests 2025-08-09 12:04:18 +02:00
Nico Lynzaad
93afcca2fc add wait for networkidle 2025-08-09 03:47:52 +02:00
Manuel Schiller
f5a99c024b fix lockfile 2025-08-09 01:57:27 +02:00
Manuel Schiller
7084afd6e5 bump vitest 2025-08-09 01:55:57 +02:00
Manuel Schiller
adaf70f687 add missing dep 2025-08-09 01:11:07 +02:00
Manuel Schiller
9c7ce78534 fix lint 2025-08-09 01:04:52 +02:00
Manuel Schiller
fa7a554c49 don't reexport invariant/warning 2025-08-09 01:00:47 +02:00
Manuel Schiller
beafcbd212 adapt custom server entry to fetch API interface 2025-08-09 00:50:59 +02:00
Manuel Schiller
2ad7079770 run e2e test via srvx 2025-08-09 00:49:07 +02:00
Manuel Schiller
af0cd986c2 Revert "fix: do not pre-decodeURI before passing to createMemoryHistory (#4893)"
This reverts commit e75531647a.
2025-08-09 00:35:19 +02:00
autofix-ci[bot]
3cd7e27bcd ci: apply automated fixes 2025-08-09 00:12:51 +02:00
Manuel Schiller
65570b794d remove deprecated re-exports 2025-08-09 00:12:51 +02:00
Manuel Schiller
81adebb494 add custom way of signalling we are running the dev server
process.env.NODE_ENV is not available when running the dev server using cloudflare's vite plugin  (and potentially other non-node envs)
2025-08-09 00:12:51 +02:00
Manuel Schiller
6195307326 cleanup 2025-08-09 00:12:51 +02:00
Manuel Schiller
e078c8a443 bump vite 2025-08-09 00:12:51 +02:00
Manuel Schiller
5188b06dbb remove externals from client build config 2025-08-09 00:12:38 +02:00
Manuel Schiller
93da1a9a75 update request/response methods 2025-08-09 00:12:38 +02:00
Manuel Schiller
06e4c4ada2 fix comment 2025-08-09 00:12:38 +02:00
Manuel Schiller
63879f7de3 move static server functions into middleware in separate package 2025-08-09 00:12:38 +02:00
Manuel Schiller
960265ef81 fix tsconfig 2025-08-09 00:12:15 +02:00
Manuel Schiller
9c7c4a3796 fix solid start-basic-static example 2025-08-09 00:12:15 +02:00
Manuel Schiller
1114dea804 dont build CJS for start 2025-08-09 00:12:14 +02:00
Manuel Schiller
570f3db4da merge react/solid-start-vite with react/solid-start packages
avoids a circular dep
2025-08-09 00:12:14 +02:00
Manuel Schiller
c0265b5f56 fix package.json 2025-08-09 00:11:58 +02:00
Manuel Schiller
91e1cc852a fix lockfile 2025-08-09 00:11:58 +02:00
Manuel Schiller
5559095bc9 set TSS_OUTPUT_PUBLIC_DIR 2025-08-09 00:11:58 +02:00
Manuel Schiller
cc9883ebc2 implement failOnError for prerender 2025-08-09 00:11:58 +02:00
Manuel Schiller
0a28926a1c correct import in dev server plugin 2025-08-09 00:11:58 +02:00
Manuel Schiller
6ecc99c73c prerender 2025-08-09 00:11:58 +02:00
Manuel Schiller
1fad8acd45 remove unused dep 2025-08-09 00:11:58 +02:00
Manuel Schiller
de2e5f0b12 formatting 2025-08-09 00:11:58 +02:00
Manuel Schiller
ce029d043c do not share client bundle via global 2025-08-09 00:11:58 +02:00
Manuel Schiller
687b836cb9 configure default output dirs 2025-08-09 00:11:58 +02:00
Manuel Schiller
996ddffe9d move entry resolution to separate file 2025-08-09 00:11:58 +02:00
Manuel Schiller
fa1a1daedd checkpoint 2025-08-09 00:11:58 +02:00
Manuel Schiller
e4d4a38657 remove commented out externals 2025-08-09 00:11:58 +02:00
Manuel Schiller
1520e9f001 migrate to h3 v2 2025-08-09 00:11:58 +02:00
Manuel Schiller
0e30ec1229 cleanup 2025-08-09 00:11:58 +02:00
Manuel Schiller
c4b217f578 use virtual module for injected head scripts instead of globalThis 2025-08-09 00:11:58 +02:00
Manuel Schiller
e9acd376ba rename plugin 2025-08-09 00:11:58 +02:00
Manuel Schiller
8812cb2661 bump vite version to 7 2025-08-09 00:11:58 +02:00
Manuel Schiller
4d0eca241a bump vite-plugin-solid
this brings compatibility with vite 7
2025-08-09 00:11:38 +02:00
Manuel Schiller
db0236cad4 dont autoconfigure react/solid vite plugin anymore 2025-08-09 00:11:38 +02:00
11362 changed files with 101632 additions and 792611 deletions

17
.gitignore vendored

Some files were not shown because too many files have changed in this diff Show more