webpack/webpack-dev-server
### [`v4.3.0`](https://togithub.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md#430-httpsgithubcomwebpackwebpack-dev-servercomparev421v430-2021-09-25)
[Compare Source](https://togithub.com/webpack/webpack-dev-server/compare/v4.2.1...v4.3.0)
##### Features
- allow array for `headers` option ([#3847](https://togithub.com/webpack/webpack-dev-server/issues/3847)) ([9911437](https://togithub.com/webpack/webpack-dev-server/commit/9911437186a28b2249adfb282524361d7afe6c25))
- gracefully and force shutdown ([#3880](https://togithub.com/webpack/webpack-dev-server/issues/3880)) ([db24b16](https://togithub.com/webpack/webpack-dev-server/commit/db24b16e66a63a51e5bacead47ed30c3bf21ff5b))
##### Bug Fixes
- avoid web socket connection when web socket server is not running ([#3879](https://togithub.com/webpack/webpack-dev-server/issues/3879)) ([8874d72](https://togithub.com/webpack/webpack-dev-server/commit/8874d72f2ee8f11c8420de131e8335982e516727))
- display file name for warnings/errors in overlay ([#3867](https://togithub.com/webpack/webpack-dev-server/issues/3867)) ([d20def5](https://togithub.com/webpack/webpack-dev-server/commit/d20def5c71609ad97ea783716c53070235f398cc))
- formatting errors/warnings ([#3877](https://togithub.com/webpack/webpack-dev-server/issues/3877)) ([f0dbea0](https://togithub.com/webpack/webpack-dev-server/commit/f0dbea019c822e7e4b7e5ed81a6a9588e9521d73))
- handle 0 value of the `port` option property ([ed67f66](https://togithub.com/webpack/webpack-dev-server/commit/ed67f66fc41eb1dd83fb84ecaa18703559dbe2ae))
##### [4.2.1](https://togithub.com/webpack/webpack-dev-server/compare/v4.2.0...v4.2.1) (2021-09-13)
##### Bug Fixes
- infinity loop for multi compiler mode ([#3840](https://togithub.com/webpack/webpack-dev-server/issues/3840)) ([e019bd2](https://togithub.com/webpack/webpack-dev-server/commit/e019bd24ea061c4839a4667f8bd75a04b9a48128))
- reloading logic for multi compiler mode ([#3841](https://togithub.com/webpack/webpack-dev-server/issues/3841)) ([ef148ec](https://togithub.com/webpack/webpack-dev-server/commit/ef148ec1feb66d0f72457d0b2de853b76b06b3c9))
##### [4.2.0](https://togithub.com/webpack/webpack-dev-server/compare/v4.1.1...v4.2.0) (2021-09-09)
##### Features
- added the `http.ca` option (CLI option added too) (should be used instead `cacert`, because we will remove it in the next major release in favor the `https.ca` option)
- added the `https.crl` option (CLI options added too), [more information](https://nodejs.org/api/tls.html#tls_tls_createsecurecontext_options)
- `https.ca`/`https.cacert`/ `https.cert`/`https.crl`/`https.key`/`https.pfx` options are now accept Arrays of `Buffer`/`string`/Path to file, using `--https-*-reset` CLI options you can reset these options
- `https.pfx`/`https.key` can be `Object[]`, [more information](https://nodejs.org/api/tls.html#tls_tls_createsecurecontext_options)
- `https` options can now accept custom options, you can use:
```js
module.exports = {
// Other options
devServer: {
https: {
// Allow to set additional TSL options https://nodejs.org/api/tls.html#tls_tls_createsecurecontext_options
minVersion: "TLSv1.1",
ca: path.join(httpsCertificateDirectory, "ca.pem"),
pfx: path.join(httpsCertificateDirectory, "server.pfx"),
key: path.join(httpsCertificateDirectory, "server.key"),
cert: path.join(httpsCertificateDirectory, "server.crt"),
passphrase: "webpack-dev-server",
},
}
};
```
##### Bug Fixes
- accept connections with `file:` and `chrome-extensions:` protocol by default ([#3822](https://togithub.com/webpack/webpack-dev-server/issues/3822)) ([138f064](https://togithub.com/webpack/webpack-dev-server/commit/138f0641a4aa040fa2ff66dfd8891c920aa17808))
- close overlay on disconnection ([#3825](https://togithub.com/webpack/webpack-dev-server/issues/3825)) ([011bcf1](https://togithub.com/webpack/webpack-dev-server/commit/011bcf15c7eba8f7dcd45731f8e434b2eccf781e))
- respect `https.cacert` option ([#3820](https://togithub.com/webpack/webpack-dev-server/issues/3820)) ([0002ebf](https://togithub.com/webpack/webpack-dev-server/commit/0002ebfbc8f36e92f91013372c9e2bca97022825))
##### [4.1.1](https://togithub.com/webpack/webpack-dev-server/compare/v4.1.0...v4.1.1) (2021-09-07)
##### Bug Fixes
- improve the description of the `magicHtml` option ([#3772](https://togithub.com/webpack/webpack-dev-server/issues/3772)) ([b80610f](https://togithub.com/webpack/webpack-dev-server/commit/b80610f07357c3b2ae8557f6d371e4d563ae3c53))
- replace `ansi-html` with `ansi-html-community` to avoid CVE ([#3801](https://togithub.com/webpack/webpack-dev-server/issues/3801)) ([36fd214](https://togithub.com/webpack/webpack-dev-server/commit/36fd21477dac5131ec266cc1d717d87051f10a2b))
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box.
This PR contains the following updates:
4.2.1
->4.3.0
Release Notes
webpack/webpack-dev-server
### [`v4.3.0`](https://togithub.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md#430-httpsgithubcomwebpackwebpack-dev-servercomparev421v430-2021-09-25) [Compare Source](https://togithub.com/webpack/webpack-dev-server/compare/v4.2.1...v4.3.0) ##### Features - allow array for `headers` option ([#3847](https://togithub.com/webpack/webpack-dev-server/issues/3847)) ([9911437](https://togithub.com/webpack/webpack-dev-server/commit/9911437186a28b2249adfb282524361d7afe6c25)) - gracefully and force shutdown ([#3880](https://togithub.com/webpack/webpack-dev-server/issues/3880)) ([db24b16](https://togithub.com/webpack/webpack-dev-server/commit/db24b16e66a63a51e5bacead47ed30c3bf21ff5b)) ##### Bug Fixes - avoid web socket connection when web socket server is not running ([#3879](https://togithub.com/webpack/webpack-dev-server/issues/3879)) ([8874d72](https://togithub.com/webpack/webpack-dev-server/commit/8874d72f2ee8f11c8420de131e8335982e516727)) - display file name for warnings/errors in overlay ([#3867](https://togithub.com/webpack/webpack-dev-server/issues/3867)) ([d20def5](https://togithub.com/webpack/webpack-dev-server/commit/d20def5c71609ad97ea783716c53070235f398cc)) - formatting errors/warnings ([#3877](https://togithub.com/webpack/webpack-dev-server/issues/3877)) ([f0dbea0](https://togithub.com/webpack/webpack-dev-server/commit/f0dbea019c822e7e4b7e5ed81a6a9588e9521d73)) - handle 0 value of the `port` option property ([ed67f66](https://togithub.com/webpack/webpack-dev-server/commit/ed67f66fc41eb1dd83fb84ecaa18703559dbe2ae)) ##### [4.2.1](https://togithub.com/webpack/webpack-dev-server/compare/v4.2.0...v4.2.1) (2021-09-13) ##### Bug Fixes - infinity loop for multi compiler mode ([#3840](https://togithub.com/webpack/webpack-dev-server/issues/3840)) ([e019bd2](https://togithub.com/webpack/webpack-dev-server/commit/e019bd24ea061c4839a4667f8bd75a04b9a48128)) - reloading logic for multi compiler mode ([#3841](https://togithub.com/webpack/webpack-dev-server/issues/3841)) ([ef148ec](https://togithub.com/webpack/webpack-dev-server/commit/ef148ec1feb66d0f72457d0b2de853b76b06b3c9)) ##### [4.2.0](https://togithub.com/webpack/webpack-dev-server/compare/v4.1.1...v4.2.0) (2021-09-09) ##### Features - added the `http.ca` option (CLI option added too) (should be used instead `cacert`, because we will remove it in the next major release in favor the `https.ca` option) - added the `https.crl` option (CLI options added too), [more information](https://nodejs.org/api/tls.html#tls_tls_createsecurecontext_options) - `https.ca`/`https.cacert`/ `https.cert`/`https.crl`/`https.key`/`https.pfx` options are now accept Arrays of `Buffer`/`string`/Path to file, using `--https-*-reset` CLI options you can reset these options - `https.pfx`/`https.key` can be `Object[]`, [more information](https://nodejs.org/api/tls.html#tls_tls_createsecurecontext_options) - `https` options can now accept custom options, you can use: ```js module.exports = { // Other options devServer: { https: { // Allow to set additional TSL options https://nodejs.org/api/tls.html#tls_tls_createsecurecontext_options minVersion: "TLSv1.1", ca: path.join(httpsCertificateDirectory, "ca.pem"), pfx: path.join(httpsCertificateDirectory, "server.pfx"), key: path.join(httpsCertificateDirectory, "server.key"), cert: path.join(httpsCertificateDirectory, "server.crt"), passphrase: "webpack-dev-server", }, } }; ``` ##### Bug Fixes - accept connections with `file:` and `chrome-extensions:` protocol by default ([#3822](https://togithub.com/webpack/webpack-dev-server/issues/3822)) ([138f064](https://togithub.com/webpack/webpack-dev-server/commit/138f0641a4aa040fa2ff66dfd8891c920aa17808)) - close overlay on disconnection ([#3825](https://togithub.com/webpack/webpack-dev-server/issues/3825)) ([011bcf1](https://togithub.com/webpack/webpack-dev-server/commit/011bcf15c7eba8f7dcd45731f8e434b2eccf781e)) - respect `https.cacert` option ([#3820](https://togithub.com/webpack/webpack-dev-server/issues/3820)) ([0002ebf](https://togithub.com/webpack/webpack-dev-server/commit/0002ebfbc8f36e92f91013372c9e2bca97022825)) ##### [4.1.1](https://togithub.com/webpack/webpack-dev-server/compare/v4.1.0...v4.1.1) (2021-09-07) ##### Bug Fixes - improve the description of the `magicHtml` option ([#3772](https://togithub.com/webpack/webpack-dev-server/issues/3772)) ([b80610f](https://togithub.com/webpack/webpack-dev-server/commit/b80610f07357c3b2ae8557f6d371e4d563ae3c53)) - replace `ansi-html` with `ansi-html-community` to avoid CVE ([#3801](https://togithub.com/webpack/webpack-dev-server/issues/3801)) ([36fd214](https://togithub.com/webpack/webpack-dev-server/commit/36fd21477dac5131ec266cc1d717d87051f10a2b))Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.