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

4,371 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) v1.121.0-alpha.0
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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