diff --git a/.changeset/hot-token-not-required.md b/.changeset/hot-token-not-required.md deleted file mode 100644 index f609fef4a..000000000 --- a/.changeset/hot-token-not-required.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"webpack-dev-middleware": minor ---- - -`hot.token` also takes `{ value, required }`. With `required: false` a token is minted (or `value` used) and handed to the injected client as usual, but the endpoint does not refuse a client without it, so a server with policy of its own can compare it in `onConnect` alongside, say, the origins it already allows. The instance's new `hot.tokenRequired` says which applies. diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ba306b80..702a54a8e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 8.5.0 + +### Minor Changes + +- `hot.token` also takes `{ value, required }`. With `required: false` a token is minted (or `value` used) and handed to the injected client as usual, but the endpoint does not refuse a client without it, so a server with policy of its own can compare it in `onConnect` alongside, say, the origins it already allows. The instance's new `hot.tokenRequired` says which applies. (by [@alexander-akait](https://github.com/alexander-akait) in [#2486](https://github.com/webpack/webpack-dev-middleware/pull/2486)) + ## 8.4.0 ### Minor Changes diff --git a/package.json b/package.json index 811e0b501..f5f698ab2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "webpack-dev-middleware", - "version": "8.4.0", + "version": "8.5.0", "description": "A development middleware for webpack", "keywords": [ "webpack",