webpack-dev-server breaking changes
Updated December 4, 2026
On this page
Latest version 6.1.0, released October 18, 2026. Source repository
Its 6.0.0 release requires Node.js 22.15.0 or later. Node.js end of life dates.
- From 5.2.7 to 6.1.0: 53 breaking changes in 2 versions.
- From 4.0.0 to 6.1.0: 198 breaking changes in 19 versions.
webpack-dev-server 6.1.0 breaking changes
- Behavior changed
The client code, console wording, error overlay and progress indicator now come from webpack-dev-middleware, so their output changes. github.com - Behavior changed
Proxied WebSocket upgrade requests with ws: true now enforce Host and Origin validation and same-origin checks, so cross-origin connections may be rejected. github.com - Behavior changed
allowedHosts
Host and HTTP/2 authority headers are now validated independently of Origin protocol exceptions, including when allowedHosts is "all". github.com - Signature changed
ClientConfiguration
Was type ClientConfiguration = {logging?: | ("log" | "info" | "warn" | "error" | "none" | "verbose") | undefined; overlay?: | (| boolean | {warnings?: OverlayMessageOptions; errors?: OverlayMessageOptions; runtimeErrors?... npmjs.com - Signature changed
ClientConfiguration.logging
Was logging?: | ("log" | "info" | "warn" | "error" | "none" | "verbose") | undefined; now logging?: ("log" | "info" | "warn" | "error" | "none" | "verbose") | undefined. npmjs.com - Signature changed
ClientConfiguration.overlay
Was overlay?: | (| boolean | {warnings?: OverlayMessageOptions; errors?: OverlayMessageOptions; runtimeErrors?: OverlayMessageOptions;}) | undefined; now overlay?: | (| boolean | {warnings?: OverlayMessageOptions; errors?... npmjs.com - Signature changed
ClientConfiguration.progress
Was progress?: boolean | undefined; now progress?: (boolean | "linear" | "circular") | undefined. npmjs.com - Signature changed
Configuration
Was type Configuration<A extends BasicApplication = import("express").Application, S extends BasicServer = import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>> = {ipc?: (boolean | string) |... npmjs.com - Signature changed
Configuration.watchFiles
Was watchFiles?: | (string | string[] | WatchFiles | (string | WatchFiles)[]) | undefined; now watchFiles?: (string | string[] | WatchFiles | (string | WatchFiles)[]) | undefined. npmjs.com - Signature changed
Configuration.webSocketServer
Was webSocketServer?: | (boolean | "ws" | string | WebSocketServerConfiguration) | undefined; now webSocketServer?: (boolean | "ws" | string | WebSocketServerConfiguration) | undefined. npmjs.com - Signature changed
default
Was class Server<A extends BasicApplication = import("express").Application, S extends BasicServer = import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>>; now class Server<A extends... npmjs.com - Signature changed
default.compiler
Was compiler: | import("webpack").Compiler | import("webpack").MultiCompiler | undefined; now compiler: import("webpack").Compiler | import("webpack").MultiCompiler | undefined. npmjs.com - Signature changed
default.webSocketServer
Was webSocketServer: WebSocketServerImplementation | undefined | null; now webSocketServer: any. npmjs.com - Signature changed
HandleFunction
Was type HandleFunction = | SimpleHandleFunction | NextHandleFunction | ErrorHandleFunction; now type HandleFunction = SimpleHandleFunction | NextHandleFunction | ErrorHandleFunction. npmjs.com - Signature changed
ServerConfiguration
Was type ServerConfiguration<A extends BasicApplication = import("express").Application, S extends BasicServer = import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>> = {type?: ServerType<A, S>... npmjs.com - Signature changed
ServerType
Was type ServerType<A extends BasicApplication = import("express").Application, S extends BasicServer = import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>> = | "http" | "https" | "http2" |... npmjs.com - Signature changed
WebSocketServerConfiguration
Was type WebSocketServerConfiguration = {type?: ("ws" | string | (() => WebSocketServerConfiguration)) | undefined; options?: Record<string, EXPECTED_ANY> | undefined;}; now type WebSocketServerConfiguration = {type?: | ("ws" | string |... npmjs.com - Signature changed
WebSocketServerConfiguration.type
Was type?: ("ws" | string | (() => WebSocketServerConfiguration)) | undefined; now type?: | ("ws" | string | typeof import("./servers/BaseServer.js").default) | undefined. npmjs.com
webpack-dev-server 6.0.0 breaking changes
- Removed
Upgrade Node.js to 22.15.0 or later before using this version. github.com - Removed
ByPass
ByPass was removed in webpack-dev-server 6.0.0 npmjs.com - Removed
colorette
Output styling now uses native ANSI codes instead of colorette. github.com - Removed
findCacheDir
findCacheDir was removed in webpack-dev-server 6.0.0 npmjs.com - Removed
findIp
findIp was removed in webpack-dev-server 6.0.0 npmjs.com - Removed
getFreePort
getFreePort was removed in webpack-dev-server 6.0.0 npmjs.com - Removed
getHostname
getHostname was removed in webpack-dev-server 6.0.0 npmjs.com - Removed
internalIP
Resolve the local IP yourself if you need it. npmjs.com - Removed
internalIPSync
Resolve the local IP yourself if you need it. npmjs.com - Removed
isAbsoluteURL
isAbsoluteURL was removed in webpack-dev-server 6.0.0 npmjs.com
And 25 more in this version. Sign up to see every change
webpack-dev-server 5.2.7 breaking changes
- Behavior changed
WebSocket upgrade requests handled by proxies with ws: true now get Host and Origin validation and same-origin checks. Cross-origin clients that previously connected may now be rejected. github.com - Behavior changed
allowedHosts
Host and HTTP/2 authority headers are now validated independently of Origin protocol exceptions, including when allowedHosts is "all". Requests that previously passed may now be rejected. github.com
webpack-dev-server 5.2.6 breaking changes
- Behavior changed
webpack-dev-server.invalidate
Cross-site browser requests to the invalidate route are now rejected using Sec-Fetch-Site or Origin/Host checks. Same-origin requests and non-browser clients such as curl are unaffected. github.com - Behavior changed
webpack-dev-server.open-editor
Cross-site browser requests to the open-editor route are now rejected using Sec-Fetch-Site or Origin/Host checks. Same-origin requests and non-browser clients such as curl are unaffected. github.com - Signature changed
default.constructor
Was constructor(options: Configuration<A, S>, compiler: Compiler | MultiCompiler); now constructor(options: Configuration<A, S> | undefined, compiler: Compiler | MultiCompiler). npmjs.com
webpack-dev-server 5.2.4 breaking changes
- Behavior changed
The dev server now sets the Cross-Origin-Resource-Policy header, which can block cross-origin requests for its served files. Code that loads these resources from another origin may need to change. github.com
webpack-dev-server 5.2.3 breaking changes
- Removed
DEFAULT_STATS
DEFAULT_STATS was removed in webpack-dev-server 5.2.3 npmjs.com - Signature changed
ClientConfiguration
Was type ClientConfiguration = {logging?: "none" | "error" | "warn" | "info" | "log" | "verbose" | undefined; overlay?: | boolean | {warnings?: OverlayMessageOptions; errors?: OverlayMessageOptions; runtimeErrors?: OverlayMessageOptions;}... npmjs.com - Signature changed
ClientConfiguration.logging
Was logging?: "none" | "error" | "warn" | "info" | "log" | "verbose" | undefined; now logging?: | ("log" | "info" | "warn" | "error" | "none" | "verbose") | undefined. npmjs.com - Signature changed
ClientConfiguration.overlay
Was overlay?: | boolean | {warnings?: OverlayMessageOptions; errors?: OverlayMessageOptions; runtimeErrors?: OverlayMessageOptions;} | undefined; now overlay?: | (| boolean | {warnings?: OverlayMessageOptions; errors?... npmjs.com - Signature changed
ClientConfiguration.reconnect
Was reconnect?: number | boolean | undefined; now reconnect?: (boolean | number) | undefined. npmjs.com - Signature changed
ClientConfiguration.webSocketTransport
Was webSocketTransport?: string | undefined; now webSocketTransport?: ("ws" | "sockjs" | string) | undefined. npmjs.com - Signature changed
ClientConfiguration.webSocketURL
Was webSocketURL?: string | WebSocketURL | undefined; now webSocketURL?: (string | WebSocketURL) | undefined. npmjs.com - Signature changed
Configuration
Was type Configuration<A extends BasicApplication = import("express").Application, S extends BasicServer = import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>> = {ipc?: string | boolean |... npmjs.com - Signature changed
Configuration.allowedHosts
Was allowedHosts?: string | string[] | undefined; now allowedHosts?: ("auto" | "all" | string | string[]) | undefined. npmjs.com - Signature changed
Configuration.bonjour
Was bonjour?: | boolean | Record<string, never> | import("bonjour-service").Service | undefined; now bonjour?: (boolean | Record<string, never> | BonjourOptions) | undefined. npmjs.com
And 37 more in this version. Sign up to see every change
Older versions
19 older versions, each with its first changes. Sign up to see every change
Show 19 older versions
webpack-dev-server 5.2.1 breaking changes
- Behavior changed
Requests whose Origin header is an IP address can no longer connect to the WebSocket server unless the address is listed in allowedHosts or differs from the Host header. Add allowedHosts entries if you rely on this. github.com - Behavior changed
Cross-origin requests are no longer allowed unless the Access-Control-Allow-Origin header permits them. Code that relied on cross-origin access must send that header or the dev server may stop working. github.com
webpack-dev-server 5.2.0 breaking changes
- Signature changed
default.invalidate
Was invalidate(callback?: import("webpack-dev-middleware").Callback | undefined): void; now invalidate(callback?: import("webpack-dev-middleware").Callback): void. npmjs.com - Signature changed
default.startCallback
Was startCallback(callback?: ((err?: Error) => void) | undefined): void; now startCallback(callback?: (err?: Error) => void): void. npmjs.com
And 3 more in this version.
webpack-dev-server 5.1.0 breaking changes
- Removed
Configuration.http2
Configuration.http2 was removed in webpack-dev-server 5.1.0 npmjs.com - Removed
Configuration.https
Configuration.https was removed in webpack-dev-server 5.1.0 npmjs.com
And 27 more in this version.
webpack-dev-server 5.0.3 breaking changes
- Removed
ProxyConfigMap
ProxyConfigMap was removed in webpack-dev-server 5.0.3 npmjs.com - Signature changed
Configuration
Was type Configuration = {ipc?: string | boolean | undefined; host?: string | undefined; port?: Port | undefined; hot?: boolean | "only" | undefined; liveReload?: boolean | undefined; devMiddleware?: |... npmjs.com
And 2 more in this version.
webpack-dev-server 5.0.2 breaking changes
- Signature changed
Configuration
Was type Configuration = {ipc?: string | boolean | undefined; host?: string | undefined; port?: Port | undefined; hot?: boolean | "only" | undefined; liveReload?: boolean | undefined; devMiddleware?: DevMiddlewareOptions<Request_1... npmjs.com - Signature changed
Configuration.devMiddleware
Was devMiddleware?: DevMiddlewareOptions<Request_1, Response_1> | undefined; now devMiddleware?: | DevMiddlewareOptions<import("express").Request<import("express-serve-static-core").ParamsDictionary, any, any, qs.ParsedQs, Record<string... npmjs.com
And 4 more in this version.
webpack-dev-server 5.0.0 breaking changes
- Removed
Node.js 18.12.0 is now the minimum supported version, so older Node.js versions must be upgraded before using this release. github.com - Removed
--open-app
Use the --open-app-name option instead. github.com
And 22 more in this version.
webpack-dev-server 4.14.0 breaking changes
- Signature changed
cli
Was readonly static cli: {readonly getArguments: () => {"allowed-hosts": {configs: (| {type: string; multiple: boolean; description: string; path: string;} | {description: string; multiple: boolean; path: string; type: string; values... npmjs.com - Signature changed
ClientConfiguration
Was type ClientConfiguration = {logging?: "none" | "error" | "warn" | "info" | "log" | "verbose" | undefined; overlay?: | boolean | {warnings?: boolean | undefined; errors?: boolean | undefined; runtimeErrors?: boolean | undefined;} |... npmjs.com
And 2 more in this version.
webpack-dev-server 4.13.3 breaking changes
- Signature changed
cli
Was readonly static cli: {readonly getArguments: () => {"allowed-hosts": {configs: (| {type: string; multiple: boolean; description: string; path: string;} | {description: string; multiple: boolean; path: string; type: string; values... npmjs.com - Signature changed
Configuration
Was type Configuration = {ipc?: string | boolean | undefined; host?: string | undefined; port?: Port | undefined; hot?: boolean | "only" | undefined; liveReload?: boolean | undefined; devMiddleware?: |... npmjs.com
And 3 more in this version.
webpack-dev-server 4.13.2 breaking changes
- Signature changed
cli
Was readonly static cli: {readonly getArguments: () => {"allowed-hosts": {configs: (| {type: string; multiple: boolean; description: string; path: string;} | {description: string; multiple: boolean; path: string; type: string; values... npmjs.com - Signature changed
Configuration
Was type Configuration = {ipc?: string | boolean | undefined; host?: string | undefined; port?: Port | undefined; hot?: boolean | "only" | undefined; liveReload?: boolean | undefined; devMiddleware?: |... npmjs.com
And 1 more in this version.
webpack-dev-server 4.13.0 breaking changes
- Signature changed
cli
Was readonly static cli: {readonly getArguments: () => {"allowed-hosts": {configs: (| {type: string; multiple: boolean; description: string; path: string;} | {description: string; multiple: boolean; path: string; type: string; values... npmjs.com - Signature changed
ClientConfiguration
Was type ClientConfiguration = {logging?: "none" | "error" | "warn" | "info" | "log" | "verbose" | undefined; overlay?: | boolean | {warnings?: boolean | undefined; errors?: boolean | undefined;} | undefined; progress?: boolean |... npmjs.com
And 2 more in this version.
webpack-dev-server 4.12.0 breaking changes
- Signature changed
cli
Was readonly static cli: {readonly getArguments: () => {"allowed-hosts": {configs: (| {type: string; multiple: boolean; description: string; path: string;} | {description: string; multiple: boolean; path: string; type: string; values... npmjs.com - Signature changed
schema
Was readonly static schema: {title: string; type: string; definitions: {AllowedHosts: {anyOf: (| {type: string; minItems: number; items: {$ref: string;}; enum?: undefined; $ref?: undefined;} | {enum: string[]; type?: undefined; minItems?... npmjs.com
And 2 more in this version.
webpack-dev-server 4.11.1 breaking changes
- Behavior changed
client.logging
The client.logging option is now respected for all logs, so log output may change for users who set it. github.com
webpack-dev-server 4.11.0 breaking changes
- Default changed
allowedHosts
The allowedHosts option now accepts localhost subdomains without configuration. Code that relied on rejecting those hosts must now set allowedHosts explicitly. github.com
webpack-dev-server 4.0.0 breaking changes
- Removed
addDevServerEntrypoints
Set up entries and plugins manually instead. npmjs.com - Removed
Configuration.after
Use onAfterSetupMiddleware, which receives devServer instead of app, server, compiler. npmjs.com
And 64 more in this version.
webpack-dev-server 4.0.0-rc.0 breaking changes
- Removed
hotEntry
Set up entries manually instead of using these options. github.com - Removed
needClientEntry
Set up entries manually instead of using this option. github.com
And 8 more in this version.
webpack-dev-server 4.0.0-beta.3 breaking changes
- Removed
Minimum supported Node.js is now 12.13.0. github.com - Removed
https.ca
Use https.cacert instead. github.com
And 3 more in this version.
webpack-dev-server 4.0.0-beta.2 breaking changes
- Removed
stdin
Use the --watch-options-stdin CLI flag instead. github.com - Behavior changed
open
The overlay is now enabled by default in the client. github.com
webpack-dev-server 4.0.0-beta.1 breaking changes
- Removed
Configuration.overlay
Set overlay under the client option. npmjs.com - Removed
hot-only
Use the hot option with value 'only' instead. github.com
And 1 more in this version.
webpack-dev-server 4.0.0-beta.0 breaking changes
- Removed
Minimum supported Node.js is now 10. Upgrade Node.js before using this version. github.com - Removed
Configuration.stats
Use the stats option from webpack.config.js instead. npmjs.com
And 17 more in this version.
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.