unstale

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

@unstale/cli on npm

@rspack/dev-server 219 changes

Breaking changes 14

  • Default HPM logging is reduced.

    2.2.0release notes

  • The default IPC socket was renamed.

    2.1.0release notes

  • The bonjour feature has been removed.

    2.0.0release notes

  • The bypass option is no longer supported after the http-proxy-middleware update.

    2.0.0release notes

  • connect replaces express as the default server.

    2.0.0release notes

  • Functionality provided by serve-index has been removed.

    2.0.0release notes

  • The internalIP methods have been removed.

    2.0.0release notes

  • The path option is no longer supported after the http-proxy-middleware update.

    2.0.0release notes

  • The package is now pure ESM, affecting how it can be imported and used.

    2.0.0release notes

  • selfsigned is now an optional peer dependency.

    2.0.0release notes

  • The serve-index dependency and its related functionality have been removed.

    2.0.0release notes

  • SockJS support has been removed.

    2.0.0release notes

  • SPDY support has been removed.

    2.0.0release notes

  • The webpack-prefixed serve environment variable was replaced with RSPACK_SERVE.

    2.0.0release notes

New APIs and options 1

  • A LiteralUnion type was added for use in type definitions.

    2.0.0release notes

Tooling 3

  • The package's peer dependency range was updated, which may affect compatibility when installing it alongside peer dependencies.

    2.1.0release notes

  • The dev server now prints URL logs in the Rsbuild style.

    2.0.0release notes

  • @rspack/dev-server v2 is designed for Rspack v2.

    2.0.0release notes

Fixes and other changes 1

  • Bundles ws types in declarations, making them available to consumers of the package declarations.

    2.0.1release notes

@rspack/dev-server 13 changes

Tooling 1

Fixes and other changes 2