fix(deps): update dependency webpack-dev-server to v4
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
webpack-dev-server | dependencies | major | ^3.1.14 -> ^4.0.0 |
Release Notes
webpack/webpack-dev-server (webpack-dev-server)
v4.15.1
v4.15.0
Features
v4.14.0
Features
- allow CLI to be ESM (#4837) (bb4a5d9)
- allow filter overlay errors/warnings with function (#4813) (aab01b3)
4.13.3 (2023-04-15)
Bug Fixes
4.13.2 (2023-03-31)
Bug Fixes
- prevent open 0.0.0.0 in browser due windows problems (04e74f2)
4.13.1 (2023-03-18)
Bug Fixes
v4.13.3
v4.13.2
v4.13.1
v4.13.0
Features
v4.12.0
Features
- allow to set the
sockjs_url
option (onlysockjs
) using thewebSocketServer.options.sockjsUrl
option (#4586) (69a2fba) - catch runtime error (#4605) (87a26cf)
- improve styles for overlay (#4576) (791fb85)
- open editor when clicking error on overlay (#4587) (efb2cec)
Bug Fixes
- compatibility with
experiments.buildHttp
(#4585) (5b846cb) - respect
NODE_PATH
env variable (#4581) (b857e6f)
4.11.1 (2022-09-19)
Bug Fixes
v4.11.1
v4.11.0
Features
Bug Fixes
4.10.1 (2022-08-29)
Bug Fixes
v4.10.1
v4.10.0
Features
Bug Fixes
4.9.3 (2022-06-29)
Bug Fixes
- avoid creation unnecessary stream for static sockjs file (#4482) (049b153)
- history-api-fallback now supports HEAD requests and handles them the same as GET (8936082)
4.9.2 (2022-06-06)
Bug Fixes
4.9.1 (2022-05-31)
Bug Fixes
v4.9.3
v4.9.2
v4.9.1
v4.9.0
Features
Bug Fixes
- ie11 runtime (#4403) (256d5fb)
- replace portfinder with custom implementation and fix security problem (#4384) (eea50f3)
- use the host in options to check if port is available (#4385) (a10c7cf)
4.8.1 (2022-04-06)
Bug Fixes
v4.8.1
v4.8.0
Features
Bug Fixes
- update description for
--no-client-reconnect
(#4248) (317648d) - update description for
--no-client
(#4250) (c3b6690) - update description for
--no-history-api-fallback
(#4277) (d63a0a2) - update negated descriptions for more options (#4287) (c64bd94)
- update schema to have
negatedDescription
only for typeboolean
(#4280) (fcf8e8e)
4.7.4 (2022-02-02)
Bug Fixes
- add @types/express (#4226) (e55f728)
- negative descriptions (#4216) (fd854c0)
- types for the
proxy
option (#4173) (efec2f5) - use CLI specific description for
--open-app-name
and--web-socket-server
(#4215) (329679a)
4.7.3 (2022-01-11)
Security
- update
selfsigned
to2.0.0
version
4.7.2 (2021-12-29)
Bug Fixes
- apply
onAfterSetupMiddleware
aftersetupMiddlewares
(as behavior earlier) (f6bc644)
4.7.1 (2021-12-22)
Bug Fixes
v4.7.4
v4.7.3
v4.7.2
v4.7.1
v4.7.0
Features
- added the
setupMiddlewares
option and deprecatedonAfterSetupMiddleware
andonBeforeSetupMiddleware
options (#4068) (c13aa56) - added types (8f02c3f)
- show deprecation warning for
cacert
option (#4115) (c73ddfb)
Bug Fixes
- add description for
watchFiles
options (#4057) (75f3817) - allow passing options for custom server (#4110) (fc8bed9)
- correct schema for
ClientLogging
(#4084) (9b7ae7b) - mark
--open-app
deprecated in favor of--open-app-name
(#4091) (693c28a) - show deprecation warning for both
https
andhttp2
(#4069) (d8d5d71) - update
--web-socket-server
description (#4098) (65955e9) - update
listen
andclose
deprecation warning message (#4097) (b217a19) - update descriptions of
https
andserver
options (#4094) (f97c9e2)
v4.6.0
Features
Bug Fixes
v4.5.0
Features
- add
--web-socket-server-type
option for CLI (#4001) (17c390a) - show deprecation warning for
https
/http2
option, migration guide forhttps
and migration guide forhttp2
(because we usespdy
for http2 dueexpress
doesn't support http2) (#4003) (521cf85)
Bug Fixes
- infinity refresh on warnings (#4006) (10da223)
- invalid host message is missing on client with https (#3997) (#3998) (ff0869c)
- remove process listeners after stopping the server (#4013) (d198e4e)
v4.4.0
Features
- added the
server
option, now you can pass server options, example{ server: { type: 'http', options: { maxHeaderSize: 32768 } } }
, available options forhttp
andhttps
, note - forhttp2
is usedspdy
, options specified in theserver.options
option take precedence overhttps
/http2
options (#3940) (a70a7ef) - added the
client.reconnect
option (#3912) (5edad76) - improve error handling within
startCallback
andendCallback
(#3969) (b0928ac)
Bug Fixes
4.3.1 (2021-10-04)
Bug Fixes
v4.3.1
v4.3.0
Features
Bug Fixes
- avoid web socket connection when web socket server is not running (#3879) (8874d72)
- display file name for warnings/errors in overlay (#3867) (d20def5)
- formatting errors/warnings (#3877) (f0dbea0)
- handle 0 value of the
port
option property (ed67f66)
4.2.1 (2021-09-13)
Bug Fixes
- infinity loop for multi compiler mode (#3840) (e019bd2)
- reloading logic for multi compiler mode (#3841) (ef148ec)
4.2.0 (2021-09-09)
Features
- added the
http.ca
option (CLI option added too) (should be used insteadcacert
, because we will remove it in the next major release in favor thehttps.ca
option) - added the
https.crl
option (CLI options added too), more information -
https.ca
/https.cacert
/https.cert
/https.crl
/https.key
/https.pfx
options are now accept Arrays ofBuffer
/string
/Path to file, using--https-*-reset
CLI options you can reset these options -
https.pfx
/https.key
can beObject[]
, more information -
https
options 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
- accept connections with
file:
andchrome-extensions:
protocol by default (#3822) (138f064) - close overlay on disconnection (#3825) (011bcf1)
- respect
https.cacert
option (#3820) (0002ebf)
4.1.1 (2021-09-07)
Bug Fixes
- improve the description of the
magicHtml
option (#3772) (b80610f) - replace
ansi-html
withansi-html-community
to avoid CVE (#3801) (36fd214)
v4.2.1
v4.2.0
v4.1.1
v4.1.0
Features
- added the
magicHtml
option (#3717) (4831f58) - allow to set
hot
andlive-reload
for client using search params (1c57680) - show warning when the
hot
option is enabled with the HMR plugin in config (#3744) (6cb1e4e)
Bug Fixes
- change log type of
Disconnected!
toinfo
(fde27f5) - handle
--allowed-hosts all
correctly (#3720) (326ed56) - output documentation link on errors (#3680) (e16221b)
- respect the
bypass
option withtarget
/router
options for proxy (b5dd568)
v4.0.0
v3.11.3
3.11.3 (2021-11-08)
Bug Fixes
v3.11.2
3.11.2 (2021-01-13)
Bug Fixes
- cli arguments for
serve
command (a5fe337)
v3.11.1
3.11.1 (2020-12-29)
Bug Fixes
- the
open
option works usingwebpack serve
without value (#2948) (4837dc9) - vulnerable deps (#2949) (78dde50)
v3.11.0
Features
- add icons for directory viewer (#2441) (e953d01)
- allow multiple
contentBasePublicPath
paths (#2489) (c6bdfe4) - emit progress-update (#2498) (4808abd), closes #1666
- add invalidate endpoint (#2493) (89ffb86)
- allow open option to accept an object (#2492) (adeb92e)
Bug Fixes
- do not swallow errors from server (#2512) (06583f2)
- security vulnerability in yargs-parser (#2566) (41d1d0c)
- don't crash on setupExitSignals(undefined) (#2507) (0d5c681)
- support entry descriptor (closes #2453) (#2465) (8bbef6a)
- update jquery (#2516) (99ccfd8)
3.10.3 (2020-02-05)
Bug Fixes
3.10.2 (2020-01-31)
Bug Fixes
- fallthrough non
GET
andHEAD
request to routes (#2374) (ebe8eca) - add an optional peer dependency on webpack-cli (#2396) (aa365df)
- add heartbeat for the websocket server (#2404) (1a7c827)
3.10.1 (2019-12-19)
Bug Fixes
- ie11 compatibility (1306abe)
v3.10.3
v3.10.2
v3.10.1
v3.10.0
Features
-
client: allow sock port to use location's port (
sockPort: 'location'
) (#2341) (dc10d06) -
server: add
contentBasePublicPath
option (#2150) (cee700d)
Bug Fixes
- client: don't override protocol for socket connection to 127.0.0.1 (#2303) (3a31917), closes #2302
- server: respect sockPath on transportMode: 'ws' (#2310) (#2311) (e188542)
- https on chrome linux (#2330) (dc8b475)
- support webpack@5 (#2359) (8f89c01)
v3.9.0
Bug Fixes
- add
hostname
andport
to bonjour name to prevent name collisions (#2276) (d8af2d9) - add
extKeyUsage
to self-signed cert (#2274) (a4dbc3b)
Features
3.8.2 (2019-10-02)
Security
- update
selfsigned
package
3.8.1 (2019-09-16)
Bug Fixes
- add null check for connection.headers (#2200) (7964997)
- false positive for an absolute path in the
ContentBase
option on windows (#2202) (68ecf78) - add status in quiet log level (#2235) (7e2224e)
- scriptHost in client (#2246) (00903f6)
v3.8.2
v3.8.1
v3.8.0
Bug Fixes
- server: fix setupExitSignals usage (#2181) (bbe410e)
- server: set port before instantiating server (#2143) (cfbf229)
- check for name of HotModuleReplacementPlugin to avoid RangeError (#2146) (4579775)
- server: check for external urls in array (#1980) (fa78347)
- server: fix header check for socket server (#2077) (7f51859)
- server: stricter headers security check (#2092) (078ddca)
Features
- server: add transportMode (#2116) (b5b9cb4)
- server: serverMode 'ws' option (#2082) (04483f4)
- server/client: made progress option available to API (#1961) (56274e4)
Potential Breaking changes
We have migrated serverMode
and clientMode
to transportMode
as an experimental option. If you want to use this feature, you have to change your settings.
Related MR: https://github.com/webpack/webpack-dev-server/pull/2116
3.7.2 (2019-06-17)
Bug Fixes
- client: add default fallback for client (#2015) (d26b444)
-
open: set
wait: false
to run server.close successfully (#2001) (2b4cb52) - test: fixed ProvidePlugin.test.js (#2002) (47453cb)
3.7.1 (2019-06-07)
Bug Fixes
v3.7.2
v3.7.1
v3.7.0
Bug Fixes
- change clientLogLevel order to be called first (#1973) (57c8c92)
- es6 syntax in client (#1982) (802aa30)
v3.6.0
Bug Fixes
-
config: enable
--overlay
(#1968) (dc81e23) - server: don't ignore node_modules by default (#1970) (699f8b4), closes #1794
Features
3.5.1 (2019-06-01)
Bug Fixes
v3.5.1
v3.5.0
Bug Fixes
- add client code for
electron-renderer
target (#1935) (9297988) - add client code for
node-webkit
target (#1942) (c6b2b1f)
Features
-
server:
onListening
option (#1930) (61d0cdf) - server: add callback support for invalidate (#1900) (cd218ef)
-
server: add
WEBPACK_DEV_SERVER
env variable (#1929) (856169e)
3.4.1 (2019-05-17)
Bug Fixes
v3.4.1
v3.4.0
Bug Fixes
- don't use self.location.port (#1838) (6d31984)
- do not include config files in dist (#1883) (c535bb2)
- only add client entry to web targets (#1775) (cf4d0d0)
- update clientLogLevel to match docs and error (#1825) (7f52bbf)
- add errors-warnings preset (#1895) (2a81ad2)
Features
- added injectClient option (#1775) (cf4d0d0)
- added injectHot option (#1775) (cf4d0d0)
- added sockPort option (#1792) (58d1682)
- added sockHost option (#1858) (f47dff2)
- support HEAD method (#1875) (c2360e4)
- added liveReload option (#1889) (fc4fe32)
- update express to 4.17 version
v3.3.1
Bug Fixes
- regression: always get necessary stats for hmr (#1780) (66b04a9)
- regression: host and port can be undefined or null (#1779) (028ceee)
- only add entries after compilers have been created (#1774) (b31cbaa)
v3.3.0
Bug Fixes
- compatibility with webpack-cli@3.3 (#1754) (fd7cb0d)
- ignore proxy when bypass return false (#1696) (aa7de77)
- respect stats option from webpack config (#1665) (efaa740)
- use location.port when location.hostname is used to infer HMR socket URL (#1664) (2f7f052)
- don't crash with express.static.mime.types (#1765) (919ff77)
Features
- add option "serveIndex" to enable/disable serveIndex middleware (#1752) (d5d60cb)
- add webpack as argument to before and after options (#1760) (0984d4b)
- http2 option to enable/disable HTTP/2 with HTTPS (#1721) (dcd2434)
- random port retry logic (#1692) (419f02e)
- relax depth limit from chokidar for content base (#1697) (7ea9ab9)
3.2.1 (2019-02-25)
Bug Fixes
- deprecation message about
setup
now warning aboutv4
(#1684) (523a6ec) -
regression: allow
ca
,key
andcert
will be string (#1676) (b8d5c1e) -
regression: handle
key
,cert
,cacert
andpfx
in CLI (#1688) (4b2076c) -
regression: problem with
idb-connector
after updateinternal-ip
(#1691) (eb48691)
3.1.14 (2018-12-24)
Bug Fixes
3.1.13 (2018-12-22)
Bug Fixes
3.1.12 (2018-12-22)
Bug Fixes
3.1.11 (2018-12-21)
Bug Fixes
-
bin/options: correct check for color support (
options.color
) (#1555) (55398b5) -
package: update
spdy
v3.4.1...4.0.0 (assertion error) (#1491) (#1563) (7a3a257) -
Server: correct
node
version checks (#1543) (927a2b3) - Server: mime type for wasm in contentBase directory (#1575) (#1580) (fadae5d)
- add url for compatibility with webpack@5 (#1598) (#1599) (68dd49a)
- check origin header for websocket connection (#1603) (b3217ca)
3.1.10 (2018-10-23)
Bug Fixes
-
options: add
writeToDisk
option to schema (#1520) (d2f4902) -
package: update
sockjs-client
v1.1.5...1.3.0 (url-parse
vulnerability) (#1537) (e719959) -
Server: set
tls.DEFAULT_ECDH_CURVE
to'auto'
(#1531) (c12def3)
3.1.9 (2018-09-24)
3.1.8 (2018-09-06)
Bug Fixes
-
package:
yargs
security vulnerability (dependencies
) (#1492) (8fb67c9) -
utils/createLogger: ensure
quiet
always takes precedence (options.quiet
) (#1486) (7a6ca47)
3.1.7 (2018-08-29)
Bug Fixes
3.1.6 (2018-08-26)
Bug Fixes
-
bin: handle
process
signals correctly when the server isn't ready yet (#1432) (334c3a5) -
examples/cli: correct template path in
open-page
example (#1401) (df30727) -
schema: allow the
output
filename to be a{Function}
(#1409) (e2220c4)
v3.2.1
Bug Fixes
- deprecation message about
setup
now warning aboutv4
(#1684) (523a6ec) -
regression: allow
ca
,key
andcert
will be string (#1676) (b8d5c1e) -
regression: handle
key
,cert
,cacert
andpfx
in CLI (#1688) (4b2076c) -
regression: problem with
idb-connector
after updateinternal-ip
(#1691) (eb48691)
v3.2.0
Bug Fixes
Features
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by Renovate