React Router Updates & Release Notes
98 updates curated from 2 sources by the Releasebot Team. Last updated: Nov 25, 2026
- Nov 24, 2026
- Date parsed from source:Nov 24, 2026
- First seen by Releasebot:Nov 25, 2026
- Modified by Releasebot:Nov 25, 2026
v8.5.3
React Router releases a broad patch update that improves navigation reliability, route matching, forms, hydration, sessions, and developer tooling. It also strengthens handling of streaming route discovery and invalid requests in unstable RSC modes.
Patch Changes
react-router- Forward allNavigateOptionsfrom<RouterProvider>'snavigator.push()andnavigator.replace()torouter.navigate()(#15781)- Options such as
mask,defaultShouldRevalidate,flushSync, andviewTransitionnow reach the router from<Link>,useNavigate(), anduseSearchParams()inside descendant<Routes>in Data and Framework modes
- Options such as
react-router- Prevent fetcher action revalidation from completing a navigation with stale route matches while lazy route discovery is pending (#15731)react-router- Fix a circular type error when arrow function route components accessmatchesfromRoute.ComponentProps(#15163)- Use the current route's
loaderDatatype directly so TypeScript can resolvematcheswithout evaluating the component's own props again
- Use the current route's
react-router- FixuseBlockerblocking a second time when the destination route updates search params in a mount effect (#15538)react-router- ReadencTypeandformEncTypecase-insensitively in<Form>anduseSubmit(#15776)- Submit
Multipart/Form-Dataasmultipart/form-data
- Submit
react-router- Restore the router location of a masked hash history entry on back and forward navigation (#15771)react-router- Prevent<HydratedRouter>from re-rendering the previous route during navigation (#15823)- Avoid a loop with
<Navigate state={...} replace>that could exceed Safari's limit onhistory.replaceState()calls
- Avoid a loop with
react-router- Keep the current route'sactionDatawhile a submission to another route is loading (#15716)react-router- Reject excessively large optional route path combinations inmatchPath. Each pattern may contain up to 12 optional (?) markers. (#15827)react-router- Let the browser handle clicks on links with adownloadattribute (#15815)- Apply this behavior to
<Link download>and custom links built withuseLinkClickHandler
- Apply this behavior to
react-router- Suppress nonce hydration warnings when using<ServerRouter nonce>(#15721)- Cover critical CSS and HTML link descriptors rendered by
<Links> - Cover developer scripts rendered by the default root error boundary and hydrate fallback
- Cover critical CSS and HTML link descriptors rendered by
react-router- Fix blocked back/forward navigations in a memory router landing on the wrong history entry when the requested delta goes past the first or last entry (#15779)react-router- PreservecaseSensitiveon client routes in Framework Mode andcreateRoutesStub()(#15808)- Forward
route.caseSensitiveincreateClientRoutes()so client hydration, client-side navigation, lazy route discovery, and HMR matchcreateServerRoutes()andcreateStaticHandlerDataRoutes() - Forward
route.caseSensitiveincreateRoutesStub()
- Forward
react-router- Preserve loader data for the current routes when a background fetcher finishes during a navigation (#15806)- Keep layout content visible when the navigation reuses that data
react-router- Discard invalid persisted scroll positions so new positions can be saved when the page is hidden (#15794)react-router- Fixsession.unset()to remove both regular and flashed values for the given key (#15811)- Accept flash-only keys in typed sessions
react-router- KeepNavLinkinactive in the prerendered Framework SPA fallback and set its active state from the browser URL after hydration (#15818)react-router- Handle leading double slashes in static routerencodeLocation()(#15805)- Prevent
TypeError: Invalid URLduring SSR in<ServerRouter>,<StaticRouterProvider>, and<StaticRouter>, including when rendering query-only or hash-only<NavLink>destinations on double-slash request URLs
- Prevent
react-router- Fix unhandled single-fetch stream completion rejections while preserving errors for callers awaiting completion or deferred values (#15765)react-router- Treat session cookies with an invalid payload shape as empty sessions (#15809)- Pass only nonempty string session IDs to storage adapters
- Accept only non-array objects as data for cookie-backed sessions
@react-router/architect- Preserve binary response bodies and text byte order marks insendReactRouterResponse(#15814)- Preserve binary bodies even when their content type is absent from
binaryTypes - Preserve a leading byte order mark in text bodies
- Preserve binary bodies even when their content type is absent from
@react-router/dev- Keep the dev server running when a route has an invalid export withssr: falseandprerender(#15591)- Report the invalid export as a Vite error
@react-router/dev- Allow.serverimports in Vitest tests that run in Node with the default middleware-mode server (#15563)- Continue checking
.serverimports in Browser Mode and when the test runner's Vite server listens, such as single-project runs with--uior--api
- Continue checking
@react-router/dev- Fix a circular type error when arrow function route components accessmatches(#15163)- Generate the current route's entry in
MatcheswithloaderDatadirectly to avoid a circular reference to the route module
- Generate the current route's entry in
@react-router/dev- Allow web workers to import JSX modules, including components that use hooks, during development (#15635)
Unstable Changes
⚠️ Unstable features are not recommended for production use
react-router- Report RSC loader, action, and middleware errors throughunstable_matchRSCServerRequest'sonErrorhandler (#15598)- Log request errors with
console.errorby default unless the request was aborted - Report middleware errors that occur after a form action consumes the request body
- Avoid duplicate logging when rendering the default error boundary during SSR in RSC Data and RSC Framework modes
- Log request errors with
react-router- Avoid false 404s in RSC Framework and RSC Data modes when navigating while eager route discovery is still streaming route definitions (#15801)react-router- Improve handling of invalid requests in RSC Framework and RSC Data modes (#15828)
- Nov 24, 2026
- Date parsed from source:Nov 24, 2026
- First seen by Releasebot:Nov 25, 2026
- Modified by Releasebot:Nov 25, 2026
v8.5.3
React Router releases updates that improve navigation, form handling, route matching, and server rendering, while fixing session, hydration, and development-tool issues. The update also strengthens handling of streaming routes and errors in unstable RSC modes.
Patch Changes
- react-router - Forward all NavigateOptions from
<RouterProvider>'s navigator.push() and navigator.replace() to router.navigate() (#15781)- Options such as mask, defaultShouldRevalidate, flushSync, and viewTransition now reach the router from
<Link>, useNavigate(), and useSearchParams() inside descendant<Routes>in Data and Framework modes
- Options such as mask, defaultShouldRevalidate, flushSync, and viewTransition now reach the router from
- react-router - Prevent fetcher action revalidation from completing a navigation with stale route matches while lazy route discovery is pending (#15731)
- react-router - Fix a circular type error when arrow function route components access matches from Route.ComponentProps (#15163)
- Use the current route's loaderData type directly so TypeScript can resolve matches without evaluating the component's own props again
- react-router - Fix useBlocker blocking a second time when the destination route updates search params in a mount effect (#15538)
- react-router - Read encType and formEncType case-insensitively in
<Form>and useSubmit (#15776)- Submit Multipart/Form-Data as multipart/form-data
- react-router - Restore the router location of a masked hash history entry on back and forward navigation (#15771)
- react-router - Prevent
<HydratedRouter>from re-rendering the previous route during navigation (#15823)- Avoid a loop with
<Navigate state={...} replace>that could exceed Safari's limit on history.replaceState() calls
- Avoid a loop with
- react-router - Keep the current route's actionData while a submission to another route is loading (#15716)
- react-router - Reject excessively large optional route path combinations in matchPath. Each pattern may contain up to 12 optional (?) markers. (#15827)
- react-router - Let the browser handle clicks on links with a download attribute (#15815)
- Apply this behavior to
<Link download>and custom links built with useLinkClickHandler
- Apply this behavior to
- react-router - Suppress nonce hydration warnings when using
<ServerRouter nonce>(#15721)- Cover critical CSS and HTML link descriptors rendered by
<Links> - Cover developer scripts rendered by the default root error boundary and hydrate fallback
- Cover critical CSS and HTML link descriptors rendered by
- react-router - Fix blocked back/forward navigations in a memory router landing on the wrong history entry when the requested delta goes past the first or last entry (#15779)
- react-router - Preserve caseSensitive on client routes in Framework Mode and createRoutesStub() (#15808)
- Forward route.caseSensitive in createClientRoutes() so client hydration, client-side navigation, lazy route discovery, and HMR match createServerRoutes() and createStaticHandlerDataRoutes()
- Forward route.caseSensitive in createRoutesStub()
- react-router - Preserve loader data for the current routes when a background fetcher finishes during a navigation (#15806)
- Keep layout content visible when the navigation reuses that data
- react-router - Discard invalid persisted scroll positions so new positions can be saved when the page is hidden (#15794)
- react-router - Fix session.unset() to remove both regular and flashed values for the given key (#15811)
- Accept flash-only keys in typed sessions
- react-router - Keep NavLink inactive in the prerendered Framework SPA fallback and set its active state from the browser URL after hydration (#15818)
- react-router - Handle leading double slashes in static router encodeLocation() (#15805)
- Prevent TypeError: Invalid URL during SSR in
<ServerRouter>,<StaticRouterProvider>, and<StaticRouter>, including when rendering query-only or hash-only<NavLink>destinations on double-slash request URLs
- Prevent TypeError: Invalid URL during SSR in
- react-router - Fix unhandled single-fetch stream completion rejections while preserving errors for callers awaiting completion or deferred values (#15765)
- react-router - Treat session cookies with an invalid payload shape as empty sessions (#15809)
- Pass only nonempty string session IDs to storage adapters
- Accept only non-array objects as data for cookie-backed sessions
- @react-router/architect - Preserve binary response bodies and text byte order marks in sendReactRouterResponse (#15814)
- Preserve binary bodies even when their content type is absent from binaryTypes
- Preserve a leading byte order mark in text bodies
- @react-router/dev - Keep the dev server running when a route has an invalid export with ssr: false and prerender (#15591)
- Report the invalid export as a Vite error
- @react-router/dev - Allow .server imports in Vitest tests that run in Node with the default middleware-mode server (#15563)
- Continue checking .server imports in Browser Mode and when the test runner's Vite server listens, such as single-project runs with --ui or --api
- @react-router/dev - Fix a circular type error when arrow function route components access matches (#15163)
- Generate the current route's entry in Matches with loaderData directly to avoid a circular reference to the route module
- @react-router/dev - Allow web workers to import JSX modules, including components that use hooks, during development (#15635)
Unstable Changes
⚠️ Unstable features are not recommended for production use
- react-router - Report RSC loader, action, and middleware errors through unstable_matchRSCServerRequest's onError handler (#15598)
- Log request errors with console.error by default unless the request was aborted
- Report middleware errors that occur after a form action consumes the request body
- Avoid duplicate logging when rendering the default error boundary during SSR in RSC Data and RSC Framework modes
- react-router - Avoid false 404s in RSC Framework and RSC Data modes when navigating while eager route discovery is still streaming route definitions (#15801)
- react-router - Improve handling of invalid requests in RSC Framework and RSC Data modes (#15828)
Full Changelog: v8.5.2...v8.5.3
Original source All of your release notes in one feed
Join Releasebot and get updates from Remix and hundreds of other software products.
- Nov 18, 2026
- Date parsed from source:Nov 18, 2026
- First seen by Releasebot:Nov 19, 2026
- Modified by Releasebot:Nov 23, 2026
v8.5.2
React Router releases a patch update that fixes navigation, routing, and URL handling while improving streamed rendering, RSC behavior, and developer tooling. It also addresses resource leaks and crashes across server and platform integrations.
Patch Changes
react-router- Keep navigation metadata consistent after a submission action throws an error (#15621)- Use the committed history action for loader
dataStrategynavigation types and loading navigation history actions
- Use the committed history action for loader
react-router- Cancel the discarded response body forHEADrequests, so a resource route streaming a file no longer leaks its file descriptor (#15634)- Keep observing nested deferred promise rejections after cancelling a data response so they cannot crash the server
react-router- Preserve streamed<Suspense>boundaries during hydration in development (#15382)- Wrap the critical CSS reset in
React.startTransitionto prevent React 19 from silently discarding the server HTML and rendering the boundary on the client
- Wrap the critical CSS reset in
react-router- Fix submissions to root form actions containing search parameters or a hash when abasenameis configured (#15725)react-router- Fixhref()to throw fornullrequired parameters and omitnullsplat parameters without a trailing slash, matching the behavior forundefinedand the defined types (#15754)react-router- Fix generatedMetaArgs.matchestypes to stop at the current route instead of appending an unknown, possibly undefined tail (#15697)react-router- Improve path generation and URL validation acrosshref(),generatePath(), links, forms, fetchers, and redirects (#15785)react-router- Stopredirect(),redirectDocument()andreplace()from settingstatus: 302on theResponseInitpassed to them (#15753)- Later responses created from the same init object no longer get status 302, and a frozen init no longer throws
react-router- Clear an<Await>render error when it receives a newresolvevalue, so the error element no longer stays on screen after navigating to a route whose data renders fine (#15695)react-router- RunclientMiddlewareduring RSC client navigations and preserve it when route components update via HMR (#15763)react-router- HandleHEADresource responses consistently in RSC Framework and RSC Data modes (#15783)react-router- Fix initial rendering of RSC routes with aclientLoaderand noHydrateFallback(#15763)react-router- Fix<ScrollRestoration>throwing an uncaught error before hydration whensessionStorageis unavailable (#15566)- The inline restore script already logged the storage error, but its cleanup call accessed
sessionStorageagain and threw (e.g. Chrome with "Block all cookies", sandboxed cross-origin iframes) - The error is still logged with
console.error; only the second, uncaught throw is removed
- The inline restore script already logged the storage error, but its cleanup call accessed
react-router- FixuseBlockerleaving behind a stale blocker that keeps blocking navigation after its component is hidden and shown again with<Activity>, or after the router is recreated (#15710)@react-router/architect- Fix the request URL when theHostheader is an IPv6 address (e.g.,[::1]:3333), which madenew URL()throw (#15660)@react-router/architect- FixsendReactRouterResponsethrowingTypeError: immutablewhen afetch()response sets cookies (#15714)@react-router/cloudflare- Improve handling of invalid sessions in Workers KV session storage (#15772)@react-router/dev- Cache client route chunk analysis using normalized route paths and disable dependency optimization in the child compiler, including explicitly included dependencies (#15329)@react-router/dev- Serialize concurrent type generation to prevent filesystem races betweenreact-router devandreact-router typegen(#15293)- Report a timeout with cleanup instructions if the typegen lock cannot be acquired within 30 seconds
@react-router/dev- Pass route component props to exports declared with export specifiers (#15544)- Pass props such as
loaderDataandparamstodefault,ErrorBoundary, andHydrateFallbackexports - Support re-exports such as
export { default } from "./component"and local aliases such asexport { Page as default }
- Pass props such as
@react-router/dev- Improve handling of prerendered redirect destinations in Framework Mode and unstable RSC Framework Mode (#15786)@react-router/dev- Declare an empty source map for the placeholder chunk of a route export that can't be split, so Rollup no longer warns thatreact-router:split-route-modulesdropped the source map (#15520)@react-router/dev- Preserve RSC client middleware when route components update via HMR (#15763)@react-router/dev- Fix RSC Framework Mode builds failing with "Vite RSC assets manifest not found" when using@vitejs/plugin-rsc0.5.36 or later (#15672)- Preserve client version checks when the client build uses
write: false
- Preserve client version checks when the client build uses
@react-router/dev- Avoid addingisbotto dependencies whenssr: false(#15668)@react-router/node- Keep handling errors from a cancelled Node stream until it closes, so aHEADrequest for a file that fails to open no longer crashes the process (#15634)@react-router/node- Release the reader acquired byreadableStreamToStringwhen consumption finishes or fails (#15592)- Allow callers to acquire a reader again afterward
create-react-router- Allow project scaffolding to complete whengit addor the initialgit commitfails (#15737)create-react-router- Derive the generated package name from the project directory basename (#15698)- Handle absolute paths, trailing separators, and paths entered at the directory prompt
Full Changelog:
Original sourcev8.5.1...v8.5.2 - Nov 18, 2026
- Date parsed from source:Nov 18, 2026
- First seen by Releasebot:Nov 19, 2026
- Modified by Releasebot:Nov 28, 2026
v8.5.2
React Router releases v8.5.2 with broad fixes for navigation, forms, streaming, hydration, and server rendering. It also improves developer tooling and adds an opt-in Await implementation using React’s use() API, while refining handling across supported platforms.
Patch Changes
- react-router - Keep navigation metadata consistent after a submission action throws an error (#15621)
- Use the committed history action for loader dataStrategy navigation types and loading navigation history actions
- react-router - Cancel the discarded response body for HEAD requests, so a resource route streaming a file no longer leaks its file descriptor (#15634)
- Keep observing nested deferred promise rejections after cancelling a data response so they cannot crash the server
- react-router - Preserve streamed boundaries during hydration in development (#15382)
- Wrap the critical CSS reset in React.startTransition to prevent React 19 from silently discarding the server HTML and rendering the boundary on the client
- react-router - Fix submissions to root form actions containing search parameters or a hash when a basename is configured (#15725)
- react-router - Fix href() to throw for null required parameters and omit null splat parameters without a trailing slash, matching the behavior for undefined and the defined types (#15754)
- react-router - Fix generated MetaArgs.matches types to stop at the current route instead of appending an unknown, possibly undefined tail (#15697)
- react-router - Improve path generation and URL validation across href(), generatePath(), links, forms, fetchers, and redirects (#15785)
- react-router - Stop redirect(), redirectDocument(), and replace() from setting status: 302 on the ResponseInit passed to them (#15753)
- Later responses created from the same init object no longer get status 302, and a frozen init no longer throws
- react-router - Clear an render error when it receives a new resolve value, so the error element no longer stays on screen after navigating to a route whose data renders fine (#15695)
- react-router - Run clientMiddleware during RSC client navigations and preserve it when route components update via HMR (#15763)
- react-router - Handle HEAD resource responses consistently in RSC Framework and RSC Data modes (#15783)
- react-router - Fix initial rendering of RSC routes with a clientLoader and no HydrateFallback (#15763)
- react-router - Fix throwing an uncaught error before hydration when sessionStorage is unavailable (#15566)
- The inline restore script already logged the storage error, but its cleanup call accessed sessionStorage again and threw (e.g. Chrome with "Block all cookies", sandboxed cross-origin iframes)
- The error is still logged with console.error; only the second, uncaught throw is removed
- react-router - Fix useBlocker leaving behind a stale blocker that keeps blocking navigation after its component is hidden and shown again with , or after the router is recreated (#15710)
- @react-router/architect - Fix the request URL when the Host header is an IPv6 address (e.g., [::1]:3333), which made new URL() throw (#15660)
- @react-router/architect - Fix sendReactRouterResponse throwing TypeError: immutable when a fetch() response sets cookies (#15714)
- @react-router/cloudflare - Improve handling of invalid sessions in Workers KV session storage (#15772)
- @react-router/dev - Cache client route chunk analysis using normalized route paths and disable dependency optimization in the child compiler, including explicitly included dependencies (#15329)
- @react-router/dev - Serialize concurrent type generation to prevent filesystem races between react-router dev and react-router typegen (#15293)
- Report a timeout with cleanup instructions if the typegen lock cannot be acquired within 30 seconds
- @react-router/dev - Pass route component props to exports declared with export specifiers (#15544)
- Pass props such as loaderData and params to default, ErrorBoundary, and HydrateFallback exports
- Support re-exports such as export { default } from "./component" and local aliases such as export { Page as default }
- @react-router/dev - Improve handling of prerendered redirect destinations in Framework Mode and unstable RSC Framework Mode (#15786)
- @react-router/dev - Declare an empty source map for the placeholder chunk of a route export that can't be split, so Rollup no longer warns that react-router:split-route-modules dropped the source map (#15520)
- @react-router/dev - Preserve RSC client middleware when route components update via HMR (#15763)
- @react-router/dev - Fix RSC Framework Mode builds failing with "Vite RSC assets manifest not found" when using @vitejs/plugin-rsc 0.5.36 or later (#15672)
- Preserve client version checks when the client build uses write: false
- @react-router/dev - Avoid adding isbot to dependencies when ssr: false (#15668)
- @react-router/node - Keep handling errors from a cancelled Node stream until it closes, so a HEAD request for a file that fails to open no longer crashes the process (#15634)
- @react-router/node - Release the reader acquired by readableStreamToString when consumption finishes or fails (#15592)
- Allow callers to acquire a reader again afterward
- create-react-router - Allow project scaffolding to complete when git add or the initial git commit fails (#15737)
- create-react-router - Derive the generated package name from the project directory basename (#15698)
- Handle absolute paths, trailing separators, and paths entered at the directory prompt
Unstable Changes
⚠️ Unstable features are not recommended for production use
- react-router - Add an opt-in implementation based on React's use() API (#15678)
- Use React.use instead of React Router's internal promise tracking
- Accept promise-like values and retain errorElement, useAsyncValue, and useAsyncError support
- Handle only promise rejections with errorElement when using unstable_promise, allowing child render errors to bubble to the nearest React error boundary
- Track streamed promises during decoding so settled server content stays visible during hydration updates with either Await API or direct React.use()
- react-router - Fix URIError: URI malformed when an API-only (ssr: "unstable_api-only") server receives a URL path with a malformed percent-encoding (#15649)
- react-router - Fix duplicate headers when throwing a redirect from an RSC server function (#15667)
Full Changelog: v8.5.1...v8.5.2
Original source - Oct 27, 2026
- Date parsed from source:Oct 27, 2026
- First seen by Releasebot:Nov 2, 2026
v8.5.1
React Router adds an opt-in `<Await>` API using React’s `use()` for promise-like values, while preserving existing error and async-value support. The release also fixes routing, navigation, hydration, and server reliability issues across its packages.
What's Changed
<Await unstable_promise>In Data and Framework modes, including their unstable RSC variants, client components can opt into React's
use()API with<Await unstable_promise>. This keeps support for render-prop children,useAsyncValue, anduseAsyncErrorwhile accepting promise-like values without modifying the source promise.Warning: The
unstable_promiseprop is unstable and may change in minor or patch releases.import { Suspense } from "react"; import { Await } from "react-router"; <Suspense fallback={<p>Loading reviews...</p>}> <Await unstable_promise={reviewsPromise} errorElement={<p>Could not load reviews</p>} > {(reviews) => <Reviews items={reviews} />} </Await> </Suspense>;Pass exactly one of
resolveorunstable_promise; the existingresolveAPI remains supported. Withunstable_promise,errorElementhandles promise rejections, while errors thrown when rendering children bubble to the nearest React error boundary.Streamed promises are also tracked during decoding so settled server content stays visible during hydration updates when using either
<Await>API orReact.use()directly.Patch Changes
react-router- FixURIError: URI malformedwhen anssr: falsedev server receives a URL path with a malformed percent-encoding (#15649)react-router- Bound server route manifest processing for paths with expensive route expansion (#15703)- Fall back to initial route discovery during server rendering and RSC document/data requests
- Account for the number and depth of candidate branches when using regex matching
react-router- Encode commas within paths sent to the lazy route discovery manifest endpoint so routes with commas in their paths are discovered correctly (#15640)react-router- Fix fetcher revalidation errors bubbling to the root error boundary instead of the nearest boundary above the route that owns the fetcher (#15676)react-router- Avoid duplicate history entries when posting a<Form>to the current URL with an encodedaction(#15679)- Replace the current history entry when the
actioncontains characters that get percent-encoded, such as spaces or non-ASCII characters
- Replace the current history entry when the
react-router- Fix an unhandled promise rejection when the browser skips aviewTransitionnavigation, for example in a hidden tab (#15582)react-router- Bubble rejectedlazy.Componentimports on loader-less routes to the nearest error boundary (#15658)- Render the error boundary instead of a blank page
react-router- Preserve pending fetcher mutation revalidation when an older navigation or background reload completes to prevent stale loader data (#15686)- Keep newer fetcher loads cancellable and preserve them when earlier revalidations finish or abort, preventing older responses from overwriting fresh fetcher data
react-router- Retry rejectedlazyroute imports instead of caching failures permanently (#15689)react-router- Revalidate loader data when a fetcher action redirect is not followed (#15557)- Revalidate when an action redirect is ignored because a newer navigation started or the fetcher unmounted while the action was running
- Include shared parent loaders when another navigation completed while the action was running
- Continue to respect
shouldRevalidate - Return fetchers to
idlewhen a revalidation completes a pending navigation started by another fetcher's redirect
react-router- Avoid adding an incompatibledocument.startViewTransition()overload to the globalDocumenttype (#15680)- Allow transition results to be assigned to the DOM
ViewTransitiontype
- Allow transition results to be assigned to the DOM
react-router- SkipdeleteDataindestroySessionwhen the session has no ID (#15639)- Avoid failures when destroying a session without a cookie on storage that rejects an empty key
react-router- Surface the host's 404 response when a SPA fallback route has no prerendered data (#15646)- Request single-fetch
.datafiles for hydrating routes with a serverloaderin anssr: falseapp with aprerenderconfig - Avoid the internal "No result found for routeId" error for non-prerendered parameterized paths served via the SPA fallback
- Request single-fetch
react-router- Improve turbo-stream decoding validation and object property handling (18e1fbd)@react-router/architect- Preserve binary request bodies in the Architect adapter (#15652)- Avoid decoding base64-encoded bodies to UTF-8 strings for content types other than
multipart/form-data
- Avoid decoding base64-encoded bodies to UTF-8 strings for content types other than
@react-router/dev- Use resolved Vite environment output directories when reading and writing build artifacts (#15480)- Finalize server-bundle manifest paths after asynchronous Vite configuration hooks complete
- Preserve output-directory overrides applied when creating a Vite build environment
@react-router/dev- Run prerendering after other Vite plugins finish their application build hooks (#15481)- Close React Router's build resources when another plugin's application build hook fails during
react-router build
- Close React Router's build resources when another plugin's application build hook fails during
@react-router/serve- Avoid writing a blank line to stderr when the server shuts down successfully (#15641)create-react-router- Fix package manager command execution on Windows by handling.cmdshims properly (#15565)
Unstable Changes
⚠️ Unstable features are not recommended for production use
react-router- Add an opt-in<Await unstable_promise={promise}>implementation based on React'suse()API (#15678)- Use
React.useinstead of React Router's internal promise tracking - Accept promise-like values and retain
errorElement,useAsyncValue, anduseAsyncErrorsupport - Handle only promise rejections with
errorElementwhen usingunstable_promise, allowing child render errors to bubble to the nearest React error boundary - Track streamed promises during decoding so settled server content stays visible during hydration updates with either Await API or direct
React.use()
- Use
react-router- FixURIError: URI malformedwhen an API-only (ssr: "unstable_api-only") server receives a URL path with a malformed percent-encoding (#15649)react-router- Fix duplicate headers when throwing a redirect from an RSC server function (#15667)
Full Changelog:
Original sourcev8.5.0...v8.5.1 Similar to React Router with recent updates:
- React updates37 release notes · Latest Oct 14, 2026
- Next.js updates138 release notes · Latest Dec 2, 2026
- Anthropic updates80 release notes · Latest Nov 25, 2026
- GitHub updates874 release notes · Latest Dec 4, 2026
- Gemini updates493 release notes · Latest Dec 3, 2026
- Claude updates210 release notes · Latest Dec 2, 2026
- Oct 27, 2026
- Date parsed from source:Oct 27, 2026
- First seen by Releasebot:Nov 2, 2026
- Modified by Releasebot:Dec 4, 2026
v8.5.1
React Router releases v8.5.1 with expanded promise support in <Await>, new unstable options for data fetching and route discovery, and fixes across routing, hydration, server rendering, and developer tooling.
What's Changed <Await unstable_promise> In Data and Framework modes, including their unstable RSC variants, client components can opt into React's use() API with <Await unstable_promise>. This keeps support for render-prop children, useAsyncValue, and useAsyncError while accepting promise-like values without modifying the source promise. Warning: The unstable_promise prop is unstable and may change in minor or patch releases. import { Suspense } from "react"; import { Await } from "react-router"; <Suspense fallback={<p>Loading reviews...</p>}> <Await unstable_promise={reviewsPromise} errorElement={<p>Could not load reviews</p>}> {(reviews) => <Reviews items={reviews} />} </Await> </Suspense>; Pass exactly one of resolve or unstable_promise; the existing resolve API remains supported. With unstable_promise, errorElement handles promise rejections, while errors thrown when rendering children bubble to the nearest React error boundary. Streamed promises are also tracked during decoding so settled server content stays visible during hydration updates when using either <Await> API or React.use() directly. Patch Changes • react-router - Fix URIError: URI malformed when an ssr: false dev server receives a URL path with a malformed percent-encoding (#15649) • react-router - Bound server route manifest processing for paths with expensive route expansion (#15703) ◦ Fall back to initial route discovery during server rendering and RSC document/data requests ◦ Account for the number and depth of candidate branches when using regex matching • react-router - Encode commas within paths sent to the lazy route discovery manifest endpoint so routes with commas in their paths are discovered correctly (#15640) • react-router - Fix fetcher revalidation errors bubbling to the root error boundary instead of the nearest boundary above the route that owns the fetcher (#15676) • react-router - Avoid duplicate history entries when posting a <Form> to the current URL with an encoded action (#15679) ◦ Replace the current history entry when the action contains characters that get percent-encoded, such as spaces or non-ASCII characters • react-router - Fix an unhandled promise rejection when the browser skips a viewTransition navigation, for example in a hidden tab (#15582) • react-router - Bubble rejected lazy.Component imports on loader-less routes to the nearest error boundary (#15658) ◦ Render the error boundary instead of a blank page • react-router - Preserve pending fetcher mutation revalidation when an older navigation or background reload completes to prevent stale loader data (#15686) ◦ Keep newer fetcher loads cancellable and preserve them when earlier revalidations finish or abort, preventing older responses from overwriting fresh fetcher data • react-router - Retry rejected lazy route imports instead of caching failures permanently (#15689) • react-router - Revalidate loader data when a fetcher action redirect is not followed (#15557) ◦ Revalidate when an action redirect is ignored because a newer navigation started or the fetcher unmounted while the action was running ◦ Include shared parent loaders when another navigation completed while the action was running ◦ Continue to respect shouldRevalidate ◦ Return fetchers to idle when a revalidation completes a pending navigation started by another fetcher's redirect • react-router - Avoid adding an incompatible document.startViewTransition() overload to the global Document type (#15680) ◦ Allow transition results to be assigned to the DOM ViewTransition type • react-router - Skip deleteData in destroySession when the session has no ID (#15639) ◦ Avoid failures when destroying a session without a cookie on storage that rejects an empty key • react-router - Surface the host's 404 response when a SPA fallback route has no prerendered data (#15646) ◦ Request single-fetch .data files for hydrating routes with a server loader in an ssr: false app with a prerender config ◦ Avoid the internal "No result found for routeId" error for non-prerendered parameterized paths served via the SPA fallback • react-router - Improve turbo-stream decoding validation and object property handling (18e1fbd) • @react-router/architect - Preserve binary request bodies in the Architect adapter (#15652) ◦ Avoid decoding base64-encoded bodies to UTF-8 strings for content types other than multipart/form-data • @react-router/dev - Use resolved Vite environment output directories when reading and writing build artifacts (#15480) ◦ Finalize server-bundle manifest paths after asynchronous Vite configuration hooks complete ◦ Preserve output-directory overrides applied when creating a Vite build environment • @react-router/dev - Run prerendering after other Vite plugins finish their application build hooks (#15481) ◦ Close React Router's build resources when another plugin's application build hook fails during react-router build • @react-router/serve - Avoid writing a blank line to stderr when the server shuts down successfully (#15641) • create-react-router - Fix package manager command execution on Windows by handling .cmd shims properly (#15565) Unstable Changes ⚠️ Unstable features are not recommended for production use • react-router - Add an unstable_fetch prop to <HydratedRouter> to customize JavaScript-issued manifest and server data requests in conventional Framework Mode (#15586) ◦ The function receives the intended request as well as context identifying the type of request ◦ Data request context includes navigationType ("PUSH", "REPLACE", or "POP" for navigation-initiated requests, including reloaded fetchers; null otherwise) ■ Data strategies receive equivalent metadata through unstable_initiator and unstable_navigationType ◦ The custom fetch context is a discriminated union, so narrowing type to "navigation" guarantees a non-null navigationType, while other data requests have a null navigationType ■ Fetchers reloaded after an initialization redirect retain the "initialization" type and include their fetcher key ◦ Like other router initialization options, the implementation is captured when the singleton router is created and thus subsequent prop changes are ignored ◦ Browser-managed data prefetches from <Link prefetch> use native <link rel="prefetch"> elements and do not call the custom implementation ◦ Use the callback for custom fetch options, custom headers, safe request retries, or response header inspection ◦ Return response bodies unchanged so React Router can decode its manifest and Turbo Stream data protocols • react-router - Support API-only Framework Mode with runtime server data loading, actions, revalidation, and lazy route discovery (#15601) ◦ Hydrate prerendered pages from build-time data and fetch server loader data when hydrating a SPA fallback ◦ Preserve normal loader revalidation and server-action support for eagerly loaded and lazily discovered routes, and honor loader opt-outs when making server data requests • @react-router/dev - Add unstable_apiServerOrigin to configure the origin for API-only loader, action, and route discovery requests (#15601) • react-router - Add unstable_useRouteDiscovery for application-controlled route discovery in conventional Framework Mode (#15602) ◦ Discover selected destinations or load the running client's full route manifest without loading route modules ◦ Compose manifest-mismatch handlers, with shared recovery and cancellation that preserves application state ◦ Keep full-manifest failures catchable without rendering error boundaries, whether mismatch handlers use the hook or event's loadAllRoutes() ◦ Cancel pending revalidation alongside a canceled navigation, retaining existing data and settling interrupted fetchers before restoring Back/Forward history ◦ Enable future.unstable_customRouteDiscovery to opt in ■ Apps without the flag retain existing discovery behavior ◦ Call event.defaultBehavior() from a custom mismatch handler to explicitly run built-in recovery • @react-router/dev - Add the future.unstable_customRouteDiscovery flag to opt into application-controlled route discovery in conventional Framework Mode (#15602) • react-router - Return middleware short-circuit responses as-is for document requests in RSC modes, including resource routes, instead of decoding non-RSC bodies as Flight (#15628) ◦ Include server middleware in both eager and lazy RSC route configuration types ◦ Preserve HTML rendering for cached Flight responses returned by middleware, and pass through raw responses that replace the result of next() • react-router - Fix <Await> failing to server render promises decoded from an RSC payload, which caused the Suspense boundary to switch to client rendering (#15597) • react-router - Fix an RSC server crash when a client aborts a document request while the HTML stream waits for the RSC payload (#15612) • react-router - Fix the unstable_useRouterState documentation example to call the imported alias (#15535) • @react-router/dev - Fix source maps for route modules in unstable RSC Framework Mode (#15479) Full Changelog: v8.5.0...v8.5.1
Original source - Oct 19, 2026
- Date parsed from source:Oct 19, 2026
- First seen by Releasebot:Oct 21, 2026
v8.5.0
React Router releases new unstable API-only rendering, custom request handling, and application-controlled route discovery, alongside fixes for hydration, routing, and session reliability. It also deprecates its view transition APIs in favor of React’s <ViewTransition>.
What's Changed
View Transition Deprecations
React Router's view transition APIs are now marked deprecated in favor of React's
<ViewTransition>component, available in React 19.3+. The existing APIs will continue to work for the duration of React Router v8 and will be removed in v9.To use
<ViewTransition>, wrap it around an<Outlet>in a persistent layout:import { ViewTransition } from "react"; import { Outlet } from "react-router"; export default function Layout() { return ( <ViewTransition> <Outlet /> </ViewTransition> ); }When migrating, remove the
viewTransitionprops/options and replaceuseViewTransitionState,NavLink'sisTransitioning, and.transitioningstyles with React's View Transition classes. Note using<ViewTransition>requires React transitions be enabled, so do not setuseTransitions={false}on your router component. See the migration guide for examples and compatibility considerations.API-only Mode (unstable)
Framework Mode can now serve static HTML while retaining a runtime server for loaders, actions, revalidation, and lazy route discovery. This allows you to deploy your static HTML files to a CDN on one origin while having them hit server loader/actions on a runtime server potentially on another origin.
Enable API-only Mode in
react-router.config.ts:import type { Config } from "@react-router/dev/config"; export default { ssr: "unstable_api-only", // Optionally serve complete HTML for selected paths: prerender: ["/", "/about"], } satisfies Config;If you are running your API server on a separate origin, set
unstable_apiServerOriginin your config to route API calls to the proper origin (and ensure you configure CORS andallowedActionOriginsappropriately). See Rendering Strategies for deployment details.Custom Fetch and Request Metadata (unstable)
In Framework Mode, pass
unstable_fetchto<HydratedRouter>inapp/entry.client.tsxto customize JavaScript-issued server data and route discovery requests:import { hydrateRoot } from "react-dom/client"; import { HydratedRouter, type unstable_RouterFetch } from "react-router/dom"; const customFetch: unstable_RouterFetch = (request, context) => { let headers = new Headers(request.headers); headers.set("X-App-Request-Type", context.type); return fetch(request, { headers }); }; hydrateRoot(document, <HydratedRouter unstable_fetch={customFetch} />);The callback receives a constructed
Requestand context identifying initialization, navigation, fetcher, revalidation, or manifest requests. Navigation-initiated data requests also includenavigationType("PUSH","REPLACE", or"POP"). Data Mode data strategies receive equivalent metadata throughunstable_initiatorandunstable_navigationType. See Custom Fetch and Data Strategy for more information.Application-Controlled Route Discovery (unstable)
In Framework Mode, enable
future.unstable_customRouteDiscoveryto discover selected destinations or complete the running client's route manifest:import type { Config } from "@react-router/dev/config"; export default { future: { unstable_customRouteDiscovery: true }, } satisfies Config;Custom discovery is optional: enabling the flag preserves automatic route discovery and built-in manifest-mismatch recovery unless you provide a custom
onManifestMismatchhandler. You do not need to callunstable_useRouteDiscoveryto retain this behavior.import { Outlet, unstable_useRouteDiscovery } from "react-router"; function Layout() { unstable_useRouteDiscovery({ async onManifestMismatch(event) { await event.loadAllRoutes(); }, }); return <Outlet />; }The hook exposes
discoverRoutes(paths),loadAllRoutes(), and a sharedstate("partial","loading", or"complete"). Discovery loads route metadata without navigating, running loaders/actions, or prefetching route modules. With lazy discovery, custom mismatch handlers can load the running client's full manifest or let the pending operation cancel while preserving the current screen and data. See Application-Controlled Route Discovery for cancellation and recovery details.Minor Changes
react-router- Deprecate React Router's view transition APIs in favor of React's<ViewTransition>component, available in React 19.3 and later (#15493)- Deprecate the
viewTransitionprops/options,useViewTransitionState, andNavLink'sisTransitioningrender prop andtransitioningclass - Preserve existing behavior, including support for older React versions
- See the migration guide for a navigation example and compatibility considerations
- Deprecate the
Patch Changes
react-router- Declare@types/reactand@types/react-domas optional peer dependencies so the shipped type definitions resolve React types under strict (non-hoisted) node_modules layouts (#15528)react-router- Render theHydrateFallbackof a route discovered throughpatchRoutesOnNavigationduring initial hydration (#15537)- Routes discovered during initial hydration are now exposed in
state.matcheswhile their loaders run, so<RouterProvider>renders down to the discovered route'sHydrateFallbackinstead of rendering nothing
- Routes discovered during initial hydration are now exposed in
react-router- Fix router state recovery when updates occur beforeRouterProvidersubscribes, including when other subscribers are already attached, and report current client errors once without replaying server errors during hydration (#15637)react-router- FixmatchPathnot treating a static segment as optional when it contains characters outside[\w-](#15425)react-router- Stop revalidating a fetcher afterfetcher.reset(), so its cleared data no longer comes back on the next revalidation (#15633)@react-router/dev- Fix critical CSS collection in dev registering server-only route imports as client dependencies, which triggered dependency re-optimization and full page reloads (#15595)@react-router/dev- Fix intermittentPrerender: Request failed for ... connect ECONNREFUSEDerrors during prerendering (#15325)- Send requests to the address the Vite preview server bound to
- Avoid re-resolving
localhostfor each request, which could select a different address family (127.0.0.1vs::1)
@react-router/express- Fix the request URL losing its port when theHostorX-Forwarded-Hostheader is an IPv6 address (e.g.,[::1]:3000) (#15559)@react-router/node- Write file session data to a temporary file and rename it into place so concurrent commits of the same session can no longer corrupt its file (#15620)- Preserve existing session file permissions when replacing the file
Unstable Changes
⚠️ Unstable features are not recommended for production use
react-router- Add anunstable_fetchprop to<HydratedRouter>to customize JavaScript-issued manifest and server data requests in conventional Framework Mode (#15586)- The function receives the intended request as well as context identifying the type of request
- Data request context includes
navigationType("PUSH","REPLACE", or"POP"for navigation-initiated requests, including reloaded fetchers;nullotherwise)- Data strategies receive equivalent metadata through
unstable_initiatorandunstable_navigationType
- Data strategies receive equivalent metadata through
- The custom fetch context is a discriminated union, so narrowing
typeto"navigation"guarantees a non-nullnavigationType, while other data requests have anullnavigationType- Fetchers reloaded after an initialization redirect retain the
"initialization"type and include their fetcher key
- Fetchers reloaded after an initialization redirect retain the
- Like other router initialization options, the implementation is captured when the singleton router is created and thus subsequent prop changes are ignored
- Browser-managed data prefetches from
<Link prefetch>use native<link rel="prefetch">elements and do not call the custom implementation - Use the callback for custom fetch options, custom headers, safe request retries, or response header inspection
- Return response bodies unchanged so React Router can decode its manifest and Turbo Stream data protocols
react-router- Support API-only Framework Mode with runtime server data loading, actions, revalidation, and lazy route discovery (#15601)- Hydrate prerendered pages from build-time data and fetch server loader data when hydrating a SPA fallback
- Preserve normal loader revalidation and server-action support for eagerly loaded and lazily discovered routes, and honor loader opt-outs when making server data requests
@react-router/dev- Addunstable_apiServerOriginto configure the origin for API-only loader, action, and route discovery requests (#15601)react-router- Addunstable_useRouteDiscoveryfor application-controlled route discovery in conventional Framework Mode (#15602)- Discover selected destinations or load the running client's full route manifest without loading route modules
- Compose manifest-mismatch handlers, with shared recovery and cancellation that preserves application state
- Keep full-manifest failures catchable without rendering error boundaries, whether mismatch handlers use the hook or event's
loadAllRoutes() - Cancel pending revalidation alongside a canceled navigation, retaining existing data and settling interrupted fetchers before restoring Back/Forward history
- Enable
future.unstable_customRouteDiscoveryto opt in- Apps without the flag retain existing discovery behavior
- Call
event.defaultBehavior()from a custom mismatch handler to explicitly run built-in recovery
@react-router/dev- Add thefuture.unstable_customRouteDiscoveryflag to opt into application-controlled route discovery in conventional Framework Mode (#15602)react-router- Return middleware short-circuit responses as-is for document requests in RSC modes, including resource routes, instead of decoding non-RSC bodies as Flight (#15628)- Include server middleware in both eager and lazy RSC route configuration types
- Preserve HTML rendering for cached Flight responses returned by middleware, and pass through raw responses that replace the result of
next()
react-router- Fix<Await>failing to server render promises decoded from an RSC payload, which caused the Suspense boundary to switch to client rendering (#15597)react-router- Fix an RSC server crash when a client aborts a document request while the HTML stream waits for the RSC payload (#15612)react-router- Fix theunstable_useRouterStatedocumentation example to call the imported alias (#15535)@react-router/dev- Fix source maps for route modules in unstable RSC Framework Mode (#15479)
Full Changelog:
Original sourcev8.4.0...v8.5.0 - Oct 19, 2026
- Date parsed from source:Oct 19, 2026
- First seen by Releasebot:Oct 21, 2026
- Modified by Releasebot:Dec 4, 2026
v8.5.0
React Router releases updates that deprecate its view transition APIs in favor of React’s component, add unstable options for custom fetches and route matching, and fix hydration, navigation, prerendering, and session handling issues.
What's Changed View Transition Deprecations React Router's view transition APIs are now marked deprecated in favor of React's <ViewTransition> component, available in React 19.3+. The existing APIs will continue to work for the duration of React Router v8 and will be removed in v9. To use <ViewTransition>, wrap it around an <Outlet> in a persistent layout: import { ViewTransition } from "react" import { Outlet } from "react-router" export default function Layout() { return ( <ViewTransition> <Outlet /> </ViewTransition> ); } When migrating, remove the viewTransition props/options and replace useViewTransitionState, NavLink's isTransitioning, and .transitioning styles with React's View Transition classes. Note using <ViewTransition> requires React transitions be enabled, so do not set useTransitions={false} on your router component. See the migration guide for examples and compatibility considerations. API-only Mode (unstable) Framework Mode can now serve static HTML while retaining a runtime server for loaders, actions, revalidation, and lazy route discovery. This allows you to deploy your static HTML files to a CDN on one origin while having them hit server loader/actions on a runtime server potentially on another origin. Enable API-only Mode in react-router.config.ts: import type { Config } from "@react-router/dev/config"; export default { ssr: "unstable_api-only", // Optionally serve complete HTML for selected paths: prerender: ["/", "/about"], } satisfies Config; If you are running your API server on a separate origin, set unstable_apiServerOrigin in your config to route API calls to the proper origin (and ensure you configure CORS and allowedActionOrigins appropriately). See Rendering Strategies for deployment details. Custom Fetch and Request Metadata (unstable) In Framework Mode, pass unstable_fetch to <HydratedRouter> in app/entry.client.tsx to customize JavaScript-issued server data and route discovery requests: import { hydrateRoot } from "react-dom/client" import { HydratedRouter, type unstable_RouterFetch } from "react-router/dom" const customFetch: unstable_RouterFetch = (request, context) => { let headers = new Headers(request.headers); headers.set("X-App-Request-Type", context.type); return fetch(request, { headers }); }; hydrateRoot(document, <HydratedRouter unstable_fetch={customFetch} />); The callback receives a constructed Request and context identifying initialization, navigation, fetcher, revalidation, or manifest requests. Navigation-initiated data requests also include navigationType ("PUSH", "REPLACE", or "POP"). Data Mode data strategies receive equivalent metadata through unstable_initiator and unstable_navigationType. See Custom Fetch and Data Strategy for more information. Application-Controlled Route Discovery (unstable) In Framework Mode, enable future.unstable_customRouteDiscovery to discover selected destinations or complete the running client's route manifest: import type { Config } from "@react-router/dev/config" export default { future: { unstable_customRouteDiscovery: true }, } satisfies Config; Custom discovery is optional: enabling the flag preserves automatic route discovery and built-in manifest-mismatch recovery unless you provide a custom onManifestMismatch handler. You do not need to call unstable_useRouteDiscovery to retain this behavior. import { Outlet, unstable_useRouteDiscovery } from "react-router" function Layout() { unstable_useRouteDiscovery({ async onManifestMismatch(event) { await event.loadAllRoutes(); }, }); return <Outlet />; } The hook exposes discoverRoutes(paths), loadAllRoutes(), and a shared state ("partial", "loading", or "complete"). Discovery loads route metadata without navigating, running loaders/actions, or prefetching route modules. With lazy discovery, custom mismatch handlers can load the running client's full manifest or let the pending operation cancel while preserving the current screen and data. See Application-Controlled Route Discovery for cancellation and recovery details. Minor Changes • react-router - Deprecate React Router's view transition APIs in favor of React's <ViewTransition> component, available in React 19.3 and later (#15493) ◦ Deprecate the viewTransition props/options, useViewTransitionState, and NavLink's isTransitioning render prop and transitioning class ◦ Preserve existing behavior, including support for older React versions ◦ See the migration guide for a navigation example and compatibility considerations Patch Changes • react-router - Declare @types/react and @types/react-dom as optional peer dependencies so the shipped type definitions resolve React types under strict (non-hoisted) node_modules layouts (#15528) • react-router - Render the HydrateFallback of a route discovered through patchRoutesOnNavigation during initial hydration (#15537) ◦ Routes discovered during initial hydration are now exposed in state.matches while their loaders run, so <RouterProvider> renders down to the discovered route's HydrateFallback instead of rendering nothing • react-router - Fix router state recovery when updates occur before RouterProvider subscribes, including when other subscribers are already attached, and report current client errors once without replaying server errors during hydration (#15637) • react-router - Fix matchPath not treating a static segment as optional when it contains characters outside [\w-] (#15425) • react-router - Stop revalidating a fetcher after fetcher.reset(), so its cleared data no longer comes back on the next revalidation (#15633) • @react-router/dev - Fix critical CSS collection in dev registering server-only route imports as client dependencies, which triggered dependency re-optimization and full page reloads (#15595) • @react-router/dev - Fix intermittent Prerender: Request failed for ... connect ECONNREFUSED errors during prerendering (#15325) ◦ Send requests to the address the Vite preview server bound to ◦ Avoid re-resolving localhost for each request, which could select a different address family (127.0.0.1 vs ::1) • @react-router/express - Fix the request URL losing its port when the Host or X-Forwarded-Host header is an IPv6 address (e.g., [::1]:3000) (#15559) • @react-router/node - Write file session data to a temporary file and rename it into place so concurrent commits of the same session can no longer corrupt its file (#15620) ◦ Preserve existing session file permissions when replacing the file Unstable Changes ⚠️ Unstable features are not recommended for production use • react-router - Add an unstable_fetch prop to <HydratedRouter> to customize JavaScript-issued manifest and server data requests in conventional Framework Mode (#15586) ◦ The function receives the intended request as well as context identifying the type of request ◦ Data request context includes navigationType ("PUSH", "REPLACE", or "POP" for navigation-initiated requests, including reloaded fetchers; null otherwise) • react-router - Add Data Mode future.unstable_routePatternMatching flag for more efficient route matching powered by @remix-run/route-pattern (#15298) ◦ Add an unstable_validateParams route field to reject invalid parameter values and continue matching • react-router - Document access control requirements for RSC Server Functions (#15490) ◦ Treat every Server Function as a public endpoint that must perform all of its own access control checks ◦ Recommend route actions when access control should be provided by route middleware Full Changelog: v8.4.0...v8.5.0
Original source - Sep 15, 2026
- Date parsed from source:Sep 15, 2026
- First seen by Releasebot:Sep 18, 2026
v8.4.0
React Router releases 8.4.0 with faster, more granular router contexts that reduce unnecessary re-renders, plus an unstable route-pattern matcher for more efficient route matching and parameter validation. It also ships deprecations, bug fixes, and dev and node runtime improvements.
What's Changed
Reduced Route Component Re-renders
In 8.4.0, we reworked our internal data router contexts to be more granular which will reduce re-renders for components using hooks to access only some router state. For example, your component won't automatically re-render when
navigation.statetransitions toloadingif it only callsuseLocation. 4 internal contexts are now used:- Current location info (
useLocation,useSearchParams,useMatches) - Pending navigation/revalidation info (
useNavigation,useRevalidation) - Router loader/action data (
useLoaderData,useActionData) - Fetcher info (
useFetcher,useFetchers)
More Efficient Route Matching (unstable)
Data Mode can now opt into a more efficient route matcher powered by
@remix-run/route-pattern. Synthetic Chromium benchmarks reduced navigation and fetcher completion times by ~19–38% with 100 routes and ~71–88% with 1,000 routes, excluding network latency and React rendering.Route definitions and path generation APIs such as
generatePathandhrefcontinue to use React Router path syntax. Before enabling the flag, callunstable_preloadRoutePattern()so applications that do not opt in avoid downloading the new matcher.This also comes with a new
unstable_validateParamsroute field that accepts keyed regular expressions. When a parameter fails validation, matching continues to later routes. Optional parameters that are not present are not validated.import { createBrowserRouter } from "react-router"; import { unstable_preloadRoutePattern } from "react-router/route-pattern"; unstable_preloadRoutePattern(); let router = createBrowserRouter( [ { path: "/:drink", unstable_validateParams: { drink: /^(wines|whiskeys|sakes|beers)$/, }, }, { path: "/:food", unstable_validateParams: { food: /^(meats|veggies|cheeses|sweets)$/, }, }, ], { future: { unstable_routePatternMatching: true, }, }, );The legacy matching APIs (
matchRoutes,matchPath, anduseMatch) continue to use the previous regex-based matcher and may produce slightly different results. Use the newrouter.match()API when you need to match with the opted-in router. This API is private and unstable along with the flag, and will stabilize as the first-class matching API when the flag stabilizes.Minor Changes
react-router- Deprecate thecreateStaticRouter({ branches })option (#15297)createStaticRouternow caches route branches internally, ignoresbranches, and logs a deprecation warning when the option is provided- The deprecated
EntryContext.branchesproperty remains available for compatibility but is always an empty array
Patch Changes
react-router- Prevent stale route discovery during manifest version-mismatch recovery (#15489)- Keep concurrent manifest responses pending while a document reload is in progress
- Report a discovery error when a previous reload failed to resolve a version mismatch instead of loading a stale route or reloading repeatedly
- Fail pending requests if a document reload does not complete within five seconds or the document is restored from the back-forward cache, allowing subsequent requests to recover
react-router- Preserve lazy route module import errors during SPA navigations instead of replacing them with a missingdataStrategyresult error (#15464)react-router- Switch to more granular internal router contexts to avoid unnecessary route component re-renders when unrelated data router state changes (#15376)- ⚠️ This contains some breaking changes to exported
UNSAFE_contexts, so please review carefully if you are using those unsafe exports
- ⚠️ This contains some breaking changes to exported
react-router- Correctly escape streamed RSC redirect locations in meta tag attributes (#15491)react-router- Avoid unintendeddocument.startViewTransitioncalls during initial hydration androuter.revalidate()calls (#15484)react-router- FixSingleFetchNoResultErrorthrown when a fetcher revalidates against a splat route during lazy route discovery (#15395)- Track discovery per fetcher load so revalidation waits for the current load's discovery, even when the fetcher key is reused, while still restarting interrupted loaders after discovery completes
react-router- Preserve the underlying decode failure as thecauseof theUnable to decode turbo-stream responseerror (#15450)@react-router/dev- Fix action submissions behind an HTTPS reverse proxy inreact-router devandvite previewby usingX-Forwarded-Protowhen constructingrequest.url(#15466)- No React Router configuration is required
- The URL host continues to come from
Host, notX-Forwarded-Host - Configure reverse proxies to overwrite client-supplied
X-Forwarded-Protoheaders - Do not expose dev or preview servers publicly
@react-router/dev- Pass development conditions as CLI flags when relaunching the dev process (#15435)@react-router/dev- Fix stack trace locations for split route modules when source maps are enabled in thereactRouterVite plugin (#15440)@react-router/node- Fix a memory leak inwriteReadableStreamToWritableandwriteAsyncIterableToWritablethat retained memory for the lifetime of a long-running stream (#15500)- Preserve error handling when a producer closes the destination while reading the next chunk
Unstable Changes
⚠️ Unstable features are not recommended for production use
react-router- Add a Data Modefuture.unstable_routePatternMatchingflag for more efficient route matching powered by@remix-run/route-pattern(#15298)- Add an
unstable_validateParamsroute field to reject invalid parameter values and continue matching
- Add an
react-router- Document access control requirements for RSC Server Functions (#15490)- Treat every Server Function as a public endpoint that must perform all of its own access control checks
- Recommend route actions when access control should be provided by route middleware
Full Changelog:
Original sourcev8.3.1...v8.4.0 - Sep 15, 2026
- Date parsed from source:Sep 15, 2026
- First seen by Releasebot:Sep 18, 2026
- Modified by Releasebot:Nov 26, 2026
v8.4.0
React Router releases 8.4.0 with fewer unnecessary component re-renders, faster optional route matching, and fixes for navigation, route discovery, server rendering, and streaming. The update also improves development tooling and addresses a Node.js memory leak.
What's Changed
Reduced Route Component Re-renders
In 8.4.0, we reworked our internal data router contexts to be more granular which will reduce re-renders for components using hooks to access only some router state. For example, your component won't automatically re-render when navigation.state transitions to loading if it only calls useLocation. 4 internal contexts are now used:
- Current location info (useLocation, useSearchParams, useMatches)
- Pending navigation/revalidation info (useNavigation, useRevalidation)
- Router loader/action data (useLoaderData, useActionData)
- Fetcher info (useFetcher, useFetchers)
More Efficient Route Matching (unstable)
Data Mode can now opt into a more efficient route matcher powered by @remix-run/route-pattern. Synthetic Chromium benchmarks reduced navigation and fetcher completion times by ~19–38% with 100 routes and ~71–88% with 1,000 routes, excluding network latency and React rendering.
Route definitions and path generation APIs such as generatePath and href continue to use React Router path syntax. Before enabling the flag, call unstable_preloadRoutePattern() so applications that do not opt in avoid downloading the new matcher.
This also comes with a new unstable_validateParams route field that accepts keyed regular expressions. When a parameter fails validation, matching continues to later routes. Optional parameters that are not present are not validated.
import { createBrowserRouter } from "react-router"; import { unstable_preloadRoutePattern } from "react-router/route-pattern"; unstable_preloadRoutePattern(); let router = createBrowserRouter([ { path: "/:drink", unstable_validateParams: { drink: /^(wines|whiskeys|sakes|beers)$/, }, }, { path: "/:food", unstable_validateParams: { food: /^(meats|veggies|cheeses|sweets)$/, }, }, ], { future: { unstable_routePatternMatching: true, }, });The legacy matching APIs (matchRoutes, matchPath, and useMatch) continue to use the previous regex-based matcher and may produce slightly different results. Use the new router.match() API when you need to match with the opted-in router. This API is private and unstable along with the flag, and will stabilize as the first-class matching API when the flag stabilizes.
Minor Changes
- react-router - Deprecate the createStaticRouter({ branches }) option (#15297)
- createStaticRouter now caches route branches internally, ignores branches, and logs a deprecation warning when the option is provided
- The deprecated EntryContext.branches property remains available for compatibility but is always an empty array
Patch Changes
- react-router - Prevent stale route discovery during manifest version-mismatch recovery (#15489)
- Keep concurrent manifest responses pending while a document reload is in progress
- Report a discovery error when a previous reload failed to resolve a version mismatch instead of loading a stale route or reloading repeatedly
- Fail pending requests if a document reload does not complete within five seconds or the document is restored from the back-forward cache, allowing subsequent requests to recover
- react-router - Preserve lazy route module import errors during SPA navigations instead of replacing them with a missing dataStrategy result error (#15464)
- react-router - Switch to more granular internal router contexts to avoid unnecessary route component re-renders when unrelated data router state changes (#15376)
- ⚠️ This contains some breaking changes to exported UNSAFE_ contexts, so please review carefully if you are using those unsafe exports
- react-router - Correctly escape streamed RSC redirect locations in meta tag attributes (#15491)
- react-router - Avoid unintended document.startViewTransition calls during initial hydration and router.revalidate() calls (#15484)
- react-router - Fix SingleFetchNoResultError thrown when a fetcher revalidates against a splat route during lazy route discovery (#15395)
- Track discovery per fetcher load so revalidation waits for the current load's discovery, even when the fetcher key is reused, while still restarting interrupted loaders after discovery completes
- react-router - Preserve the underlying decode failure as the cause of the Unable to decode turbo-stream response error (#15450)
- @react-router/dev - Fix action submissions behind an HTTPS reverse proxy in react-router dev and vite preview by using X-Forwarded-Proto when constructing request.url (#15466)
- No React Router configuration is required
- The URL host continues to come from Host, not X-Forwarded-Host
- Configure reverse proxies to overwrite client-supplied X-Forwarded-Proto headers
- Do not expose dev or preview servers publicly
- @react-router/dev - Pass development conditions as CLI flags when relaunching the dev process (#15435)
- @react-router/dev - Fix stack trace locations for split route modules when source maps are enabled in the reactRouter Vite plugin (#15440)
- @react-router/node - Fix a memory leak in writeReadableStreamToWritable and writeAsyncIterableToWritable that retained memory for the lifetime of a long-running stream (#15500)
- Preserve error handling when a producer closes the destination while reading the next chunk
Unstable Changes
⚠️ Unstable features are not recommended for production use
- react-router - Add a Data Mode future.unstable_routePatternMatching flag for more efficient route matching powered by @remix-run/route-pattern (#15298)
- Add an unstable_validateParams route field to reject invalid parameter values and continue matching
- react-router - Document access control requirements for RSC Server Functions (#15490)
- Treat every Server Function as a public endpoint that must perform all of its own access control checks
- Recommend route actions when access control should be provided by route middleware
Full Changelog: v8.3.1...v8.4.0
Original source - Aug 27, 2026
- Date parsed from source:Aug 27, 2026
- First seen by Releasebot:Aug 28, 2026
v8.3.1
React Router ships patch updates that fix navigation, fetcher, scroll restoration, and lazy route discovery bugs, improve route matching performance and action origin validation, and strengthen URL handling. It also updates dev, node, and serve packages with build, streaming, and well-known file fixes.
Patch Changes
react-router- FixExpected fetcher: <key>error thrown on navigation when a fetcher is aborted during its post-action revalidation (#15365)react-router- Fix lazy route discovery caching a path as discovered when the triggering navigation was aborted after the manifest response settled but before the route tree was patched, which permanently (for the session) shadowed the real route behind a catch-all or produced 404s on every subsequent visit (#15399)react-router- Improve route matching performance for long paths (#15417)react-router- Improve validation of action request origins (#15419)react-router- Fix<ScrollRestoration>leavinghistory.scrollRestorationset to"auto"after a bfcache restore, which let the browser restore scroll on subsequent history traversals before the destination route had rendered (#15397)react-router- Properly respect therelativeoption inuseSubmit/fetcher.submitwhen resolivng theactionpath (#15400)react-router- Add additional URL validation on client side navigations/redirects (#15445)@react-router/dev- Bump@remix-run/node-fetch-serverdependency (#15447)@react-router/dev- Generate JavaScript entry files at package build time soreact-router reveal --no-typescriptdoes not require Prettier at runtime (#15373)- Deprecate the
--no-typescriptflag ahead of its removal in React Router v9
- Deprecate the
@react-router/node- Bump@remix-run/node-fetch-serverdependency (#15447)@react-router/node- fix: Prevent client disconnects during streaming from crashing the Node process (#15324)@react-router/serve- Bump@remix-run/node-fetch-serverdependency (#15447)@react-router/serve- Serve/.well-known/*files from the client build directory. Express 5's static middleware ignores every dot-segment path by default, so RFC 8615 well-known URIs — ACME challenges, Android'sassetlinks.json, Apple'sapple-app-site-association— fell through to the request handler and came back as app-rendered HTML instead of the static file. Other dotfiles remain hidden. (#15340)
Full Changelog:
Original sourcev8.3.0...v8.3.1 - Aug 27, 2026
- Date parsed from source:Aug 27, 2026
- First seen by Releasebot:Aug 28, 2026
- Modified by Releasebot:Oct 21, 2026
v8.3.1
React Router ships fixes and improvements across routing, navigation, and server handling, including faster matching for long paths, stronger URL and origin validation, more reliable scroll restoration, and safer streaming and static-file delivery.
Patch Changes
- react-router - Fix Expected fetcher: error thrown on navigation when a fetcher is aborted during its post-action revalidation (#15365)
- react-router - Fix lazy route discovery caching a path as discovered when the triggering navigation was aborted after the manifest response settled but before the route tree was patched, which permanently (for the session) shadowed the real route behind a catch-all or produced 404s on every subsequent visit (#15399)
- react-router - Improve route matching performance for long paths (#15417)
- react-router - Improve validation of action request origins (#15419)
- react-router - Fix leaving history.scrollRestoration set to "auto" after a bfcache restore, which let the browser restore scroll on subsequent history traversals before the destination route had rendered (#15397)
- react-router - Properly respect the relative option in useSubmit / fetcher.submit when resolivng the action path (#15400)
- react-router - Add additional URL validation on client side navigations/redirects (#15445)
- @react-router/dev - Bump @remix-run/node-fetch-server dependency (#15447)
- @react-router/dev - Generate JavaScript entry files at package build time so react-router reveal --no-typescript does not require Prettier at runtime (#15373)
- Deprecate the --no-typescript flag ahead of its removal in React Router v9
- @react-router/node - Bump @remix-run/node-fetch-server dependency (#15447)
- @react-router/node - fix: Prevent client disconnects during streaming from crashing the Node process (#15324)
- @react-router/serve - Bump @remix-run/node-fetch-server dependency (#15447)
- @react-router/serve - Serve /.well-known/* files from the client build directory. Express 5's static middleware ignores every dot-segment path by default, so RFC 8615 well-known URIs — ACME challenges, Android's assetlinks.json, Apple's apple-app-site-association — fell through to the request handler and came back as app-rendered HTML instead of the static file. Other dotfiles remain hidden. (#15340)
- Jul 22, 2026
- Date parsed from source:Jul 22, 2026
- First seen by Releasebot:Jul 23, 2026
v8.3.0
React Router releases improved RSC support, adding CSP nonce and subresource integrity handling for custom entries, plus safer client version wiring and stability fixes. It also improves path param encoding, fixes NavLink pending state, and expands TypeScript 7 support across packages.
What's Changed
RSC Entry Updates
This release includes several updates for unstable RSC apps that use custom entry files. Apps using the default RSC Framework entries do not need any changes.
If you maintain custom RSC entries, review the generated unstable change notes for the new client version, subresource integrity, and CSP nonce wiring. Custom
entry.rsc.tsxfiles should pass the generated client version tounstable_matchRSCServerRequest, and customentry.ssr.tsxfiles may need to pass the generated import map integrity data and request nonce through React's HTML renderer.Minor Changes
@react-router/dev- Restartreact-router devwith--conditions=developmentwhen not already configured (#15291)
Patch Changes
react-router- Encode path params inhref/generatePathper RFC 3986 path-segment rules instead ofencodeURIComponent(#15310)- Characters that are valid literally in a path segment (
$ & + , ; = : @— RFC 3986pchar) are no longer percent-encoded, so values like a semver build1.0.0+1interpolate unchanged instead of becoming1.0.0%2B1 - Structural/unsafe characters (
/ ? # %, whitespace, non-ASCII) are still escaped exactly as before
- Characters that are valid literally in a path segment (
react-router- Usecrypto.randomUUID()forcreateMemorySessionStoragesession ids (#15302)createMemorySessionStorageis only intended for local development and testing - sessions are lost when the server restarts
react-router- FixNavLinknot applying itspendingstate whentohas a trailing slash (#15300)@react-router/architect- Allowtypescript@7to be used (#15317)@react-router/cloudflare- Allowtypescript@7to be used (#15317)@react-router/dev- Allowtypescript@7to be used (#15317)@react-router/express- Allowtypescript@7to be used (#15317)@react-router/fs-routes- Allowtypescript@7to be used (#15317)@react-router/node- Allowtypescript@7to be used (#15317)@react-router/remix-routes-option-adapter- Allowtypescript@7to be used (#15317)
Unstable Changes
⚠️ Unstable features are not recommended for production use
react-router- Preserve RSC route component metadata so routes with aclientLoadercan skip unnecessary server requests once their components have rendered while still fetching missing server-rendered elements (#15323)react-router- Harden RSC CSRF code paths (#15311)react-router- Fix server crash (TypeError: Invalid state: Unable to enqueue) when a request is aborted while the RSC HTML stream has a pending flush (#15286)- Handle cancellation of the
injectRSCPayloadreadable side, clear the pending flush, and cancel the underlying RSC payload stream
- Handle cancellation of the
react-router- Detect stale RSC clients during lazy route discovery and reload the destination document (#15318)
Migration
Apps using the default RSC Framework entry do not need to make any changes. Apps with a custom
entry.rsc.tsxshould import the generated client version and pass it tounstable_matchRSCServerRequest:import clientVersion from "virtual:react-router/unstable_rsc/client-version"; return unstable_matchRSCServerRequest({ // ... clientVersion, });react-router- Add CSP nonce support to RSC document rendering (#15320)- Add
nonceoptions tounstable_routeRSCServerRequestandunstable_RSCStaticRouter - Forward the nonce to the HTML renderer and apply it to injected RSC payload scripts and nonce-aware framework components
- Add
To adopt nonce-based CSP, update your
entry.ssr.tsx(runreact-router reveal entry.ssrfirst in RSC Framework Mode) to generate a fresh nonce for each request. Pass it torouteRSCServerRequest, spread therenderHTMLoptions into React's HTML renderer, passoptions.noncetoRSCStaticRouter, and use the same nonce in theContent-Security-Policyresponse header:const nonce = crypto.randomUUID(); const response = await routeRSCServerRequest({ request, serverResponse, createFromReadableStream, nonce, async renderHTML(getPayload, options) { const payload = getPayload(); return renderHTMLToReadableStream( <RSCStaticRouter getPayload={getPayload} nonce={options.nonce} />, { ...options, bootstrapScriptContent, formState: await payload.formState, signal: request.signal, }, ); }, }); response.headers.set( "Content-Security-Policy", `script-src 'self' 'nonce-${nonce}'`, );@react-router/dev- Addunstable_rsc/client-versionclient build version virtual module (#15318)@react-router/dev- Support thesubResourceIntegrityconfig option in RSC Framework Mode (#15321)
Migration guide
No changes are required when using the default RSC SSR entry. If you maintain a custom
app/entry.ssr.tsx, import the new virtual module and pass its hashes to React'simportMaprender option:+import subResourceIntegrity from "virtual:react-router/unstable_rsc/subresource-integrity"; return renderToReadableStream(<RSCStaticRouter getPayload={getPayload} />, { ...options, bootstrapScriptContent, formState, + importMap: subResourceIntegrity + ? { integrity: subResourceIntegrity } + : undefined, signal: request.signal, });Full Changelog:
Original sourcev8.2.0...v8.3.0 - Jul 22, 2026
- Date parsed from source:Jul 22, 2026
- First seen by Releasebot:Jul 23, 2026
- Modified by Releasebot:Nov 30, 2026
v8.3.0
React Router releases updates that improve RSC rendering, security, and custom entry support, alongside more accurate path encoding, a NavLink pending-state fix, and TypeScript 7 compatibility across packages.
What's Changed
RSC Entry Updates
This release includes several updates for unstable RSC apps that use custom entry files. Apps using the default RSC Framework entries do not need any changes.
If you maintain custom RSC entries, review the generated unstable change notes for the new client version, subresource integrity, and CSP nonce wiring. Custom entry.rsc.tsx files should pass the generated client version to unstable_matchRSCServerRequest, and custom entry.ssr.tsx files may need to pass the generated import map integrity data and request nonce through React's HTML renderer.
Minor Changes
- @react-router/dev - Restart react-router dev with --conditions=development when not already configured (#15291)
Patch Changes
- react-router - Encode path params in href / generatePath per RFC 3986 path-segment rules instead of encodeURIComponent (#15310)
- Characters that are valid literally in a path segment ($ & + , ; = : @ — RFC 3986 pchar) are no longer percent-encoded, so values like a semver build 1.0.0+1 interpolate unchanged instead of becoming 1.0.0%2B1
- Structural/unsafe characters (/ ? # %), whitespace, non-ASCII) are still escaped exactly as before
- react-router - Use crypto.randomUUID() for createMemorySessionStorage session ids (#15302)
- createMemorySessionStorage is only intended for local development and testing - sessions are lost when the server restarts
- react-router - Fix NavLink not applying its pending state when to has a trailing slash (#15300)
- @react-router/architect - Allow typescript@7 to be used (#15317)
- @react-router/cloudflare - Allow typescript@7 to be used (#15317)
- @react-router/dev - Allow typescript@7 to be used (#15317)
- @react-router/express - Allow typescript@7 to be used (#15317)
- @react-router/fs-routes - Allow typescript@7 to be used (#15317)
- @react-router/node - Allow typescript@7 to be used (#15317)
- @react-router/remix-routes-option-adapter - Allow typescript@7 to be used (#15317)
Unstable Changes
⚠️ Unstable features are not recommended for production use
react-router - Preserve RSC route component metadata so routes with a clientLoader can skip unnecessary server requests once their components have rendered while still fetching missing server-rendered elements (#15323)
react-router - Harden RSC CSRF code paths (#15311)
react-router - Fix server crash (TypeError: Invalid state: Unable to enqueue) when a request is aborted while the RSC HTML stream has a pending flush (#15286)
- Handle cancellation of the injectRSCPayload readable side, clear the pending flush, and cancel the underlying RSC payload stream
react-router - Detect stale RSC clients during lazy route discovery and reload the destination document (#15318)
Migration
Apps using the default RSC Framework entry do not need to make any changes. Apps with a custom entry.rsc.tsx should import the generated client version and pass it to unstable_matchRSCServerRequest:
import clientVersion from "virtual:react-router/unstable_rsc/client-version"; return unstable_matchRSCServerRequest({ // ... clientVersion });react-router - Add CSP nonce support to RSC document rendering (#15320)
- Add nonce options to unstable_routeRSCServerRequest and unstable_RSCStaticRouter
- Forward the nonce to the HTML renderer and apply it to injected RSC payload scripts and nonce-aware framework components
To adopt nonce-based CSP, update your entry.ssr.tsx (run react-router reveal entry.ssr first in RSC Framework Mode) to generate a fresh nonce for each request. Pass it to routeRSCServerRequest, spread the renderHTML options into React's HTML renderer, pass options.nonce to RSCStaticRouter, and use the same nonce in the Content-Security-Policy response header:
const nonce = crypto.randomUUID(); const response = await routeRSCServerRequest({ request, serverResponse, createFromReadableStream, nonce, async renderHTML(getPayload, options) { const payload = getPayload(); return renderHTMLToReadableStream(<RSCStaticRouter getPayload={getPayload} nonce={options.nonce} />, { ...options, bootstrapScriptContent, formState: await payload.formState, signal: request.signal }); } }); response.headers.set("Content-Security-Policy", `script-src 'self' 'nonce-${nonce}'`);@react-router/dev - Add unstable_rsc/client-version client build version virtual module (#15318)
@react-router/dev - Support the subResourceIntegrity config option in RSC Framework Mode (#15321)
Migration guide
No changes are required when using the default RSC SSR entry. If you maintain a custom app/entry.ssr.tsx, import the new virtual module and pass its hashes to React's importMap render option:
+ import subResourceIntegrity from "virtual:react-router/unstable_rsc/subresource-integrity"; return renderToReadableStream(<RSCStaticRouter getPayload={getPayload} />, { ...options, bootstrapScriptContent, formState, importMap: subResourceIntegrity ? { integrity: subResourceIntegrity } : undefined, signal: request.signal, });
Full Changelog: v8.2.0...v8.3.0
Original source - Jul 8, 2026
- Date parsed from source:Jul 8, 2026
- First seen by Releasebot:Jul 10, 2026
v8.2.0
React Router adds a Web Streams default server entry for non-Node Framework mode apps, with an opt-in flag for Node apps, and improves routing, param handling, blockers, and Vite 8+ config detection while also fixing URL encoding and route ranking issues.
What's Changed
Web Streams Default Server Entry
Non-Node runtime Framework Mode apps no longer need a custom
entry.server.tsxfile using React'srenderToReadableStreamAPI. Apps with@react-router/{node,express,serve}dependencies will continue to default torenderToPipeableStream, while non-Node apps default torenderToReadableStream.Because Web Streams are stable in Node 22+, Node apps can also opt-into the Web Streams default entry with the new
future.unstable_enableNodeReadableStreamflag:import type { Config } from "@react-router/dev/config"; export default { future: { unstable_enableNodeReadableStream: true, }, } satisfies Config;This flag has no effect if you have a custom
entry.server.tsxkeep using their custom entry file. It only applies to the default entry used if one doesn't exist.Node apps opting-into the Web Streams API might even see a small performance boost because React Router already uses Web Streams internally, so this avoids additional conversions between Web/Node streams. If you see perf changes one way or another upon adopting this flag, please let us know!
Minor Changes
@react-router/dev- Add a Web Streams default server entry for non-Node Framework mode apps (#15290)- Apps using
@react-router/node,@react-router/express, or@react-router/servecontinue to use therenderToPipeableStreamdefault server entry - Apps without those Node server adapter dependencies use a
renderToReadableStreamdefault server entry - Non-Node apps with their own
entry.server.tsxmay be able to remove it in favor of the default if it is not doing anything custom
- Apps using
@react-router/dev- Detectnubas a supported package manager when installing framework dependencies (#15276)create-react-router- Detectnubas a supported package manager when creating new projects (#15276)
Patch Changes
react-router- Fixhref()to properly stringify and URL-encode param values, matchinggeneratePath()(#15277)- splat params preserve path separators while encoding each segment individually
react-router- Fix dynamic param extraction for routes with optional static segments (#15200)- When a route path contains optional static segments (e.g.
/school?/user/:id), the internal regex's incorrectly shifted parameter indices resulting in incorrect parameter extraction - Consecutive optional static segments (e.g.
/one?/two?) were only partially handled
- When a route path contains optional static segments (e.g.
react-router- Preserve navigation blocker state through a revalidation (#15246)react-router- Fix route ranking for dynamic parameters with static extension suffixes (#15273)- These were not being detected as dynamic param segments and instead got incorrectly scored higher as a static segment
- This meant they could potentially tie truly static routes like
/sitemap.xmland outrank them based on definition order - These are now correctly identified as dynamic parameter segments and scored correctly
react-router- Use ReactFormState types instead of unknown (#15263)@react-router/dev- Detect userrolldownOptionsconfig in Vite 8+ (#15278)
Unstable Changes
⚠️ Unstable features are not recommended for production use
@react-router/dev- Add thefuture.unstable_enableNodeReadableStreamflag to opt Node Framework mode apps into usingrenderToReadableStreaminstead ofrenderToPipeableStream(#15290)- This flag has no effect if you have your own
entry.server.tsx
- This flag has no effect if you have your own
Full Changelog:
Original sourcev8.1.0...v8.2.0
Curated by the Releasebot team
Releasebot is an aggregator of official product update announcements from hundreds of software vendors and thousands of sources.
Our editorial process involves the manual review and audit of release notes procured with the help of automated systems.