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
Manuel Schiller
218eab2c3b
chore: regenerate route trees ( #7853 )
2026-07-19 09:20:56 +02:00
Manuel Schiller
2f5374945e
fix: fix primitive beforeLoad errors ( #7505 )
...
* fix: fix primitive beforeLoad errors
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-30 01:29:42 +02:00
Manuel Schiller
056337ef02
fix: fix plain TypeScript parser handling ( #7342 )
2026-05-05 01:57:21 +02:00
Manuel Schiller
9c81d5ac57
fix: handle beforeLoad throwing notFound correctly ( #6811 )
2026-03-04 21:34:28 +01:00
홍규진
067951fcf0
fix(react-router): remove async/defer attributes during hydration to prevent warnings ( #6479 )
...
* fix(react-router): prevent hydration warning for async/defer scripts
Strip async, defer, and src attributes from script tags during client-side hydration to match the server-rendered output and prevent React hydration mismatch warnings.
* test(react-router): add unit and e2e tests for async script hydration
Adds unit tests to verify server output includes async/defer attributes, and e2e tests to verify no hydration warnings occur on the client.
---------
Co-authored-by: Manuel Schiller <manuel.schiller@caligano.de>
2026-02-15 02:31:46 +01:00
Nico Lynzaad
3da0227067
fix: encoded url hash fragment matching ( #6416 )
...
* decode hash
* ci: apply automated fixes
* cleanup
* revert change to basic-rsc
* add note in docs about hash fragment
* ci: apply automated fixes
* code rabbit suggestion
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-01-19 16:39:48 +02:00
Nico Lynzaad
9196ae45b7
fix(start): normalize path encoding ( #6389 )
...
* fix encoding and update tests
rework fix and tests
* refine solution
* revert unnecessary change
* fix tests
* resolve pre-render test issues
* refine comment on normalization requirement
* cleanup: remove unnecessary imports
* code rabbit suggestions
* revert merge issues in createStartHandler.ts
* Avoid decoding query/hash
* apply solution to router-ssr also
* add test for getNormalizedURL to handle URLs correctly
* enhance getNormalizedURL tests
* handle malformed paths
* build pathname using url parts
* handle backslash encoding in URL normalization
* additional tests
* refine match error handling
2026-01-18 20:10:11 +02:00
Manuel Schiller
b42f84a4f6
fix: fullpath handling ( #6404 )
...
* fix: fullpath handling
fixes #6403
fixes #2675
fixes #4892
* add type test
* preserve / for index routes
* fix #3005
* fix tests
2026-01-17 17:21:10 +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
Manuel Schiller
7f0b79cb83
refactor: consolidate start compiler ( #6210 )
2025-12-24 23:39:46 +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
16a359bfb6
fix: don't create virtual routes for pathless layouts ( #6120 )
2025-12-17 03:17:59 +01: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
Remi
37eb416963
fix(router-core): Catch errors thrown during hydrate ( #5686 )
2025-11-19 21:06:05 +01:00
Nico Lynzaad
16eacb3d68
fix(router-core): consider __root__ in path parsing of trailing underscores ( #5262 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-28 00:07:31 +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
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
wookhyung
b0ea8de91d
fix(router): prevent script tag duplication in SSR and client-side navigation ( #5095 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-18 20:09:15 +02:00
wookhyung
f9b5a5a4a8
fix(start): support SSR for non-Latin character route paths ( #4611 )
2025-07-10 15:33:18 +12:00
Manuel Schiller
5cacc14b13
fix: if validate search rewrites search params, issue a server-side redirect ( #4439 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-06-16 19:57:42 +02:00
Manuel Schiller
2a9b4435cd
chore: re-generate route tree for examples/e2e tests
2025-06-15 22:36:35 +02:00
Manuel Schiller
1a4497359b
fix: generator fixes ( #4389 )
...
fixes #4383
fixes #4343
2025-06-11 19:53:25 +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
f616ba9c07
chore: move start e2e and example projects from ./app to ./src ( #3712 )
...
Using the below setting, the examples and e2e projects opt into the
future behavior of using `./src` as the app directory, rather than
'./app':
```ts
tsr: {
appDirectory: 'src',
},
```
The `./src` directory is typically used for pure-TS Router projects, as
well as CRA. Thus this reduces the churn for a TS Router SPA to opt into
server features with TS Start.
2025-03-09 23:35:20 +01:00