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

4,735 commits

Author SHA1 Message Date
Manuel Schiller
05f381f66e update request/response methods 2025-08-08 00:42:07 +02:00
Manuel Schiller
0099eefddc fix comment 2025-08-08 00:42:07 +02:00
Manuel Schiller
4733435527 move static server functions into middleware in separate package 2025-08-08 00:42:07 +02:00
Manuel Schiller
d427bbb25a fix tsconfig 2025-08-08 00:41:27 +02:00
Manuel Schiller
99a8b62aa3 fix solid start-basic-static example 2025-08-08 00:41:27 +02:00
Manuel Schiller
f714c51669 dont build CJS for start 2025-08-08 00:41:27 +02:00
Manuel Schiller
85695c5795 merge react/solid-start-vite with react/solid-start packages
avoids a circular dep
2025-08-08 00:41:27 +02:00
Manuel Schiller
3533c88638 fix package.json 2025-08-08 00:41:05 +02:00
Manuel Schiller
b42346ab88 fix lockfile 2025-08-08 00:41:05 +02:00
Manuel Schiller
0dd723d201 set TSS_OUTPUT_PUBLIC_DIR 2025-08-08 00:41:05 +02:00
Manuel Schiller
64fa97eaf5 implement failOnError for prerender 2025-08-08 00:41:05 +02:00
Manuel Schiller
5154aef17f correct import in dev server plugin 2025-08-08 00:41:05 +02:00
Manuel Schiller
c733c05a83 prerender 2025-08-08 00:41:05 +02:00
Manuel Schiller
2601e7515a remove unused dep 2025-08-08 00:41:04 +02:00
Manuel Schiller
11d8cfa192 formatting 2025-08-08 00:41:04 +02:00
Manuel Schiller
a595c8597d do not share client bundle via global 2025-08-08 00:41:04 +02:00
Manuel Schiller
558a0b6841 configure default output dirs 2025-08-08 00:41:04 +02:00
Manuel Schiller
5fed7bc91a move entry resolution to separate file 2025-08-08 00:41:04 +02:00
Manuel Schiller
fdf3a3711d checkpoint 2025-08-08 00:41:04 +02:00
Manuel Schiller
c4380acee7 remove commented out externals 2025-08-08 00:41:04 +02:00
Manuel Schiller
ec2d31b4ea migrate to h3 v2 2025-08-08 00:41:04 +02:00
Manuel Schiller
630ef2cf22 cleanup 2025-08-08 00:41:04 +02:00
Manuel Schiller
d0df5aa10a use virtual module for injected head scripts instead of globalThis 2025-08-08 00:41:04 +02:00
Manuel Schiller
f627e14a4a rename plugin 2025-08-08 00:41:03 +02:00
Manuel Schiller
c6601f8459 bump vite version to 7 2025-08-08 00:41:03 +02:00
Manuel Schiller
88418ec2ce bump vite-plugin-solid
this brings compatibility with vite 7
2025-08-08 00:41:03 +02:00
Manuel Schiller
0a7c4e61ae dont autoconfigure react/solid vite plugin anymore 2025-08-08 00:41:03 +02:00
Tanner Linsley
bb5206ada4 release: v1.130.16 v1.130.16 2025-08-07 21:38:28 +00:00
Ali Idrizi
2cfadef90d
fix(router-generator): use the tmpDir when genearting a temporary filename (#4882) 2025-08-07 23:32:57 +02:00
Diogo Lessa
8efac91d6d
docs(router): fix typo in overview.md (#4863) 2025-08-03 20:37:07 +02:00
Zack
2ca59db492
examples: removes Tailwind from start-bare example (#4809)
The `start-bare` example includes Tailwind with a broken config (missing
`tailwindcss()` in vite.config.ts plugins), which contradicts the 'bare'
concept. Since `start-tailwind-v4` already provides a properly
configured Tailwind example, this PR removes Tailwind from `start-bare`
to make it actually bare.
2025-08-02 14:40:12 +02:00
Kilian Finger
57bac254f2
examples: @mui/material example re-add ssr.noExternal to vite config (#4861)
Fixes #4857
2025-08-02 11:44:38 +02:00
Tanner Linsley
2b20bfb6ca release: v1.130.15 v1.130.15 2025-08-02 05:33:26 +00:00
Manuel Schiller
85cba5526d
fix: do not create temp subdirectories for router generator (#4860) 2025-08-02 07:28:09 +02:00
Tanner Linsley
34014c6203 release: v1.130.14 v1.130.14 2025-08-02 05:04:00 +00:00
Manuel Schiller
6e191fdd83
fix: account for exports being a string (#4859)
fixes #4858
2025-08-02 07:00:05 +02:00
Adam Bouqdib
75615f3994
docs(start): fix cloudflare-workers deployment using wrangler.toml (#4779) 2025-08-02 13:07:49 +12:00
Tanner Linsley
e8599c6c66 release: v1.130.13 v1.130.13 2025-08-02 00:59:53 +00:00
JamesHyot
12732fed48
refactor(router-devtools-core): allow styling of TanStackRouterDevtoolsPanel (#4671) 2025-08-02 12:54:14 +12:00
Tanner Linsley
cd1de7edb7 release: v1.130.12 v1.130.12 2025-08-01 20:38:24 +00:00
Manuel Schiller
db2b2c4bfc
fix: do not add ESM deps to optimizeDeps without a '.' export (#4855) 2025-08-01 22:30:15 +02:00
Manuel Schiller
4e2605a26d
chore: bump typescript version (#4853) 2025-08-01 22:30:02 +02:00
Tanner Linsley
eb4d982605 release: v1.130.11 v1.130.11 2025-08-01 17:37:00 +00:00
Flo
c1f6dfe0ac
fix(router-core): processRouteTree orders routes w/ prefix / suffix based on their lengths (#4850)
When ordering routes to determine "which one will match in priority", we
try to follow the "more specific 1st" principle.

Currently, 2 routes with the same pattern, but with prefixes of
different lengths, are counted as having the same specificity, and thus
are not re-ordered. For example:
- `/f{$param}`
- `/foo{$param}`

In this case, assuming `f{$param}.tsx` is returned 1st by the OS when
listing route files (which it is by alphabetical order), a path
`/foobar` will match `/f{$param}`.

This PR proposes we take the `length` of the `prefix` and `suffix` into
account when sorting routes. In this example this would mean
`/foo{$param}` takes priority because it is considered more specific.
2025-08-01 19:30:52 +02:00
Tanner Linsley
9061654052 release: v1.130.10 v1.130.10 2025-08-01 08:18:41 +00:00
Chris
7c6b5752ea
refactor(router-core,start-server-core): improve JSDocs for redirect (#4848)
Co-authored-by: Christopher Menendez <chris@Christophers-MacBook-Pro.local>
2025-08-01 20:13:06 +12:00
Chris
d5fd30f98a
docs(router): update URL for Query (#4849)
Co-authored-by: Christopher Menendez <chris@Christophers-MacBook-Pro.local>
2025-08-01 20:12:50 +12:00
Nico Lynzaad
cb0478a2a8
docs(router): usage of "." and ".." for relative navigation (#4846) 2025-08-01 20:12:42 +12:00
Lee
3ca2a293b2
docs(router): usage of routeFilePrefix for file-based routing (#4845) 2025-08-01 20:12:30 +12:00
Dimitris Karagiannis
f3a594794a
docs(router): list preload as navigation cause value (#4825) 2025-08-01 20:12:21 +12:00