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

47 commits

Author SHA1 Message Date
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
eed6a79898
fix: fix transform id regex (#5624) 2025-10-26 00:49:50 +02: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
5b6109b042
fix: transform id regex (#5539) 2025-10-19 22:34:29 +02:00
Manuel Schiller
2824bf7c01
fix: only transform TS/JS files (#5526)
fixes #5525
2025-10-18 17:07:58 +02:00
Manuel Schiller
9b09616f01
fix: no invalidation for server functions in dev (#5513) 2025-10-17 20:07:26 +02:00
Manuel Schiller
8066a5914f
fix: remove headers from client route (#5459) 2025-10-13 01:24:37 +02:00
Manuel Schiller
44bcbd928d
fix: ignore whitespace when detecting handler and createMiddleware calls (#5458) 2025-10-12 23:30:48 +02:00
Wei Wang
d3cbb23a36
fix(start-plugin-core): Remove framework specific packages from being required (#5409)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-10 21:02:42 +02:00
zenios
3c0c9cc167
fix: Add support for customizable functionId generation. (#5373)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-05 23:36:15 +02:00
Manuel Schiller
11ded1ac60 fix: remove unused config 2025-10-03 15:04:39 +02:00
Manuel Schiller
ceae3d5f85
fix: basepath (#5345) 2025-10-03 14:59:43 +02:00
Manuel Schiller
a9ceb7de1b
fix: prevent HMR to throw error about entrypoints (#5317) 2025-10-01 20:25:46 +02:00
Manuel Schiller
a5ad0fe0a7 fix: load all env vars, do not restrict to VITE_ prefix
fixes #5217
2025-09-28 23:33:52 +02:00
Manuel Schiller
785afe3aee fix: exclude some more files from compilation 2025-09-28 20:57:19 +02:00
Manuel Schiller
6cfe2fd925 fix: correctly resolve routes dir and routeTree path w.r.t. root 2025-09-27 21:02:09 +02:00
Manuel Schiller
53493af536 fix: move createServerRpc into separate package export
this avoids circular imports
2025-09-27 01:54:24 +02:00
Manuel Schiller
84537b714a fix: circular imports
before this happened:

```
vite:hmr circular imports detected: /src/routes/posts.route.tsx -> /src/utils/posts.tsx -> /node_modules/@tanstack/react-start/dist/esm/client.js?v=0794880d -> /node_modules/@tanstack/react-start-client/dist/esm/index.js?v=0794880d -> /node_modules/@tanstack/start-client-core/dist/esm/client/index.js?v=0794880d -> /node_modules/@tanstack/start-client-core/dist/esm/client/hydrateStart.js?v=0794880d -> /src/router.tsx -> /src/routeTree.gen.ts -> /src/routes/posts.route.tsx
```

the transform of `createServerFn` imported `createClientRpc` from `@tanstack/react-start/client` which also export `hydrateStart` in index.ts

moving `createClientRpc` into its own package export resolved this issue
2025-09-27 01:36:21 +02:00
James Opstad
716cc05c7b
fix: Add optimizeDeps.entries for client and ssr environments (#5223)
Co-authored-by: Manuel Schiller <manuel.schiller@caligano.de>
2025-09-26 05:52:14 +02:00
Manuel Schiller
f9bf3363d8
fix: compile createMiddleware using start-compiler-plugin (#5245) 2025-09-26 05:32:15 +02:00
Manuel Schiller
e6ef21809c
fix: opt into SSR type level serializability check (#5233)
default `false` was not working for plain router

fixes #5222
2025-09-25 17:28:40 +02:00
Manuel Schiller
e4d5671ba9
fix: various fixes (#5215)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-24 21:42:56 +02:00
John Colvin
0aa36667e5
Fix typo in error message for server rendering (#5161) 2025-09-24 00:28:41 +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
6e191fdd83
fix: account for exports being a string (#4859)
fixes #4858
2025-08-02 07:00:05 +02:00
Manuel Schiller
db2b2c4bfc
fix: do not add ESM deps to optimizeDeps without a '.' export (#4855) 2025-08-01 22:30:15 +02:00
Manuel Schiller
f0def505f3
fix: dev server (#4820) 2025-07-29 19:56:21 +02:00
Manuel Schiller
81da91c9ab
fix: crawl deps to find packages which have start as peer dep (#4821) 2025-07-29 19:56:10 +02: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
748a4be5a0
fix: fix start vite plugin during dev and prod (#4736) 2025-07-21 22:34:41 +02:00
Manuel Schiller
241a250f58
fix: dev server improvements (#4706) 2025-07-19 01:50:06 +02:00
James Cleveland
5f42bc4cb6
fix: allow prerender if no pages specified (#4632)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-12 21:28:01 +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
ba6f0bac3f
fix: correct url in dev server (#4593) 2025-07-07 20:07:36 +02:00
Manuel Schiller
d728d69900
feat: ssr setting per route (#4565)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-05 14:35:14 +02:00
Manuel Schiller
9a6fa0adcb
fix: correctly handle multiple imports of @tanstack/react-start/server (#4544)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-28 23:15:19 +02:00
Manuel Schiller
f07e33fdad
fix: ignore virtual server function manifest when compiling (#4523) 2025-06-26 22:33:28 +02:00
Andy Abi Haidar
6a56817b8e
fix(start-plugin-core): use joinURL for joining js entries in manifests (#4508)
Co-authored-by: SeanCassiere <33615041+SeanCassiere@users.noreply.github.com>
2025-06-24 15:39:23 +12:00
Manuel Schiller
4a1230d996
fix: use plugin hook filers (#4489) 2025-06-20 23:53:25 +02:00
Manuel Schiller
16fad9c49c
fix: ensure early hydration in prod build (#4488) 2025-06-20 22:08:38 +02:00
Manuel Schiller
c47f56d0b1
fix: server function fixes (#4474) 2025-06-19 20:41:52 +02:00
Manuel Schiller
f0146e1fd7
fix: simplify server function handling (#4464) 2025-06-19 01:33:26 +02:00
Manuel Schiller
49b01ffea0
fix: use bundle to determine preloads (#4453) 2025-06-17 22:12:02 +02:00
Yeoh Joer
5ad1c376fd
fix: when prerendering, always include the file scheme for the server entrypoint (#4424) 2025-06-14 00:29:58 +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