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

98 commits

Author SHA1 Message Date
Birk Skyum
5438653d7e
bump srvx 0.10.0 (#6257)
* bump srvx 0.10.0

* adjust types

* lint
2025-12-30 17:36:17 +01:00
Caleb Cox
337b740cb9
feat: enable async serverFn validation (#5583) 2025-12-27 17:25:08 +01:00
Manuel Schiller
680671cce8
feat: RawStream (#6231)
* feat: RawStream

* framed json response is not newline split

* avoid code duplication in tests

* actually defer promise

* fix empty stream

* hardening

* optimization

* stream counter

* fix cancellation

* lint

* fix test

* stabilize tests

* stabilize tests

* fix(e2e): add hydration delay for SSR mixed stream test

In CI, hydration takes longer so reader.read() can hang if called
before seroval's stream factory connects callbacks. 100ms delay
ensures stream is ready to be consumed.

* skip test when prerendering
2025-12-27 15:57:16 +01:00
Tanner Linsley
a289d71f3d
fix: refactor middleware (#5517)
Co-authored-by: Manuel Schiller <manuel.schiller@caligano.de>
2025-12-27 01:06:32 +01:00
Manuel Schiller
af9ef262a9
fix: revert rewrite fix (#6211) 2025-12-25 00:21:29 +01:00
Manuel Schiller
7f0b79cb83
refactor: consolidate start compiler (#6210) 2025-12-24 23:39:46 +01:00
Manuel Schiller
17c07d9369
fix: rewrite causes infinite redirects (#6201) 2025-12-23 12:37:09 +01:00
Manuel Schiller
c504bd2c4d
fix: compiler handles type-only exports (#6199) 2025-12-23 08:53:47 +01:00
Manuel Schiller
97d9f30c69
feat: remove ClientOnly children from server build (#6193) 2025-12-23 08:40:43 +01:00
Manuel Schiller
3c994c47a8
fix: serial head execution (#6093) 2025-12-23 03:21:30 +01:00
Manuel Schiller
c1d6c33aed
fix: compile factories (#6188) 2025-12-23 00:47:47 +01:00
Ulrich Stark
948c4fb045
refactor(router-core): deprecate json function in favor of standard Response.json function (#6181) 2025-12-22 19:44:04 +01:00
Manuel Schiller
770a26535f
fix: compiler plugin (#6177)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-22 14:57:50 +01:00
Manuel Schiller
c05572ebbe
fix: streaming (#6175) 2025-12-22 00:13:49 +01:00
Birk Skyum
6839bfb1a0
docs: move to tailwind 4 w/ vite (#6168) 2025-12-21 04:13:49 +01:00
Manuel Schiller
e8f2174902
fix: trace nested server function factory re-export chain (#6166) 2025-12-21 02:14:46 +01:00
Manuel Schiller
92333c9319
fix: properly track re-exports of server function factories (#6164) 2025-12-21 00:04:10 +01:00
Manuel Schiller
a727225ae7
fix: correct compiler plugin order, only handle createMiddleware in a … (#6163)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-20 23:51:04 +01:00
Manuel Schiller
4ec65aec8a
fix: restructure server function environment handling (#6160) 2025-12-20 22:42:27 +01:00
Manuel Schiller
11d26ad0f5
fix: bump srvx (#6128)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-17 21:04:54 +01:00
Manuel Schiller
16a359bfb6
fix: don't create virtual routes for pathless layouts (#6120) 2025-12-17 03:17:59 +01:00
Manuel Schiller
20aac85d7f
fix: compare rewritten url to decide if server needs to redirect (#6072) 2025-12-12 20:28:58 +01:00
Lachlan Collins
43fd1328c5
fix: full npm registry URLs, sync package versions (#6035)
* Update repository URLs

* Start sherif fixes

* Fic CI
2025-12-07 11:37:18 +11:00
Birk Skyum
430f268e50
test(start): test that multiple Set-Cookie headers are not lost during redirect (#5978) 2025-11-26 21:37:56 +01:00
Manuel Schiller
369a09b850
fix: no remounting with ssr:false (#5964) 2025-11-25 21:05:23 +01:00
Manuel Schiller
2fd4cbaa18
fix: allow to override serverfn method when using factories (#5938)
* fix: allow to override serverfn method when using factories

fixes: #5872

* solid e2e test

* format unrelated file
2025-11-22 10:53:50 +01:00
Ethan Potts
2df807e43c
fix(start-server-core): deserialize tss context when using formdata (#5935)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-22 01:38:21 +01:00
Edmund Hung
9da55170e9
feat: prerender with vite preview server (#5921) 2025-11-20 19:46:52 +01:00
Birk Skyum
5e7ad4812a
update start-basic-auth project to prisma 7 (#5911)
* update solid-start auth example to prisma 7

* fix prisma example

* update solid-start e2e

* update e2e/example

* ci: apply automated fixes

* lock

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-20 19:44:02 +01:00
Birk Skyum
f139f1e2bd
docs: add vite preview to start e2e/examples (#5918) 2025-11-20 05:38:01 +01:00
Edmund Hung
0dcc20ebac
feat(start-plugin-core): vite preview support (#5910)
* feat: add vite preview support

* test: vite preview with react and solid

---------

Co-authored-by: Birk Skyum <74932975+birkskyum@users.noreply.github.com>
2025-11-20 04:03:54 +01:00
Birk Skyum
eda2254a69
example: add srvx start command for launching prod build (#5915) 2025-11-20 00:37:46 +01:00
Remi
37eb416963
fix(router-core): Catch errors thrown during hydrate (#5686) 2025-11-19 21:06:05 +01:00
Manuel Schiller
03595c8701
fix: memory leaks (#5896) 2025-11-19 01:17:39 +01:00
Flo
043e57656d
refactor(router-core): simplify matchId (#5807)
* refactor(router-core): simplify matchId

* ci: apply automated fixes

* update tests

* matchId !== routeId

* nitpicks

* missed in solid router Match

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Nico Lynzaad <nlynzaad@zylangroup.com>
2025-11-11 00:55:46 +01:00
Birk Skyum
1b75808f37
test(router, start): query navigation transitions (#5802)
* test(router): test query transitions

* ci: apply automated fixes

* test start

* ci: apply automated fixes

* dim double click test

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-10 00:17:53 +01:00
Birk Skyum
d558b67239
fix(solid-router-ssr-query): allow redirect inside server function ssr (#5668) 2025-11-03 17:24:25 +01:00
Birk Skyum
e06cfadee6
test(react-start): fix query version in server-routes (#5672) 2025-10-28 15:19:24 +01:00
Birk Skyum
3eeeb881f0
test(start): fix search-params tests (#5643) 2025-10-27 23:44:57 +01:00
Birk Skyum
ef2757f0dd
test(solid-start): manual suspense boundaries transition on navigation (#5638)
* test(solid-start): manual suspense boundaries transition on navigation

* add nested tests

* ci: apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-26 22:14:14 +01:00
autofix-ci[bot]
f4ce82455d
ci: apply automated fixes 2025-10-26 19:36:05 +00:00
Birk Skyum
78892de909
fix(solid-start): redirect from server function (#5637)
* fix(solid-start): redirect from server function test

* test for react

* set data-only
2025-10-26 20:35:00 +01:00
Birk Skyum
d2ac37c339
test(solid-start): server-functions e2e (#5616) 2025-10-26 20:05:55 +01:00
Birk Skyum
645de2353a
chore: update query to consistent 5.90 (#5634)
* chore: update query to consistent 5.90

* update to 5.90.0

* save bump

* bump root

* use 5.90

* update query integration for solid

* update query integration for solid

* ci: apply automated fixes

* align solid-query versions

* data-only

* lockfile

* lcokfile

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-26 19:29:46 +01:00
FatahChan
475707e448
fix: auto discover static routes for prerendering
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Manuel Schiller <manuel.schiller@caligano.de>
2025-10-26 01:31:14 +02:00
Manuel Schiller
22bb4e0f69
fix: various fixes (#5593) 2025-10-23 20:08:07 +02:00
Birk Skyum
eab8a9941c
chore: bump tailwind from v3 to v4 with postcss (#5580) 2025-10-22 03:42:26 +02:00
Manuel Schiller
0ebd4bbd37
fix: don't warn about stream closed in case a query does not have a promise (#5542) 2025-10-20 00:46:55 +02:00
Manuel Schiller
ad66e89998
fix: undefined / null serialization (#5501) 2025-10-16 23:35:31 +02:00
Manuel Schiller
8dd0cc5220
fix: parent param types in server routes (#5482) 2025-10-14 23:56:56 +02:00