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

Compare commits

...

75 commits

Author SHA1 Message Date
autofix-ci[bot]
60e9c2b82a
ci: apply automated fixes 2025-05-16 18:12:39 +00:00
Manuel Schiller
74628da0a6 fix: head execution
1. execute head also when loader throws
2. don't execute head upon preload
3. execute head also when loader was not executed
2025-05-16 20:10:45 +02:00
Manuel Schiller
15b8ed6af3
chore: various fixes (#4187)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-16 19:51:24 +02:00
Tanner Linsley
fda41798f8 release: v1.120.4-alpha.25 2025-05-16 12:53:27 +00:00
Sean Cassiere
9e0d2d6d81
fix(start-plugin-core): enable pre-rendering with just pages (#4185)
Pre-rendering should be enabled, if any of the `config.pages` specify
that it should be
(i.e `config.pages = [{ path: '/posts', prerender: { enabled: true } }]`.

However, if the user has explicitly set `config.prerender.enabled = false`,
then even `config.pages` will NOT override the global
`config.prerender.enabled` setting.
2025-05-17 00:52:04 +12:00
Tanner Linsley
7a6cbeeec8 release: v1.120.4-alpha.24 2025-05-16 10:30:30 +00:00
Sean Cassiere
f43056085c
feat(start-server-core): resolve relative requests to the same origin (#4183)
Adds in the same "interceptor" functionality which `undici` previously fulfilled.
2025-05-16 22:29:20 +12:00
Tanner Linsley
cb21bb52e0 release: v1.120.4-alpha.23 2025-05-15 23:42:22 +00:00
Sean Cassiere
b339e6721f
fix: resolve custom client entry path on windows fs (#4181) 2025-05-16 11:40:59 +12:00
Tanner Linsley
7cf6487c55 release: v1.120.4-alpha.22 2025-05-15 22:54:58 +00:00
Yeoh Joer
f209861069
fix: resolve custom server entry path on windows fs (#4180)
Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-05-16 10:48:39 +12:00
Tanner Linsley
b5affb2631 release: v1.120.4-alpha.21 2025-05-15 21:42:53 +00:00
Tanner Linsley
b424cadc8a
fix: no @fs in dev for client entry (#4179) 2025-05-15 15:41:28 -06:00
Tanner Linsley
4aa766b988 release: v1.120.4-alpha.20 2025-05-15 20:42:37 +00:00
Tanner Linsley
b9017930f7
fix: spa-mode (#4177) 2025-05-15 14:30:34 -06:00
Tanner Linsley
52cdc7edef release: v1.120.4-alpha.19 2025-05-15 17:48:37 +00:00
Tanner Linsley
7f5ba879c1
fix: relative runtime navigation (#4174)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-15 11:47:22 -06:00
autofix-ci[bot]
5f8506bb3f
ci: apply automated fixes 2025-05-15 14:02:21 +00:00
Birk Skyum
f940f850d5 docs(server.ts/ssr.ts): cleanup redundant files and update docs 2025-05-15 16:01:17 +02:00
Tanner Linsley
fbfd8019a5 release: v1.120.4-alpha.18 2025-05-15 04:05:34 +00:00
Sean Cassiere
16705fab53
fix: resolve custom client and server entry paths (#4172)
This PR fixes it, so that a user can define a custom framework entry for both
the `client` and `server` (in either `src/client.tsx` or `src/server.tsx`).

This PR also removes the unneeded `src/server.ts` files present as part of the
`devinxi` migration.

Additionally, the React client entry has been change to wrap `hydrateRoot`
with `startTransition`. This change useful, since after the SSR-rendered
markup is sent to the client, `startTransition` lets React know to defer the
hydration in favor of user events.

fixes #4138
2025-05-15 16:04:03 +12:00
Sean Cassiere
0cca04906f
chore: dedupe and fix lockfile (#4171) 2025-05-15 14:04:19 +12:00
Tanner Linsley
595b0d0fe9 release: v1.120.4-alpha.17 2025-05-14 23:00:08 +00:00
Tanner Linsley
14bcc58065 fix: recover from server pathname mismatch 2025-05-14 16:53:49 -06:00
Birk Skyum
475556e1ca docs(solid-start): fix server routes docs 2025-05-14 20:52:16 +02:00
Birk Skyum
9fd42904e5 docs(solid-start): correctly set link to spa-shell 2025-05-14 20:50:46 +02:00
Tanner Linsley
063ccf6115 release: v1.120.4-alpha.16 2025-05-13 22:53:57 +00:00
Manuel Schiller
1417d177c6
fix: ensure compatibility with vite plugins that don't support the vite environment API (#4167)
fixes #4132
2025-05-14 00:51:42 +02:00
Tanner Linsley
3cbd11adfe release: v1.120.4-alpha.15 2025-05-13 22:34:01 +00:00
Tanner Linsley
f727dac6b7 fix: nitro-plugin types 2025-05-13 16:28:04 -06:00
Tanner Linsley
10eed5fa08 fix: Do not default to shell mode 2025-05-13 16:12:57 -06:00
autofix-ci[bot]
4225562463
ci: apply automated fixes 2025-05-13 21:31:49 +00:00
Birk Skyum
1e894bc011 solidjs shell mode 2025-05-13 23:30:47 +02:00
Tanner Linsley
273c4c1ecd feat: shell mode 2025-05-13 11:25:31 -06:00
Tanner Linsley
0a661471aa release: v1.120.4-alpha.14 2025-05-13 17:17:47 +00:00
Manuel Schiller
2559877826
fix: remove undici (#4168) 2025-05-13 19:16:45 +02:00
Birk Skyum
a153fdad4c docs(start): update src path for images 2025-05-13 16:14:15 +02:00
Tanner Linsley
55e54e1edb release: v1.120.4-alpha.13 2025-05-12 23:36:04 +00:00
Ryan Gillie
4e0638bd65
feat(react-start): Wrap default client entry with <StrictMode> (#4159)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-13 01:31:31 +02:00
Manuel Schiller
abb047ec40
fix: remove unused header (#4160) 2025-05-13 01:31:22 +02:00
Jaga Santagostino
c81090d02e
docs(start): document that serverFn can be used in server routes (#4152)
Co-authored-by: Manuel Schiller <manuel.schiller@caligano.de>
2025-05-13 00:29:38 +02:00
Tanner Linsley
6d428d3602 release: v1.120.4-alpha.12 2025-05-12 22:20:03 +00:00
Manuel Schiller
9882e3031f
fix: properly handle redirects thrown by server functions (#4156)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-13 00:18:53 +02:00
Tanner Linsley
6f764c2a21 release: v1.120.4-alpha.11 2025-05-12 21:05:05 +00:00
Manuel Schiller
3f33f04a29
fix: remove set/get global origin (#4157)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
fixes #4141
fixes #4153
2025-05-12 23:03:53 +02:00
Manuel Schiller
418fac9f24 docs: update build from scratch 2025-05-12 21:55:21 +02:00
Manuel Schiller
e6fab6a445
docs(start): server-routes (#4155) 2025-05-12 19:59:22 +02:00
Ryan Gillie
6bde41fdf5
docs(start): Server Functions can be called from Server Routes (#4154) 2025-05-12 19:25:14 +02:00
Tanner Linsley
8d4a7e8b7f release: v1.120.4-alpha.10 2025-05-11 22:32:04 +00:00
Christopher Horobin
9f63d404e4
feat(router-core): type level parsing of path params (#4144) 2025-05-12 00:30:55 +02:00
Tanner Linsley
32f1a8bdc9 release: v1.120.4-alpha.9 2025-05-11 21:56:14 +00:00
Sean Cassiere
ac7db71d4f
fix(start-plugin-core): remove backslashes from declaration import (#4149) 2025-05-12 09:55:03 +12:00
Saša Šijak
62a044eff2
docs(start): remove validators from "server routes" guide (#4148) 2025-05-12 09:42:38 +12:00
Tanner Linsley
4533d30600 release: v1.120.4-alpha.8 2025-05-11 21:35:12 +00:00
Sean Cassiere
94c12845ad
refactor(start-server-core): use utility functions from router-core (#4147) 2025-05-12 09:34:06 +12:00
Tanner Linsley
65422872a8 release: v1.120.4-alpha.7 2025-05-11 21:24:02 +00:00
Manuel Schiller
565c8a0e74 chore: lint 2025-05-11 23:18:26 +02:00
autofix-ci[bot]
bef4dabd83
ci: apply automated fixes 2025-05-12 09:04:58 +12:00
MoeedDar
d5c2e6dd02
fix(start-server-core): appending headers to immutable response object + matching server function handler route on Windows (#4146) 2025-05-12 09:04:40 +12:00
Tanner Linsley
a57676eacb release: v1.120.4-alpha.6 2025-05-11 02:21:32 +00:00
Sean Cassiere
20937af4ac
fix(start-plugin-core): include "vite/client" types (#4139) 2025-05-11 14:20:16 +12:00
Tanner Linsley
016e5f0089 release: v1.120.4-alpha.5 2025-05-11 01:41:27 +00:00
Sean Cassiere
94400a2a5d
fix(start-plugin-core): patches for Virtual Routes in Server Routes (#4137)
Only import `routeCode` if `node.fullPath` is available.
2025-05-11 13:39:56 +12:00
Tanner Linsley
ef337e70b2 release: v1.120.4-alpha.4 2025-05-11 00:14:02 +00:00
Sean Cassiere
35f6520eb2
fix(router-generator): exit conditions when using verboseFileRoutes (#4136) 2025-05-11 12:12:54 +12:00
Tanner Linsley
99a944b797 release: v1.120.4-alpha.3 2025-05-10 23:45:42 +00:00
Sean Cassiere
736a572cc7
fix: declare vite as a peerDependency (#4135)
Currently, none of the packages (i.e `packages/*`) need `vite`
bundled as a `dependency`. So its been moved to the
`devDependencies` and had the version opened using
`"peerDependencies": { "vite": ">=6.0.0" }`.

Additionally, `vite` has been added as a `dependency` to
the Start end-to-end sandboxes.

In a later PR, `vite` will need to be added to all the
TanStack Start examples (i.e. `examples/**/start-*`).
2025-05-11 11:44:17 +12:00
Tanner Linsley
c997f90c15 release: v1.120.4-alpha.2 2025-05-10 17:35:23 +00:00
Iha Shin (신의하)
82d14bda95
docs(start): Fix contents outdated by Devinxi (#4125) 2025-05-10 19:32:09 +02:00
Iha Shin (신의하)
e3fd36bbce
fix: clean up Vite versions (#4130) 2025-05-10 19:19:33 +02:00
Tanner Linsley
bc2dfa1210 release: v1.120.4-alpha.1 2025-05-10 14:39:52 +00:00
Manuel Schiller
0b7aefdc3c fix: RELEASE_ALL
RELEASE_ALL
2025-05-10 16:19:13 +02:00
Tanner Linsley
1ceda304ef release: v1.20.3-alpha.1 2025-05-10 12:58:56 +00:00
Manuel Schiller
6e5b7a34eb fix: RELEASE_ALL
RELEASE_ALL
2025-05-10 14:57:36 +02:00
Tanner Linsley
855b03f990
Devinxi (#4111) 2025-05-10 14:54:51 +02:00
1930 changed files with 33296 additions and 23629 deletions

12
.gitignore vendored

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