Releases: webpack/webpack-dev-server
Releases · webpack/webpack-dev-server
Release list
v3.11.3
v4.4.0
4.4.0 (2021-10-27)
Features
- added the
serveroption, now you can pass server options, example{ server: { type: 'http', options: { maxHeaderSize: 32768 } } }, available options forhttpandhttps, note - forhttp2is usedspdy, options specified in theserver.optionsoption take precedence overhttps/http2options (#3940) (a70a7ef) - added the
client.reconnectoption (#3912) (5edad76) - improve error handling within
startCallbackandendCallback(#3969) (b0928ac)
Bug Fixes
v4.3.1
v4.3.0
v4.2.1
v4.2.0
4.2.0 (2021-09-09)
Features
- added the
http.caoption (CLI option added too) (should be used insteadcacert, because we will remove it in the next major release in favor thehttps.caoption) - added the
https.crloption (CLI options added too), more information https.ca/https.cacert/https.cert/https.crl/https.key/https.pfxoptions are now accept Arrays ofBuffer/string/Path to file, using--https-*-resetCLI options you can reset these optionshttps.pfx/https.keycan beObject[], more informationhttpsoptions can now accept custom options, you can use:
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
v4.1.1
v4.1.0
v4.0.0
v4.0.0-rc.1
4.0.0-rc.1 (2021-08-17)
Notes:
- migration guide from v3 to v4 can be found here
Features
Bug Fixes
- fix usage legacy API (#3660) (c4678bc)
- proxy logging and allow to pass options without the
targetoption (#3651) (6e2cbde) - render ansi formatted error messages correctly in overlay (#3579) (9313454)
- use value of the
infastructureLogging.leveloption by default forclient.logging. (#3613) (c9ccc96) - schema for the
hostoption (#3549) (7200d31) - show deprecation warning for incorrect usage of Node.js API (#3563) (62b21ff)