npm / @react-router/serve
@react-router/serve
What changed in @react-router/serve 7 to 8, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.
1 breaking1 security2 new APIs and options1 behavior and defaults2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@react-router/serve 84 changes
Breaking changes 1
The minimum supported Node version is now 22.22.0.
New APIs and options 1
Supports API-only builds by serving client documents and forwarding data and route discovery requests to the React Router runtime.
Behavior and default changes 1
Files under /.well-known/ are served from the client build directory instead of falling through to the request handler; other dotfiles remain hidden.
Fixes and other changes 1
A successful server shutdown no longer writes a blank line to stderr.
@react-router/serve 73 changes
Security 1
Updated compression and morgan dependencies to address an on-headers CVE.
New APIs and options 1
Custom entrypoints are supported for RSC framework mode.
Fixes and other changes 1
Path separators in assetsBuildDirectory are normalized so Windows-built server artifacts can serve /assets/* correctly when run on Linux.