webpack/webpack-dev-server
### [`v4.3.1`](https://togithub.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md#431-httpsgithubcomwebpackwebpack-dev-servercomparev430v431-2021-10-04)
[Compare Source](https://togithub.com/webpack/webpack-dev-server/compare/v4.3.0...v4.3.1)
### [`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))
### [`v4.2.1`](https://togithub.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md#421-httpsgithubcomwebpackwebpack-dev-servercomparev420v421-2021-09-13)
[Compare Source](https://togithub.com/webpack/webpack-dev-server/compare/v4.2.0...v4.2.1)
### [`v4.2.0`](https://togithub.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md#420-httpsgithubcomwebpackwebpack-dev-servercomparev411v420-2021-09-09)
[Compare Source](https://togithub.com/webpack/webpack-dev-server/compare/v4.1.1...v4.2.0)
### [`v4.1.1`](https://togithub.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md#411-httpsgithubcomwebpackwebpack-dev-servercomparev410v411-2021-09-07)
[Compare Source](https://togithub.com/webpack/webpack-dev-server/compare/v4.1.0...v4.1.1)
### [`v4.1.0`](https://togithub.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md#410-httpsgithubcomwebpackwebpack-dev-servercomparev400v410-2021-08-31)
[Compare Source](https://togithub.com/webpack/webpack-dev-server/compare/v4.0.0...v4.1.0)
##### Features
- added the `magicHtml` option ([#3717](https://togithub.com/webpack/webpack-dev-server/issues/3717)) ([4831f58](https://togithub.com/webpack/webpack-dev-server/commit/4831f58a75d12f75f4d5e5064ff3245f1a3770ba))
- allow to set `hot` and `live-reload` for client using search params ([1c57680](https://togithub.com/webpack/webpack-dev-server/commit/1c576802bff4a4be78b1771ed2fc8f343780663b))
- show warning when the `hot` option is enabled with the HMR plugin in config ([#3744](https://togithub.com/webpack/webpack-dev-server/issues/3744)) ([6cb1e4e](https://togithub.com/webpack/webpack-dev-server/commit/6cb1e4e6a25de3fb284be84d2ad67fc701800b96))
##### Bug Fixes
- change log type of `Disconnected!` to `info` ([fde27f5](https://togithub.com/webpack/webpack-dev-server/commit/fde27f5002ae3d679b2cee2215287f6e3a16febf))
- handle `--allowed-hosts all` correctly ([#3720](https://togithub.com/webpack/webpack-dev-server/issues/3720)) ([326ed56](https://togithub.com/webpack/webpack-dev-server/commit/326ed567638944bc3b64e185b118f9e723383e44))
- output documentation link on errors ([#3680](https://togithub.com/webpack/webpack-dev-server/issues/3680)) ([e16221b](https://togithub.com/webpack/webpack-dev-server/commit/e16221b1aed48f93c31c8659438834fdbf1e62bf))
- respect the `bypass` option with `target`/`router` options for proxy ([b5dd568](https://togithub.com/webpack/webpack-dev-server/commit/b5dd5687e521cd70e7e13b397280d8bda38df255))
### [`v4.0.0`](https://togithub.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md#400-httpsgithubcomwebpackwebpack-dev-servercomparev400-rc1v400-2021-08-18)
[Compare Source](https://togithub.com/webpack/webpack-dev-server/compare/v3.11.2...v4.0.0)
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:
3.11.2
->4.3.1
Release Notes
webpack/webpack-dev-server
### [`v4.3.1`](https://togithub.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md#431-httpsgithubcomwebpackwebpack-dev-servercomparev430v431-2021-10-04) [Compare Source](https://togithub.com/webpack/webpack-dev-server/compare/v4.3.0...v4.3.1) ### [`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)) ### [`v4.2.1`](https://togithub.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md#421-httpsgithubcomwebpackwebpack-dev-servercomparev420v421-2021-09-13) [Compare Source](https://togithub.com/webpack/webpack-dev-server/compare/v4.2.0...v4.2.1) ### [`v4.2.0`](https://togithub.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md#420-httpsgithubcomwebpackwebpack-dev-servercomparev411v420-2021-09-09) [Compare Source](https://togithub.com/webpack/webpack-dev-server/compare/v4.1.1...v4.2.0) ### [`v4.1.1`](https://togithub.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md#411-httpsgithubcomwebpackwebpack-dev-servercomparev410v411-2021-09-07) [Compare Source](https://togithub.com/webpack/webpack-dev-server/compare/v4.1.0...v4.1.1) ### [`v4.1.0`](https://togithub.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md#410-httpsgithubcomwebpackwebpack-dev-servercomparev400v410-2021-08-31) [Compare Source](https://togithub.com/webpack/webpack-dev-server/compare/v4.0.0...v4.1.0) ##### Features - added the `magicHtml` option ([#3717](https://togithub.com/webpack/webpack-dev-server/issues/3717)) ([4831f58](https://togithub.com/webpack/webpack-dev-server/commit/4831f58a75d12f75f4d5e5064ff3245f1a3770ba)) - allow to set `hot` and `live-reload` for client using search params ([1c57680](https://togithub.com/webpack/webpack-dev-server/commit/1c576802bff4a4be78b1771ed2fc8f343780663b)) - show warning when the `hot` option is enabled with the HMR plugin in config ([#3744](https://togithub.com/webpack/webpack-dev-server/issues/3744)) ([6cb1e4e](https://togithub.com/webpack/webpack-dev-server/commit/6cb1e4e6a25de3fb284be84d2ad67fc701800b96)) ##### Bug Fixes - change log type of `Disconnected!` to `info` ([fde27f5](https://togithub.com/webpack/webpack-dev-server/commit/fde27f5002ae3d679b2cee2215287f6e3a16febf)) - handle `--allowed-hosts all` correctly ([#3720](https://togithub.com/webpack/webpack-dev-server/issues/3720)) ([326ed56](https://togithub.com/webpack/webpack-dev-server/commit/326ed567638944bc3b64e185b118f9e723383e44)) - output documentation link on errors ([#3680](https://togithub.com/webpack/webpack-dev-server/issues/3680)) ([e16221b](https://togithub.com/webpack/webpack-dev-server/commit/e16221b1aed48f93c31c8659438834fdbf1e62bf)) - respect the `bypass` option with `target`/`router` options for proxy ([b5dd568](https://togithub.com/webpack/webpack-dev-server/commit/b5dd5687e521cd70e7e13b397280d8bda38df255)) ### [`v4.0.0`](https://togithub.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md#400-httpsgithubcomwebpackwebpack-dev-servercomparev400-rc1v400-2021-08-18) [Compare Source](https://togithub.com/webpack/webpack-dev-server/compare/v3.11.2...v4.0.0)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.