# What changed in @react-router/serve

> 7 changes in @react-router/serve 7 to 8 from its official release notes, upgrade guides and advisories: 1 breaking, 1 security, 2 new APIs and options. Each one cited. Sources checked 2026-10-27. HTML: https://unstale.sh/npm/@react-router/serve/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @react-router/serve 8

### Breaking changes

- The minimum supported Node version is now 22.22.0. (8.0.0) — [release notes](https://github.com/remix-run/react-router/blob/eb5175819b00ff4077029b8d14a53e0878b6356c/packages/react-router-serve/CHANGELOG.md#v800)

### New APIs and options

- Supports API-only builds by serving client documents and forwarding data and route discovery requests to the React Router runtime. (8.5.0) — [release notes](https://github.com/remix-run/react-router/blob/eb5175819b00ff4077029b8d14a53e0878b6356c/packages/react-router-serve/CHANGELOG.md#v850)

### Behavior and default changes

- 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.1) — [release notes](https://github.com/remix-run/react-router/blob/eb5175819b00ff4077029b8d14a53e0878b6356c/packages/react-router-serve/CHANGELOG.md#v831)

### Fixes and other changes

- A successful server shutdown no longer writes a blank line to stderr. (8.5.1) — [release notes](https://github.com/remix-run/react-router/blob/a2783e6612b8424e9e1a5e3e2d69435805ee51dc/packages/react-router-serve/CHANGELOG.md#v851)

## @react-router/serve 7

### Security

- Updated compression and morgan dependencies to address an on-headers CVE. (7.11.0) — [release notes](https://github.com/remix-run/react-router/blob/eb5175819b00ff4077029b8d14a53e0878b6356c/packages/react-router-serve/CHANGELOG.md#7110)

### New APIs and options

- Custom entrypoints are supported for RSC framework mode. (7.11.0) — [release notes](https://github.com/remix-run/react-router/blob/eb5175819b00ff4077029b8d14a53e0878b6356c/packages/react-router-serve/CHANGELOG.md#7110)

### Fixes and other changes

- Path separators in assetsBuildDirectory are normalized so Windows-built server artifacts can serve /assets/* correctly when run on Linux. (7.16.0) — [release notes](https://github.com/remix-run/react-router/blob/eb5175819b00ff4077029b8d14a53e0878b6356c/packages/react-router-serve/CHANGELOG.md#v7160)
