Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/feat-multi-compiler-plugin.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-beforeunload-cancel-blocks-reload.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-client-and-server-defects.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-overlay-dismissed-on-initial-load.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fix-proxied-websocket-origin.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/perf-precompiled-options-schema.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/reuse-dev-middleware-client.md

This file was deleted.

20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Changelog

## 6.1.0

### Minor Changes

- Run as a plugin from the top-level `plugins` of a multi-configuration, serving every configuration from one server. (by [@alexander-akait](https://github.com/alexander-akait) in [#5765](https://github.com/webpack/webpack-dev-server/pull/5765))

- Fix client progress modes, socket URL credentials, overlay and progress lifecycles, server startup error handling and local IP lookup; export `BaseServer`. (by [@alexander-akait](https://github.com/alexander-akait) in [#5739](https://github.com/webpack/webpack-dev-server/pull/5739))

- The browser client, the error overlay and both transports now come from webpack-dev-middleware, so this package has no client code of its own. Every option keeps its name and meaning, `allowedHosts` and the origin checks still apply here, and this server's `{ type }` messages are still sent next to the middleware's, so React Refresh keeps working. `client/index.js`, `client/socket.js` and `client/clients/WebSocketClient.js` still resolve while the client's internal files are gone, and the console wording, the overlay and the progress indicator are now the middleware's. `client.webSocketTransport: "sse"` adds Server-Sent Events, a universal build now runs in Node without the client throwing, and `sendMessage()`, `getClientEntry()` and `getClientHotEntry()` still work, a subclass's overrides included, but are deprecated. (by [@alexander-akait](https://github.com/alexander-akait) in [#5750](https://github.com/webpack/webpack-dev-server/pull/5750))

### Patch Changes

- Keep hot and live reload working after a cancelled "Leave site?" dialog. (by [@alexander-akait](https://github.com/alexander-akait) in [#5744](https://github.com/webpack/webpack-dev-server/pull/5744))

- Keep the overlay for a runtime error thrown while the page is still loading. (by [@alexander-akait](https://github.com/alexander-akait) in [#5745](https://github.com/webpack/webpack-dev-server/pull/5745))

- Validate the `Host` and `Origin` headers and enforce same-origin checks on WebSocket upgrade requests handled by proxies with `ws: true`. This prevents cross-origin pages from connecting to proxied WebSocket services through the development server. (by [@UlisesGascon](https://github.com/UlisesGascon) in [`cb1534a`](https://github.com/webpack/webpack-dev-server/commit/cb1534a097f21cf611995d70d83eb4ead69d1b64))

- Validate options with a precompiled schema to cut ~115ms from startup. (by [@alexander-akait](https://github.com/alexander-akait) in [#5746](https://github.com/webpack/webpack-dev-server/pull/5746))

## 6.0.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "webpack-dev-server",
"version": "6.0.0",
"version": "6.1.0",
"description": "Serves a webpack app. Updates the browser on changes.",
"homepage": "https://github.com/webpack/webpack-dev-server#readme",
"bugs": "https://github.com/webpack/webpack-dev-server/issues",
Expand Down