@react-router/dev
8.5.2 · 18 Nov 2026MIT4.5M / weekRepositoryHomepagenpmAtom feed
Where each line stands
Plan an upgrade- 8.x8.5.2No known advisoryLatest line
- 7.x7.18.6No known advisoryTo 8.5.2
Latest releases
All 64 releases- 8.x · latest line
8.5.2
18 Nov 2026Cache client route chunk analysis using normalized route paths and disable dependency optimization in the child compiler, including explicitly included dependencies
Serialize concurrent type generation to prevent filesystem races between
react-router devandreact-router typegenPass route component props to exports declared with export specifiers
Patch Changes
Cache client route chunk analysis using normalized route paths and disable dependency optimization in the child compiler, including explicitly included dependencies
Serialize concurrent type generation to prevent filesystem races between
react-router devandreact-router typegenReport a timeout with cleanup instructions if the typegen lock cannot be acquired within 30 seconds
Pass route component props to exports declared with export specifiers
Pass props such as
loaderDataandparamstodefault,ErrorBoundary, andHydrateFallbackexportsSupport re-exports such as
export { default } from "./component"and local aliases such asexport { Page as default }
Improve handling of prerendered redirect destinations in Framework Mode and unstable RSC Framework Mode
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-modulesdropped the source mapPreserve RSC client middleware when route components update via HMR
Fix RSC Framework Mode builds failing with "Vite RSC assets manifest not found" when using
@vitejs/plugin-rsc0.5.36 or laterPreserve client version checks when the client build uses
write: false
Avoid adding
isbotto dependencies whenssr: false
8.5.1
27 Oct 2026Use resolved Vite environment output directories when reading and writing build artifacts
Run prerendering after other Vite plugins finish their application build hooks
Patch Changes
Use resolved Vite environment output directories when reading and writing build artifacts
Finalize server-bundle manifest paths after asynchronous Vite configuration hooks complete
Preserve output-directory overrides applied when creating a Vite build environment
Run prerendering after other Vite plugins finish their application build hooks
Close React Router's build resources when another plugin's application build hook fails during
react-router build
8.5.0
19 Oct 2026Fix critical CSS collection in dev registering server-only route imports as client dependencies, which triggered dependency re-optimization and full page reloads
Fix intermittent
Prerender: Request failed for ... connect ECONNREFUSEDerrors during prerenderingAdd
ssr: "unstable_api-only"to retain a runtime server for loaders, actions, and route discovery while disabling production document rendering
Patch Changes
Fix critical CSS collection in dev registering server-only route imports as client dependencies, which triggered dependency re-optimization and full page reloads
Fix intermittent
Prerender: Request failed for ... connect ECONNREFUSEDerrors during prerenderingSend 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)
Unstable Changes
⚠️ Unstable features are not recommended for production use
Add
ssr: "unstable_api-only"to retain a runtime server for loaders, actions, and route discovery while disabling production document renderingGenerate a root-only SPA shell when prerendering is disabled
Support prerendered pages and data files alongside runtime loaders and actions, with a SPA fallback for non-prerendered paths
Default API-only builds to lazy route discovery
Reject API-only configuration in RSC Framework Mode
Preserve server-only route exports in additional Vite server environments in both API-only and SSR modes
Serve prerendered pages and the SPA fallback in Vite preview while retaining live data requests and route discovery
Add the
future.unstable_customRouteDiscoveryflag to opt into application-controlled route discovery in conventional Framework ModeFix source maps for route modules in unstable RSC Framework Mode
Add
unstable_apiServerOriginto configure the origin for API-only loader, action, and route discovery requests
Dependency tracking
Know when your own dependencies move
@react-router/dev shipped a new major in the last 12 months, among 31 releases. inlinr shows which of your projects are behind, and what the upgrade breaks.
Advisories reach you
An email when a critical or high advisory affects a project, before the next install.
Upgrades checked first
Peer ranges, Node, ESM-only and types changes read before you bump.
Only what matters
Majors and breaking notes stay; patches and sibling bumps fold into one line.
Reading releases, release notes and advisories…
Registry facts last checked 21 Nov 2026. Releases and advisories last read 21 Nov 2026.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.