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

45 commits

Author SHA1 Message Date
Samy Al Zahrani
41cc7e19ef
fix: pass server context to handler (#5601)
Co-authored-by: Samy Alzahrani <samyalzahrani@MacBook-Air.local>
2025-10-26 11:16:57 +01:00
Manuel Schiller
9d5a4fb183
fix: filter out routes from manifest that have neither preloads nor a… (#5596) 2025-10-24 01:37:35 +02:00
Manuel Schiller
22bb4e0f69
fix: various fixes (#5593) 2025-10-23 20:08:07 +02:00
Manuel Schiller
cf4f3e633b
fix: dev serverfn resolution on windows (#5520) 2025-10-18 00:12:00 +02:00
Manuel Schiller
9b09616f01
fix: no invalidation for server functions in dev (#5513) 2025-10-17 20:07:26 +02:00
Manuel Schiller
be6c094db9
fix: relax content type header check (#5502) 2025-10-16 23:59:54 +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
Manuel Schiller
776d3d5c09
fix: pass in request when requestMiddleware is used in combination wi… (#5390) 2025-10-07 00:31:07 +02:00
Lenz Weber-Tronic
1d718513f9
fix: merge serializationAdapters from createStart getOptions and router.options (#5321)
* feat: merge `serializationAdapters` from `createStart` `getOptions` and `router.options`

* fix lint

---------

Co-authored-by: Manuel Schiller <manuel.schiller@caligano.de>
2025-10-05 23:46:31 +02:00
Manuel Schiller
00b3595846
fix: revert alias handling for nitro-v2-vite-plugin (#5378) 2025-10-05 22:28:36 +02:00
Manuel Schiller
4d0e3cc509
fix: use h3 alias only in nitro-v2-plugin (#5370) 2025-10-05 15:27:57 +02:00
Fllavian
4939984f69
fix: re-add SessionConfig export (#5355) 2025-10-03 21:50:09 +02:00
Manuel Schiller
ceae3d5f85
fix: basepath (#5345) 2025-10-03 14:59:43 +02:00
Manuel Schiller
a7a25f570f
fix: return Headers instead of object (#5333) 2025-10-01 22:37:41 +02:00
Manuel Schiller
5269bd863f
fix: raw response handling (#5276) 2025-10-01 00:02:26 +02:00
Manuel Schiller
545ff3fbc3
fix: allow to express dependencies between serialization adapters (#5314) 2025-09-30 20:42:57 +02:00
Manuel Schiller
1ca59e3aa0
fix: redirect respects rewrites (#5315)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-30 20:41:43 +02:00
Manuel Schiller
de70ba95e6
fix: guard against invalid origin header value (#5288) 2025-09-29 01:49:53 +02:00
Manuel Schiller
3a76b3ca08
fix: use package alias for h3 (#5281) 2025-09-28 20:54:11 +02:00
Manuel Schiller
478d283d3a
fix: handle synchronous handler/middleware (#5270) 2025-09-28 01:32:02 +02:00
Manuel Schiller
53493af536 fix: move createServerRpc into separate package export
this avoids circular imports
2025-09-27 01:54:24 +02:00
Magnus May
2ff5bc20f7
docs: add Bun production server guide for TanStack Start (#5237)
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Manuel Schiller <manuel.schiller@caligano.de>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-27 01:01:49 +02:00
Manuel Schiller
32faee22da
feat: Start RC (#5189)
Co-authored-by: Nico Lynzaad <nlynzaad@zylangroup.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Tanner Linsley <tannerlinsley@users.noreply.github.com>
Co-authored-by: James Opstad <13586373+jamesopstad@users.noreply.github.com>
Co-authored-by: chorobin <chrishorobin@hotmail.com>
Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
Co-authored-by: Nico Lynzaad <44094871+nlynzaad@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: hokkyss <hokkyss2@gmail.com>
Co-authored-by: Philippe Serhal <philippe.serhal@gmail.com>
Co-authored-by: Jack Herrington <jherr@pobox.com>
Co-authored-by: Brenley Dueck <brenleydueck@gmail.com>
2025-09-23 11:34:54 -06:00
Manuel Schiller
c71a9b8fd5
fix: server functions reference serialization (#4913) 2025-08-11 18:22:07 +02:00
Tanner Linsley
e75531647a
fix: do not pre-decodeURI before passing to createMemoryHistory (#4893)
fixes #4514
2025-08-08 15:36:37 -06: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
Manuel Schiller
d09f5daa74
fix: spa mode with prerendering (#4811)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-28 18:56:47 +02:00
Manuel Schiller
c8be12cd14
fix: prerending with SPA mode enabled renders all routes (#4800) 2025-07-28 00:18:26 +02:00
Manuel Schiller
f9dfb3121f
feat: pass in router instance in client function middleware (#4723)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-21 01:09:46 +02:00
wookhyung
1930152cca
fix(start-server-core): properly merge middleware context objects (#4665) 2025-07-17 19:29:51 +12:00
Manuel Schiller
41bf26b409
fix: allow createRouter to be async (#4652) 2025-07-14 23:12:36 +02:00
Manuel Schiller
4b4562aea6
fix: don't run router.load() when hydrating only SSRed matches (#4630)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-12 01:18:27 +02:00
Manuel Schiller
6475b35057
feat: use seroval for SSR (#4600) 2025-07-11 00:25:32 +02:00
wookhyung
f9b5a5a4a8
fix(start): support SSR for non-Latin character route paths (#4611) 2025-07-10 15:33:18 +12:00
Nico Lynzaad
8302ec1303
fefactor: restructure SSR handling between start/router (#4495) 2025-06-26 22:14:57 +02:00
Manuel Schiller
ca017cd14e
fix: server routes handle per verb middlewares (#4491)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-21 08:54:20 +02:00
Manuel Schiller
16fad9c49c
fix: ensure early hydration in prod build (#4488) 2025-06-20 22:08:38 +02:00
Manuel Schiller
7cd1350cdd
fix: provide dummy server function manifest to client env (#4482) 2025-06-20 20:02:43 +02:00
Manuel Schiller
84cbcaa27e
fix: make root server route aware of it being the root (#4463) 2025-06-19 01:11:40 +02:00
Manuel Schiller
69448fd4c7
fix: execute server route middleware before SSR (#4423) 2025-06-14 00:38:55 +02:00
Manuel Schiller
6868e9480a
fix: various fixes (#4420) 2025-06-13 20:54:38 +02:00
Manuel Schiller
8b5accb27c
feat: Merge alpha to main (#4365)
Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
Co-authored-by: Tanner Linsley <tannerlinsley@users.noreply.github.com>
Co-authored-by: Iha Shin (신의하) <me@xiniha.dev>
Co-authored-by: Sean Cassiere <33615041+SeanCassiere@users.noreply.github.com>
Co-authored-by: MoeedDar <moeed.dar@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Saša Šijak <me@ssijak.com>
Co-authored-by: Christopher Horobin <chrishorobin@hotmail.com>
Co-authored-by: Ryan Gillie <gillie.ryan@hotmail.com>
Co-authored-by: Jaga Santagostino <jagasantagostino@gmail.com>
Co-authored-by: Birk Skyum <birk.skyum@pm.me>
Co-authored-by: Yeoh Joer <yeoh.joer@outlook.com>
Co-authored-by: Dane Grant <danecando@gmail.com>
Co-authored-by: Birk Skyum <74932975+birkskyum@users.noreply.github.com>
Co-authored-by: Luis Merino <mail@luismerino.name>
Co-authored-by: ThaumRystra <9525416+ThaumRystra@users.noreply.github.com>
Co-authored-by: Adam Hunter <arhunter@gmail.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: Lenz Weber-Tronic <lorenz.weber-tronic@apollographql.com>
Co-authored-by: Iñaki Larramendi <30437204+ilarramendi@users.noreply.github.com>
Co-authored-by: Hiển Đào Vinh <neo.go.vn@gmail.com>
Co-authored-by: Lleyton W Morris <42259073+ViewableGravy@users.noreply.github.com>
Co-authored-by: Lleyton Morris <lmorris@nexigen.digital>
Co-authored-by: Matthew Struble <matt@vevox.io>
Co-authored-by: Matt Anderson <matt@mattdev.ca>
Co-authored-by: Chung <chungwong@users.noreply.github.com>
Co-authored-by: Maxx Coffee <josh@joshcoffee.dev>
Co-authored-by: Joshua Coffee <joshcoffee@gannett.com>
Co-authored-by: Jack Herrington <jherr@pobox.com>
Co-authored-by: Neeraj Dalal <admin@nrjdalal.com>
Co-authored-by: Thomas Marnet <thomas.marnet@gmail.com>
Co-authored-by: Vianney Carel <vcarel@users.noreply.github.com>
Co-authored-by: Vianney Carel <vianney.carel@logfuse.fr>
Co-authored-by: Diego Rincón <97266392+diegoarff@users.noreply.github.com>
Co-authored-by: Erfan Hosseini <43422324+Erfanhosseini98@users.noreply.github.com>
Co-authored-by: IderAghbal <3328396+IderAghbal@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Andrew Jefferson <8148776+eastlondoner@users.noreply.github.com>
2025-06-10 23:19:32 +02:00
Birk Skyum
82fde85c0b
refactor(start-server-core): use h3 barrel import (#3721)
mirror refactor from devinxi branch, to clean up the ./index.ts file
2025-03-10 05:52:29 +01:00
Birk Skyum
2d2551bf92
chore(start-server-core): agnostic package (#3720) 2025-03-10 05:12:07 +01:00