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

4,433 commits

Author SHA1 Message Date
Manuel Schiller
c179eea562 fix(router-generator): don't use backticks as quotes when transforming 2025-06-10 18:55:14 +02:00
Tanner Linsley
f5e9bf967f release: v1.121.0-alpha.26 v1.121.0-alpha.26 2025-06-09 18:45:10 +00:00
Manuel Schiller
8bbf7c7341
refactor: generator (#4337)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-09 20:43:38 +02:00
Tanner Linsley
a1226397ce release: v1.121.0-alpha.25 v1.121.0-alpha.25 2025-06-05 20:27:45 +00:00
Iñaki Larramendi
3827b03dca
fix: Preload assets on windows (#4324)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-05 22:20:32 +02:00
Tanner Linsley
273fa8b24b release: v1.121.0-alpha.24 v1.121.0-alpha.24 2025-06-03 20:15:01 +00:00
Manuel Schiller
5ea0dc74df
fix: don't add all @tanstack packages to noExternal (#4312) 2025-06-03 22:13:34 +02:00
SeanCassiere
17a3b42411
docs(start): remove example of Server Routes client callers
fixes #4275
2025-06-02 11:36:02 +12:00
Tanner Linsley
dec25aa9da release: v1.121.0-alpha.23 v1.121.0-alpha.23 2025-06-01 21:32:39 +00:00
Manuel Schiller
3f700bff19
fix: exclude virtual modules from optimizeDeps (#4295)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
fixes #4285
fixes #4195
fixes #4182
2025-06-01 23:31:22 +02:00
Tanner Linsley
f290ac945b release: v1.121.0-alpha.22 v1.121.0-alpha.22 2025-06-01 16:16:13 +00:00
Manuel Schiller
7c2bc2f334
fix: make route HMR handling robust against route deletion (#4291)
fixes #4289
2025-06-01 18:14:56 +02:00
Manuel Schiller
6a9738618a
chore: merge main (#4283) 2025-05-30 23:48:25 +02:00
Tanner Linsley
baef562d39 release: v1.121.0-alpha.21 v1.121.0-alpha.21 2025-05-30 07:31:05 +00:00
Hiển Đào Vinh
df8e5ccd12
fix(start-plugin-core): add a defensive check for node.fullPath (#4278) 2025-05-30 09:25:01 +02:00
Tanner Linsley
c955595bca release: v1.121.0-alpha.20 v1.121.0-alpha.20 2025-05-29 21:39:39 +00:00
Manuel Schiller
d3beb4728b
refactor: types for server routes (#4272)
Co-authored-by: chorobin <chrishorobin@hotmail.com>
2025-05-29 23:38:21 +02:00
Sean Cassiere
423f6c0e9b
chore(start-plugin-core): reorganize and centralize the plugin orchestration (#4266) 2025-05-29 11:08:59 +12:00
Tanner Linsley
6d500133d6 release: v1.121.0-alpha.19 v1.121.0-alpha.19 2025-05-28 08:21:54 +00:00
Sean Cassiere
a02afb6719
feat(start-plugin-core): load all environment variables for dev (#4262) 2025-05-28 20:20:45 +12:00
Sean Cassiere
f8ca2a6fd3
chore(start-plugin-core): add comments for internal (#4261) 2025-05-28 19:43:31 +12:00
Tanner Linsley
e578e5f341 release: v1.121.0-alpha.18 v1.121.0-alpha.18 2025-05-28 02:07:35 +00:00
SeanCassiere
6832dbbf86
refactor(start-plugin-core): rename output to route-assets-manifest
making this change so that in the future, we
could move the routes manifest (currently, in
the form of comments) in the generated
route-tree, to live somewhere in here the
`.tanstack-start` directory
2025-05-28 13:58:28 +12:00
Tanner Linsley
b74d5f267d release: v1.121.0-alpha.17 v1.121.0-alpha.17 2025-05-27 08:08:40 +00:00
Sean Cassiere
5ce936ff46
fix: support usage of a prefixed a base path (#4258)
Fixes #4221
2025-05-27 20:07:24 +12:00
Tanner Linsley
e95834e5aa release: v1.121.0-alpha.16 v1.121.0-alpha.16 2025-05-26 02:26:44 +00:00
Iñaki Larramendi
5aa3424373
fix(start-plugin-core): recursively import CSS assets (#4254)
Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-05-26 14:20:07 +12:00
Tanner Linsley
7e7b4366b4 release: v1.121.0-alpha.15 v1.121.0-alpha.15 2025-05-25 01:15:12 +00:00
Sean Cassiere
e165d602b0
refactor: rename internal functions and limit deploy bundler defaults (#4253) 2025-05-25 13:13:56 +12:00
Tanner Linsley
b3dae311cc release: v1.121.0-alpha.14 v1.121.0-alpha.14 2025-05-24 23:16:07 +00:00
Manuel Schiller
91ef1b0252
fix: dynamically import virtual modules (#4252) 2025-05-25 01:13:42 +02:00
Manuel Schiller
35d9c60b55
merge main into alpha (#4251)
Co-authored-by: Dane Grant <danecando@gmail.com>
Co-authored-by: Birk Skyum <74932975+birkskyum@users.noreply.github.com>
Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
Co-authored-by: Luis Merino <mail@luismerino.name>
Co-authored-by: ThaumRystra <9525416+ThaumRystra@users.noreply.github.com>
Co-authored-by: Tanner Linsley <tannerlinsley@users.noreply.github.com>
Co-authored-by: Adam Hunter <arhunter@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Leonardo Montini <lion.48m@gmail.com>
Co-authored-by: Joel Tannas <jtannas@gmail.com>
Co-authored-by: scarf <greenscarf005@gmail.com>
Co-authored-by: Christopher Horobin <chrishorobin@hotmail.com>
Co-authored-by: Lenz Weber-Tronic <lorenz.weber-tronic@apollographql.com>
2025-05-24 20:11:43 +02:00
Tanner Linsley
618b91fdd5 release: v1.121.0-alpha.13 v1.121.0-alpha.13 2025-05-24 10:26:13 +00:00
Yeoh Joer
aa94daaa19
fix: normalize router filepath (#4247)
Fixes #4243
2025-05-24 12:20:17 +02:00
Tanner Linsley
aea93b4210 Squashed commit of the following:
commit 086f8e500d39c874cb1dc6af159d2e66ae6fca08
Author: Tanner Linsley <tannerlinsley@gmail.com>
Date:   Fri May 23 23:37:40 2025 -0600

    docs: fix documentation links
2025-05-24 00:44:38 -06:00
Tanner Linsley
100560f996 release: v1.121.0-alpha.12 v1.121.0-alpha.12 2025-05-23 12:19:24 +00:00
Sean Cassiere
8895961316
refactor: move resolution of virtual entry handlers to core (#4238) 2025-05-24 00:18:06 +12:00
Tanner Linsley
4bdeda8aeb release: v1.121.0-alpha.11 v1.121.0-alpha.11 2025-05-23 05:32:14 +00:00
Tanner Linsley
5a3f7adcb8
fix: better unsafeRelative, support router.navigate() (#4236) 2025-05-22 23:30:41 -06:00
Tanner Linsley
bcbd08a68a release: v1.121.0-alpha.10 v1.121.0-alpha.10 2025-05-23 02:45:47 +00:00
Sean Cassiere
496fac3efc
fix: make sitemap accessible via public assets (#4235) 2025-05-23 14:44:40 +12:00
Tanner Linsley
fad6b0be74 release: v1.121.0-alpha.9 v1.121.0-alpha.9 2025-05-22 23:50:36 +00:00
Yeoh Joer
42e075cdf5
fix(start-plugin-core): prepend /@fs when a custom client entry is detected (#4184) 2025-05-23 11:44:39 +12:00
Tanner Linsley
dd34efe87f release: v1.121.0-alpha.8 v1.121.0-alpha.8 2025-05-22 22:26:00 +00:00
Sean Cassiere
baf6a52e2e
feat(server-functions-plugin): make the manifest output path configurable (#4232)
As part of the devinxi changes, the following hard-coded output
path of the server functions manifest file was changed.

This would have had breaking changes in the user DX for downstream
frameworks building upon the `@tanstack/server-functions-plugin`
package - (i.e. SolidStart).

This change makes the output path of the manifest file for the
`server-functions-plugin` package, configurable.
2025-05-23 10:24:39 +12:00
Tanner Linsley
f06a29b262 release: v1.121.0-alpha.7 v1.121.0-alpha.7 2025-05-22 21:47:33 +00:00
Sean Cassiere
8a76fa7102
refactor: consistent virtual module naming and resolve using Rollup conventions (#4226)
Renames the following virtual modules as such to have them be both
consistent and more easily readable should there be an error when
importing them.

| Before | After |
|--------|--------|
| `tanstack:server-fn-manifest` | `tanstack-start-server-fn-manifest:v` |
| `tanstack:start-manifest` | `tanstack-start-router-manifest:v` |
| `tanstack:server-rotues` | `tanstack-start-server-routes-manifest:v` | 

Additionally, the [Rollup convention for resolving virtual modules](https://vite.dev/guide/api-plugin#virtual-modules-convention) is being applied to these modules.
2025-05-23 09:46:03 +12:00
Tanner Linsley
a769bc9948 fix: all tests 2025-05-21 15:31:21 -06:00
Tanner Linsley
b8db2d9d4a fix: one more test 2025-05-21 15:13:19 -06:00
Tanner Linsley
7670d79977 release: v1.121.0-alpha.6 v1.121.0-alpha.6 2025-05-21 20:43:32 +00:00