Flo
45c4ad8d62
fix(router-core): lane match loader rewrite ( #7805 )
...
* fix: lane match loader rewrite
---------
Co-authored-by: Manuel Schiller <6340397+schiller-manuel@users.noreply.github.com>
2026-08-04 20:28:11 +02:00
Flo
3a5575627d
test: add regression coverage for existing router behavior ( #7886 )
2026-07-23 22:13:21 +02:00
Manuel Schiller
71fb3297e9
fix: Fix Hydrate re-exports to avoid circular HMR updates ( #7492 )
2026-05-26 21:54:14 +02:00
Manuel Schiller
5fa9e555f3
feat: deferred hydration ( #7362 )
...
* feat: deferred hydration
* fix
* tests
* solid tests
* Changes before error encountered
Agent-Logs-Url: https://github.com/TanStack/router/sessions/5263c469-75c2-4470-bd4c-86f9b43964f4
Co-authored-by: schiller-manuel <6340397+schiller-manuel@users.noreply.github.com>
* chore: address hydration review follow-ups
Agent-Logs-Url: https://github.com/TanStack/router/sessions/16e27113-ff01-4de8-aded-b9be9f6dd4ff
Co-authored-by: schiller-manuel <6340397+schiller-manuel@users.noreply.github.com>
* fix(start-client-core): correct import order in hydrateStart.ts
Co-authored-by: schiller-manuel <schiller-manuel@users.noreply.github.com>
* chore: remove tracked nx self-healing artifacts
Agent-Logs-Url: https://github.com/TanStack/router/sessions/95750760-1348-437c-8f73-cc45e899003a
Co-authored-by: schiller-manuel <6340397+schiller-manuel@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: schiller-manuel <6340397+schiller-manuel@users.noreply.github.com>
Co-authored-by: nx-cloud[bot] <71083854+nx-cloud[bot]@users.noreply.github.com>
Co-authored-by: schiller-manuel <schiller-manuel@users.noreply.github.com>
2026-05-19 18:43:00 +02:00
Flo
5ae2ae5e0f
feat(start): CSRF middleware ( #7373 )
2026-05-09 18:34:24 +02:00
Manuel Schiller
f920527e8d
efp ( #7144 )
...
Co-authored-by: Tanner Linsley <tannerlinsley@gmail.com>
2026-04-11 01:43:05 +02:00
Flo
c9e18555f3
fix: strip invariant and warning strings from prod bundles ( #7007 )
2026-03-22 10:27:08 +01:00
Manuel Schiller
f330532e08
fix: generalize hydration cleanup ( #6118 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-17 01:18:47 +01:00
Manuel Schiller
5269bd863f
fix: raw response handling ( #5276 )
2025-10-01 00:02:26 +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
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
Tim
d537b56ebd
fix(react-start-client): useServerFn returns a stable reference ( #4647 )
2025-07-13 22:46:39 +02:00
Manuel Schiller
6475b35057
feat: use seroval for SSR ( #4600 )
2025-07-11 00:25:32 +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
IderAghbal
192ee6246c
fix: export OptionalFetcher and RequiredFetcher types ( #4297 )
...
I hit a similar issue to #4001 (ts(2742)) but on pnpm, which requires
exporting the types all the way to the module that gets directly
imported by the application according to
https://github.com/microsoft/TypeScript/issues/47663#issuecomment-1519138189 .
This fix resolves this issue.
2025-06-04 18:25:15 +02:00
Birk Skyum
73af05551e
refactor(start-client-core): move createServerFn to core ( #3727 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-10 10:40:34 +01:00
Birk Skyum
ceeaff113a
refactor: use router-core in server-functions packages ( #3726 )
2025-03-10 10:25:07 +01:00
Birk Skyum
77a4dee2ed
chore(start-client-core): move middleware and serverfn to core ( #3717 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-10 04:11:46 +01:00
Birk Skyum
e47b57ccb0
chore(start-client-core): move envonly and json to core ( #3716 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-10 03:02:08 +01:00
Birk Skyum
ef79bfd5e5
chore(start-client-core): move createIsomorphicFn to core ( #3715 )
2025-03-10 02:27:02 +01:00
Birk Skyum
97e2ed3f30
refactor(start-client-core): move ssr-client to core package ( #3714 )
2025-03-10 02:00:44 +01:00
Birk Skyum
398458e16d
chore(start-client-core): move mergeHeaders and startSerializer to shared package ( #3709 )
...
Move the 100% duplicates:
- ./headers.ts
- ./serializer.ts
- ./tests/transformer.test.tsx
From solid/react-start-client to start-client-core.
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-10 00:09:53 +01:00
Birk Skyum
fcecd7cfa3
chore(react-start,solid-start): update imports to use router-core ( #3703 )
...
Update start package imports after much router code has been moved to
the agnostic router-core package.
2025-03-09 12:49:14 +01:00
Jon Sun
d467952025
fix(react-start-client): export ServerFnResponseType type ( #3605 )
...
Example
```
import { createMiddleware } from "@tanstack/react-start";
export const middleware = createMiddleware();
```
Issue
```
The inferred type of middleware cannot be named without a reference to ../../../../node_modules/@tanstack/react-start-client/dist/esm/createServerFn . This is likely not portable. A type annotation is necessary.
```
Solution
exporting `ServerFnResponseType` resolves this.
2025-02-28 12:38:13 +01:00
Manuel Schiller
dda8d65ff1
feat(start): allow to return raw response from server function ( #3532 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-02-27 23:54:08 +01:00
Manuel Schiller
fce71c534e
fix(react-start-client): execute head and scripts after custom hydration ( #3594 )
2025-02-27 22:31:34 +01:00
Birk Skyum
0cf5e3e846
refactor(react-start): move start packages to react-start ( #3563 )
...
move start -> react-start, and keep start as proxy packages for
backwards compat.
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-02-25 22:05:25 +01:00