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

3,176 commits

Author SHA1 Message Date
chorobin
1862270510 refactor: allow nested optional params 2025-05-11 21:19:48 +02:00
chorobin
c7dd9584a7 chore: work in progress 2025-05-09 23:00:29 +02:00
chorobin
2def055219 Merge remote-tracking branch 'origin/devinxi' into devinxi-parse-path-params 2025-05-09 09:34:33 +02:00
SeanCassiere
7e1b346ddc
lint errors for start-compiler-plugin 2025-05-09 13:44:24 +12:00
SeanCassiere
7086c9bb84
update generator file-tree-modification to test files to use new syntax 2025-05-09 13:42:20 +12:00
SeanCassiere
603d6ebfea
generator add ts-nocheck to test file 2025-05-09 13:41:28 +12:00
Manuel Schiller
e52b59f44e dont use .js extension 2025-05-09 01:50:52 +02:00
chorobin
eddf1b81be chore: remove unnecessary types 2025-05-09 01:32:52 +02:00
Manuel Schiller
7ea43e0452 disable unit test execution 2025-05-09 01:30:34 +02:00
chorobin
1539d12202 feat: initial parsing of path params 2025-05-09 01:28:52 +02:00
Manuel Schiller
d3024394f2 run code generator and format 2025-05-09 01:23:12 +02:00
Manuel Schiller
d4433ba1d4 module augementation for lazy file routes in generator, replace brackets in templates 2025-05-09 01:14:16 +02:00
Manuel Schiller
8b97bbefb6 fix eslint/typescript 5.3 2025-05-09 00:32:07 +02:00
Manuel Schiller
ba5501c67b fix ValidateRedirectOptions 2025-05-09 00:19:52 +02:00
Manuel Schiller
f14d5c7710 fix eslint 2025-05-09 00:04:02 +02:00
Manuel Schiller
a8620f3ed1 apply type optimizations from main 2025-05-08 23:51:43 +02:00
Manuel Schiller
33442d0247 fix missing import 2025-05-08 23:49:31 +02:00
Manuel Schiller
d180d06a42 Merge remote-tracking branch 'origin/main' into HEAD 2025-05-08 23:44:22 +02:00
Manuel Schiller
732d750dc2 fix type tests 2025-05-08 23:42:21 +02:00
Manuel Schiller
10a8680381 dont emit tsc for the start plugins 2025-05-08 23:37:34 +02:00
Manuel Schiller
68b764f0dc dont use .js imports 2025-05-08 23:34:01 +02:00
Tanner Linsley
14be184843 release: v1.120.3 2025-05-08 21:15:31 +00:00
Christopher Horobin
32511d11c7
perf: improve type checking performance of Route.Link (#4117) 2025-05-08 23:14:15 +02:00
Manuel Schiller
13ee43fd46 fix(start-plugin-core): fix types 2025-05-08 21:54:07 +02:00
Manuel Schiller
6f8bb6dd70 fix start-plugin-core unit test 2025-05-08 21:45:33 +02:00
Birk Skyum
c89099ab49 routeTree for solid start exampels 2025-05-08 19:32:55 +02:00
Manuel Schiller
1b1fa7d7a2 fix formatting 2025-05-08 19:29:05 +02:00
Manuel Schiller
da23539fec consolidate start plugin even more 2025-05-08 18:27:19 +02:00
Manuel Schiller
f6a79b9d97 proper HMR handling for file routes 2025-05-08 18:27:19 +02:00
SeanCassiere
3b4a782ab7
disable serverTypes for js-only 2025-05-08 13:00:48 +12:00
SeanCassiere
6f8a93432d
patch tests for start-plugin-core 2025-05-08 12:41:26 +12:00
Manuel Schiller
18966b1156 fix import 2025-05-08 01:14:05 +02:00
Manuel Schiller
b1a1c1a82d consolidate start plugin 2025-05-08 01:11:59 +02:00
Manuel Schiller
9576165b61 remove unused plugins 2025-05-07 23:19:27 +02:00
SeanCassiere
226449258c
remove ./api 2025-05-08 08:56:01 +12:00
Manuel Schiller
2027c50877 delete start-api-routes 2025-05-07 22:49:40 +02:00
Manuel Schiller
19ec25fa64 remove create-start e2e tests 2025-05-07 22:49:39 +02:00
SeanCassiere
e7569ce2e3
fix conflicts 2025-05-08 08:04:38 +12:00
SeanCassiere
c07c4d26f5
log possibilities for optionals and escaped chars 2025-05-08 07:55:16 +12:00
Tanner Linsley
163aaa33f2 release: v1.120.2 2025-05-06 23:32:39 +00:00
Christopher Horobin
f6be2df066
perf: improve ts perf for Route.Link (#4104) 2025-05-07 01:31:10 +02:00
SeanCassiere
e232dc0ade
switch to the simplified path syntax
refactor the path matching to use a simplified/more
user readable way of writing the `to` values for
routes with a prefix and/or suffix.

it goes from being `/foo/prefix${foo}suffix` and
`/docs/prefix${$}suffix`

to `/foo/prefix{$foo}suffix` and `/docs/prefix{$}suffix`
2025-05-07 10:59:10 +12:00
SeanCassiere
0588209bd2
tests for the generator 2025-05-07 10:59:09 +12:00
SeanCassiere
51d5220885
parenthesis should be empty?
leaving it empty for now, since we use them for
route groups
2025-05-07 10:59:09 +12:00
SeanCassiere
2ffd4bd05a
make routePathToVariable safe with special characters 2025-05-07 10:59:08 +12:00
SeanCassiere
e869cdd903
make prefix and suffix work for file-based routing 2025-05-07 10:59:08 +12:00
SeanCassiere
865cfcb727
modify resolvePath to handle params with optional prefix/suffix 2025-05-07 10:59:08 +12:00
SeanCassiere
6ce62ac153
rank the routes with prefix/suffixes higher 2025-05-07 10:59:08 +12:00
SeanCassiere
a5a8f83809
test for being able to also only use the curly brace syntax 2025-05-07 10:59:07 +12:00
SeanCassiere
d26331b515
use regex and keep variable instantiation outside of scope 2025-05-07 10:59:07 +12:00