npm / @rspack/dev-server
@rspack/dev-server
What changed in @rspack/dev-server 1 to 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.
14 breaking1 new APIs and options4 tooling3 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@rspack/dev-server 219 changes
Breaking changes 14
Default HPM logging is reduced.
The default IPC socket was renamed.
The bonjour feature has been removed.
The
bypassoption is no longer supported after the http-proxy-middleware update.connect replaces express as the default server.
Functionality provided by serve-index has been removed.
The internalIP methods have been removed.
The
pathoption is no longer supported after the http-proxy-middleware update.The package is now pure ESM, affecting how it can be imported and used.
selfsigned is now an optional peer dependency.
The serve-index dependency and its related functionality have been removed.
SockJS support has been removed.
SPDY support has been removed.
The webpack-prefixed serve environment variable was replaced with
RSPACK_SERVE.
New APIs and options 1
A LiteralUnion type was added for use in type definitions.
Tooling 3
The package's peer dependency range was updated, which may affect compatibility when installing it alongside peer dependencies.
The dev server now prints URL logs in the Rsbuild style.
@rspack/dev-server v2 is designed for Rspack v2.
Fixes and other changes 1
Bundles ws types in declarations, making them available to consumers of the package declarations.
@rspack/dev-server 13 changes
Tooling 1
Ported webpack-dev-server.
Fixes and other changes 2
Fixed a named export.
Loosened the isMultiCompiler check.