From d0ed0ef596338d48f25a6851204423c84c8e3ec1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 29 Jul 2026 02:43:15 +0000 Subject: [PATCH] chore(release): new release --- .changeset/plugin-mode-close.md | 5 ----- CHANGELOG.md | 6 ++++++ package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .changeset/plugin-mode-close.md diff --git a/.changeset/plugin-mode-close.md b/.changeset/plugin-mode-close.md deleted file mode 100644 index 5ad413429..000000000 --- a/.changeset/plugin-mode-close.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"webpack-dev-middleware": patch ---- - -Fixed a crash when calling `close()` in plugin mode (`isPlugin = true`). Since the host (webpack-cli, webpack-dev-server, etc.) owns `compiler.watch()`, the middleware has no `watching` of its own to close, so `close()` now just calls the callback instead of throwing. diff --git a/CHANGELOG.md b/CHANGELOG.md index fa776b966..e366e672e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 8.1.1 + +### Patch Changes + +- Fixed a crash when calling `close()` in plugin mode (`isPlugin = true`). Since the host (webpack-cli, webpack-dev-server, etc.) owns `compiler.watch()`, the middleware has no `watching` of its own to close, so `close()` now just calls the callback instead of throwing. (by [@bjohansebas](https://github.com/bjohansebas) in [#2347](https://github.com/webpack/webpack-dev-middleware/pull/2347)) + ## 8.1.0 ### Minor Changes diff --git a/package.json b/package.json index 94fce55bc..03aacd3f9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "webpack-dev-middleware", - "version": "8.1.0", + "version": "8.1.1", "description": "A development middleware for webpack", "keywords": [ "webpack",