webpack/webpack-dev-server
### [`v4.4.0`](https://togithub.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md#440-httpsgithubcomwebpackwebpack-dev-servercomparev431v440-2021-10-27)
[Compare Source](https://togithub.com/webpack/webpack-dev-server/compare/v4.3.1...v4.4.0)
##### Features
- added the `server` option, now you can pass server options, example `{ server: { type: 'http', options: { maxHeaderSize: 32768 } } }`, available options for [`http`](https://nodejs.org/api/http.html#httpcreateserveroptions-requestlistener) and [`https`](https://nodejs.org/api/https.html#httpscreateserveroptions-requestlistener), note - for `http2` is used [`spdy`](https://togithub.com/spdy-http2/node-spdy), options specified in the `server.options` option take precedence over `https`/`http2` options ([#3940](https://togithub.com/webpack/webpack-dev-server/issues/3940)) ([a70a7ef](https://togithub.com/webpack/webpack-dev-server/commit/a70a7ef025f07ec6be69cee0b3b5204c7e3a0c5b))
- added the `client.reconnect` option ([#3912](https://togithub.com/webpack/webpack-dev-server/issues/3912)) ([5edad76](https://togithub.com/webpack/webpack-dev-server/commit/5edad76bb099713210b2a8c5c29d22371df7371e))
- improve error handling within `startCallback` and `endCallback` ([#3969](https://togithub.com/webpack/webpack-dev-server/issues/3969)) ([b0928ac](https://togithub.com/webpack/webpack-dev-server/commit/b0928acadccd2251a9eb165bfae0c63c84d0d745))
##### Bug Fixes
- schema for web socket server type ([#3913](https://togithub.com/webpack/webpack-dev-server/issues/3913)) ([f6aa6f7](https://togithub.com/webpack/webpack-dev-server/commit/f6aa6f7979dae5a44ff4597b7338027c5aab869a))
- typo in SSL information log ([#3939](https://togithub.com/webpack/webpack-dev-server/issues/3939)) ([4c6103b](https://togithub.com/webpack/webpack-dev-server/commit/4c6103ba9495a29c6e142373c8dad084a20b6bc8))
##### [4.3.1](https://togithub.com/webpack/webpack-dev-server/compare/v4.3.0...v4.3.1) (2021-10-04)
##### Bug Fixes
- perf ([#3906](https://togithub.com/webpack/webpack-dev-server/issues/3906)) ([f6e2a19](https://togithub.com/webpack/webpack-dev-server/commit/f6e2a1981d4c552368cd06ccf5dc400db298c2d6))
### [`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)
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 these updates again.
[ ] If you want to rebase/retry this PR, click this checkbox.
This PR contains the following updates:
4.1.1
->4.4.0
4.1.0
->4.3.1
Release Notes
webpack/webpack-dev-server
### [`v4.4.0`](https://togithub.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md#440-httpsgithubcomwebpackwebpack-dev-servercomparev431v440-2021-10-27) [Compare Source](https://togithub.com/webpack/webpack-dev-server/compare/v4.3.1...v4.4.0) ##### Features - added the `server` option, now you can pass server options, example `{ server: { type: 'http', options: { maxHeaderSize: 32768 } } }`, available options for [`http`](https://nodejs.org/api/http.html#httpcreateserveroptions-requestlistener) and [`https`](https://nodejs.org/api/https.html#httpscreateserveroptions-requestlistener), note - for `http2` is used [`spdy`](https://togithub.com/spdy-http2/node-spdy), options specified in the `server.options` option take precedence over `https`/`http2` options ([#3940](https://togithub.com/webpack/webpack-dev-server/issues/3940)) ([a70a7ef](https://togithub.com/webpack/webpack-dev-server/commit/a70a7ef025f07ec6be69cee0b3b5204c7e3a0c5b)) - added the `client.reconnect` option ([#3912](https://togithub.com/webpack/webpack-dev-server/issues/3912)) ([5edad76](https://togithub.com/webpack/webpack-dev-server/commit/5edad76bb099713210b2a8c5c29d22371df7371e)) - improve error handling within `startCallback` and `endCallback` ([#3969](https://togithub.com/webpack/webpack-dev-server/issues/3969)) ([b0928ac](https://togithub.com/webpack/webpack-dev-server/commit/b0928acadccd2251a9eb165bfae0c63c84d0d745)) ##### Bug Fixes - schema for web socket server type ([#3913](https://togithub.com/webpack/webpack-dev-server/issues/3913)) ([f6aa6f7](https://togithub.com/webpack/webpack-dev-server/commit/f6aa6f7979dae5a44ff4597b7338027c5aab869a)) - typo in SSL information log ([#3939](https://togithub.com/webpack/webpack-dev-server/issues/3939)) ([4c6103b](https://togithub.com/webpack/webpack-dev-server/commit/4c6103ba9495a29c6e142373c8dad084a20b6bc8)) ##### [4.3.1](https://togithub.com/webpack/webpack-dev-server/compare/v4.3.0...v4.3.1) (2021-10-04) ##### Bug Fixes - perf ([#3906](https://togithub.com/webpack/webpack-dev-server/issues/3906)) ([f6e2a19](https://togithub.com/webpack/webpack-dev-server/commit/f6e2a1981d4c552368cd06ccf5dc400db298c2d6)) ### [`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)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 these updates again.
This PR has been generated by WhiteSource Renovate. View repository job log here.