unstale

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

@unstale/cli on npm

@react-router/serve 84 changes

Breaking changes 1

  • The minimum supported Node version is now 22.22.0.

    8.0.0release notes

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.

    8.5.0release notes

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.

    8.3.1release notes

Fixes and other changes 1

  • A successful server shutdown no longer writes a blank line to stderr.

    8.5.1release notes

@react-router/serve 73 changes

Security 1

  • Updated compression and morgan dependencies to address an on-headers CVE.

    7.11.0release notes

New APIs and options 1

  • Custom entrypoints are supported for RSC framework mode.

    7.11.0release notes

Fixes and other changes 1

  • Path separators in assetsBuildDirectory are normalized so Windows-built server artifacts can serve /assets/* correctly when run on Linux.

    7.16.0release notes