@react-router/dev
8.5.2 · 18 Nov 2026MIT4.5M / weekRepositoryHomepagenpmAtom feed
Upgrading @react-router/dev From 8.4.0 to 8.5.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- New
Add
ssr: "unstable_api-only"to retain a runtime server for loaders, actions, and route discovery while disabling production document rendering - New
Add the
future.unstable_customRouteDiscoveryflag to opt into application-controlled route discovery in conventional Framework Mode - New
Add
unstable_apiServerOriginto configure the origin for API-only loader, action, and route discovery requests - Fixed
Fix critical CSS collection in dev registering server-only route imports as client dependencies, which triggered dependency re-optimization and full page reloads
- Fixed
Fix intermittent
Prerender: Request failed for ... connect ECONNREFUSEDerrors during prerendering - Fixed
Fix source maps for route modules in unstable RSC Framework Mode
- New
3 internal lines (docs, tests, tooling) left out.
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.