webpack-dev-server
Advanced tools
Changelog
5.2.1 (2025-03-26)
Access-Control-Allow-Origin
headerOrigin
header are not allowed to connect to WebSocket server unless configured by allowedHosts
or it different from the Host
headerThe above changes may make the dev server not work if you relied on such behavior, but unfortunately they carry security risks, so they were considered as fixes.
Changelog
5.1.0 (2024-09-03)
app
option to be Function
(by default only with connect
compatibility frameworks) (3096148)server
option to be Function
(#5275) (02a1c6d)connect
and connect
compatibility frameworks which support HTTP2 (#5267) (6509a3f)platform
property to determinate the target (#5269) (c3b532c)rimraf
with rm
(#5162) (1a1561f)devServer: false
(#5272) (8b341cb)Changelog
5.1.0 (2024-09-03)
app
option to be Function
(by default only with connect
compatibility frameworks) (3096148)server
option to be Function
(#5275) (02a1c6d)connect
and connect
compatibility frameworks which support HTTP2 (#5267) (6509a3f)platform
property to determinate the target (#5269) (c3b532c)rimraf
with rm
(#5162) (1a1561f)devServer: false
(#5272) (8b341cb)