Flo
9c1871ccc8
fix: harden URL handling across Router and Start ( #8308 )
...
* fix: harden URL handling across Router and Start
* fix: preserve unload blockers after document navigation
* perf: reduce document navigation guard size
2026-09-09 23:03:49 +02:00
Flo
0654c0a1a4
fix(router-core): reload documents for cross-origin rewrites ( #8287 )
...
* fix(router-core): reload documents for cross-origin rewrites
* test(router): expand document navigation coverage
* fix(router): respect registered document navigation blockers
2026-09-08 01:23:05 +02:00
Flo
0f40695fbe
test: cover existing navigation and redirect behavior ( #8286 )
2026-09-07 21:35:15 +02:00
Flo
9035abc411
fix(history): handle blockers consistently across history traversal ( #8264 )
...
* fix(history): preserve unload blockers during back and forward navigation
* fix(history): respect ignoreBlocker in go navigation
* fix(history): reverse blocked traversal by its delta
2026-09-06 16:19:47 +02:00
Manuel Schiller
cf166d160e
fix(react-router): avoid rewriting unchanged head assets ( #8257 )
...
Fixes #8250
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-09-06 00:21:02 +02:00
Flo
28a5e4504e
fix(router): handle unknown error boundary values ( #8209 )
...
* fix(router): handle unknown error boundary values
* fix(router): complete unknown boundary error migration
* docs(router): keep boundary examples within skill limits
* fix(router): restore minimal boundary error display
* fix(solid-router): unify boundary errors across SSR and client
2026-09-05 14:48:44 +02:00
Manuel Schiller
65d565c946
fix route trees ( #8197 )
2026-08-31 01:34:33 +02:00
Manuel Schiller
79e35335b4
optimize query integration ( #8175 )
...
* optimize query integration
* fix
2026-08-27 01:28:24 +02:00
Flo
81e4a79da2
perf(router-core): reduce client loader bundle size ( #8150 )
...
* perf(router-core): reduce client loader bundle size
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-22 17:42:10 +02:00
Jiahan Chen
aab01dec75
chore(start): remove redundant splitChunks config from React plugin ( #8136 )
2026-08-22 09:48:38 +02:00
Jiahan Chen
a0041bb36e
fix(start): migrate to Rsbuild splitChunks config ( #8135 )
2026-08-22 09:48:30 +02:00
Flo
cb281d70c1
fix(router-core): preserve context during reloads ( #8130 )
...
* fix(router-core): preserve context during reloads
* ci: apply automated fixes
* test(router): consolidate issue 8115 coverage
* fix(vue-router): react to provider context changes
* fix(router-core): refine context reconstruction
* bytes
* type fixes
* context + immediate UI on load
* coderabbit is happy
* no context in pending/error/notFound components
* changesets
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-20 23:34:06 +02:00
Flo
63d2cc9155
fix(router-core): remove navigation rollback ( #8092 )
...
* fix(router-core): remove navigation rollback
* test(react-start): update failed HMR refresh expectation
2026-08-18 14:09:37 +02:00
Flo
5d3785dcc3
fix(router-core): preserve pending UI across retained routes ( #8084 )
...
* fix(router-core): preserve pending UI across retained routes
* fix(router-core): harden pending session ownership
* fix(router): align pending presentation across Solid and Vue (#8097 )
fix(router): align pending presentation across frameworks
* changesets
* test: align hydration fake timers
2026-08-18 14:09:36 +02:00
Flo
f97188fdb4
chore: localize package dependencies ( #8078 )
2026-08-15 13:42:24 +02:00
Flo
0c25a7b43b
fix(react-router): avoid Suspense above root documents ( #8055 )
...
* fix(react-router): avoid suspense above root documents
* test(react-start): cover root document hydration
* test(react-router): remove indirect hydration assertion
* perf(react-router): reduce suspense wrapper bundle size
* test(react-start): isolate root hydration regression
* fix(react-router): preserve root suspense in CSR
* refactor(react-router): simplify root suspense checks
* fix(react-router): preserve functional ssr classification
2026-08-14 13:34:08 +02:00
Flo
31882c7fa8
fix(router): reuse resolved lazy route components ( #8054 )
...
* fix(router): reuse resolved lazy route components
* fix vue inconsistency
* fix(router): clear resolved lazy component preload
2026-08-14 13:30:20 +02:00
Flo
31355ae92c
fix(react-router): useMatchRoute w/ React Compiler ( #8015 )
...
* fix(react-router): useMatchRoute w/ React Compiler
* test(react-router): add React Compiler E2E
Co-authored-by: Kamal Bennani <kamal.bennani@aircall.io>
* disable eslint react-hooks/exhaustive-deps for known static condition w/ DCE
* test(react-router): cover useMatchRoute callback identity
Co-authored-by: Sarah Gerrard <98355961+LadyBluenotes@users.noreply.github.com>
* test(react-router): rely on useMatchRoute subscription
* test(react-router): exercise compiler-generated memoization
* no useCallback during SSR
* update docs
---------
Co-authored-by: Kamal Bennani <kamal.bennani@aircall.io>
Co-authored-by: Sarah Gerrard <98355961+LadyBluenotes@users.noreply.github.com>
2026-08-12 10:35:50 +02:00
Flo
697ebb6ddb
fix(react-router): prevent blank frame before initial pending UI ( #7961 )
...
* fix(react-router): prevent blank initial pending frame
* test(react-router): remove obsolete issue 4759 unit test
* alternative fix
* ci: apply automated fixes
* simplify code comment
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-06 00:09:29 +02:00
Flo
60163bf3e4
test(start): cover ssr false hydration redirect ( #7965 )
2026-08-05 19:33:35 +02:00
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
65f7b7f791
fix(start): keep server-only routes out of RSC bundles ( #7944 )
...
Use the Start storage context for request cancellation and focused server entrypoints to keep unrelated route dependencies out of the RSC module graph. Add emitted-build regression coverage for the boundary.
fixes #7938
2026-08-04 00:02:37 +02:00
Nicolas Beaussart
03699c4c02
chore(ci): improve Nx sandbox cache declarations ( #7833 )
...
* chore(ci): establish CI timing baseline
* faster maybe ?
* chore(ci): declare sandbox task inputs and outputs
* chore(ci): declare remaining build sandbox inputs
* another batch
* try fixing e2e import protection
* more sandbox fixes
* fix(e2e): isolate import protection artifacts
* fix script
* fix import protection
* tune even more
* tune even more with some global ignore
* ok, anohter try
* fix(ci): avoid reading captured build logs
* one last improvement for tonight
2026-08-01 13:39:33 +02:00
Cong-Cong Pan
7592555b86
fix(start): align Rsbuild SSR asset URLs for css?url imports ( #7590 )
...
* fix(start): align Rsbuild SSR asset URLs for css?url imports
* rm vite-env.d.tst
* ci: apply automated fixes
* fix: ts type
* ci: apply automated fixes
* ci: apply automated fixes (attempt 2/3)
* fix: docs code
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-30 23:30:40 +02:00
Cong-Cong Pan
f04ddc61e7
fix(start): skip errored Rspack modules during import protection ( #7685 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-29 21:11:16 +02:00
Sreetam Das
fc83c0383f
fix(react-start-rsc): require @vitejs/plugin-rsc >=0.5.30 for route component HMR ( #7900 )
2026-07-26 01:12:08 +02:00
Manuel Schiller
88f366ab8e
chore: migrate to typescript 7 ( #7887 )
2026-07-23 23:10:51 +02:00
Flo
3a5575627d
test: add regression coverage for existing router behavior ( #7886 )
2026-07-23 22:13:21 +02:00
Manuel Schiller
49f6863245
fix(router-plugin): preserve HMR state for lowercase split components ( #7855 )
2026-07-19 12:09:25 +02:00
Manuel Schiller
218eab2c3b
chore: regenerate route trees ( #7853 )
2026-07-19 09:20:56 +02:00
Manuel Schiller
ffdd64e842
fix(start): preserve resolved virtual module ids ( #7844 )
2026-07-18 20:08:42 +02:00
Flo
0b178a79e2
test: add more regression coverage for existing router behavior ( #7822 )
2026-07-15 09:48:19 +02:00
Pierre-Luc Auclair
a41f26547c
chore(deps): bump @playwright/test to ^1.61.0 across the workspace ( #7772 )
2026-07-14 00:06:59 +02:00
Manuel Schiller
e2dd2049cb
fix(router-core): handle window and element scroll restoration independently ( #7807 )
2026-07-13 21:45:55 +02:00
Collin Dillinger
9809a0619d
fix(router-core): preserve percent-encoded URL-unsafe chars in decodeSegment ( #7695 )
...
* fix(router-core): preserve percent-encoded URL-unsafe chars in decodeSegment
Replace sanitizePathSegment (which stripped control characters) with a
re-encode step that keeps WHATWG path percent-encode set characters and
control characters in their encoded form after decodeURI.
This preserves the existing decodeURI-based approach which correctly
handles multi-byte UTF-8 sequences, while fixing the mismatch between
the original request URL and the router's internal representation that
caused infinite 307 redirect loops on paths containing these characters.
Fixes #7587 .
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* ci: apply automated fixes
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Flo <me@florianpellet.com>
2026-06-30 23:27:21 +02:00
Flo
bb2daa6952
Reduce postinstall wrangler noise ( #7696 )
2026-06-25 23:29:10 +02:00
Elecmonkey
e499164c72
feat(start-plugin-core): support Rsbuild preview SSR middleware ( #7372 )
...
* fix(start-plugin-core): support rsbuild preview SSR
* fix(start-plugin-core): always install rsbuild SSR middleware in preview
Preview is the only SSR handler in `rsbuild preview`, so gate the opt-out
to dev only and keep the option named `installDevServerMiddleware`.
2026-06-16 10:30:39 +02:00
Manuel Schiller
9bebf8dc9f
rename inputValidator to validator ( #7566 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-06 23:05:56 +02:00
Manuel Schiller
837897f073
fix(router-plugin): preserve generated route state for aliased HMR imports ( #7560 )
...
* fix(router-plugin): preserve generated route state for aliased HMR imports
fixes #4303
* ci: apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-06-06 10:34:02 +02:00
Manuel Schiller
e99e855258
add regression tests ( #7557 )
2026-06-06 01:53:22 +02:00
Ulrich Stark
1d113f0a30
fix(examples): make isRoot check work ( #7547 )
2026-06-04 22:11:30 +02:00
Cong-Cong Pan
80919186cb
fix(start-rsbuild): compile node_modules for RSC directives ( #7540 )
...
* fix(start-rsbuild): compile node_modules for RSC directives
* chore: add comments
* chore: add changeset
2026-06-04 13:34:00 +02:00
Manuel Schiller
9cb7a003e6
feat(rsbuild): add RSC support ( #7509 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-30 15:16:10 +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
d1997b66d7
fix: fix streaming ( #7497 )
2026-05-29 02:27:23 +02:00
Manuel Schiller
72805df675
chore: stabilize tests ( #7503 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-29 02:17:35 +02:00
Manuel Schiller
9c09bca59e
fix(start): emit boot-sibling chunks as scripts for IIFE entries ( #7501 )
...
Co-authored-by: Keven Arroyo <kevenarroyo@microsoft.com>
2026-05-29 01:42:05 +02:00
Manuel Schiller
90adda91aa
fix: bundled dev support for vite ( #7482 )
2026-05-24 22:08:23 +02:00
Manuel Schiller
51a97a167f
feat(start): support rsbuild iife client output ( #7477 )
2026-05-24 02:02:05 +02:00
Manuel Schiller
5268ba4566
fix: Fix hash scrolling with resetScroll={false} ( #7464 )
...
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-05-21 22:54:26 +02:00