github webpack/webpack-dev-server v4.0.0-rc.0

latest releases: v4.15.2, v5.0.4, v5.0.3...
2 years ago

4.0.0-rc.0 (2021-07-19)

Notes:

  • migration guide from v3 to v4 can be found here

⚠ BREAKING CHANGES

  • rename client.transport to client.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 and needClientEntry) in favor manual setup entries (#3494)
  • you need to reset CLI options using reset option, please look them in webpack serve --help
  • host and port options can't be null 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 and password 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

Don't miss a new webpack-dev-server release

NewReleases is sending notifications on new releases.