4.0.0-rc.0 (2021-07-19)
Notes:
- migration guide from v3 to v4 can be found here
⚠ BREAKING CHANGES
- rename
client.transport
toclient.webSocketTransport
- move web socket client to web socket server class, i.e. to get web socket clients use
this.webSocketServer.clients
- remove entry options (i.e.
hotEntry
andneedClientEntry
) in favor manual setup entries (#3494) - you need to reset CLI options using
reset
option, please look them inwebpack serve --help
host
andport
options can't benull
or empty string
Features
- allow to close overlay in browser (#3433) (307f2e7)
- add port
auto
(#3297) (437c8d3) - added
<url>
pattern for open and allow to use multiple browsers (#3496) (7c7ccf9) - allow string value for
client.webSocketURL.port
(#3354) (f5e7f8f) - allow to disable web socket server using
webSocketServer: false
(f62f20f) - allow
username
andpassword
in clientURL (#3452) (a7225d5) - display documentation links on errors (#3512) (54790ab)
- enable
compress
by default (#3303) (4d251b5) - implement the
client.webSocketURL.protocol
option (#3380) (8998d6b) - the
ipc
option was added for unix socket (#3479) (b559738) - support
Function
in headers option (#3267) (28f9597)
Bug Fixes
- allow to use
80
port for dev server (#3487) (22f18eb) - avoid duplicate
App updated. Recompiling...
(#3488) (a2e3ead) - do not allow empty string for
port
(#3372) (8c53102) - don't allow empty array for
allowedHosts
option (#3451) (17aa345) - get rid of Symbol core-js polyfill (#3535) (7afe3d2)
- the
host
option can't benull
or empty string (#3352) (216b0d3) - improve message for static content changes (#3289) (970a7d7)
- improve processing of CLI flags (#3313) (32bc877)
- rename
firewall
option toallowedHosts
option (#3345) (81e4e55) - pass own logger in historyApiFallback (#3373) (3ba2fa5)
- polling usage in watchFiles option (#3366) (2afb223)
- postpone initialize (#3467) (80087de)
- regression with
port
andbonjour
(c2805fe) - rename
path
topathname
forclient.webSocketURL
(#3466) (fd63e02) - respect
logLevel
andlogProvider
option for proxy (#3257) (199baec) - show plugin name in progress log (#3337) (b8a0932)