Skip to content

Releases: webpack/webpack-dev-server

v4.6.0

25 Nov 20:02
Compare
Choose a tag to compare

4.6.0 (2021-11-25)

Features

Bug Fixes

v4.5.0

13 Nov 12:51
Compare
Choose a tag to compare

4.5.0 (2021-11-13)

Features

Bug Fixes

v3.11.3

08 Nov 16:30
Compare
Choose a tag to compare

3.11.3 (2021-11-08)

Bug Fixes

  • replace ansi-html with ansi-html-community (#4011) (4fef67b)

v4.4.0

27 Oct 18:04
Compare
Choose a tag to compare

4.4.0 (2021-10-27)

Features

  • added the server option, now you can pass server options, example { server: { type: 'http', options: { maxHeaderSize: 32768 } } }, available options for http and https, note - for http2 is used spdy, options specified in the server.options option take precedence over https/http2 options (#3940) (a70a7ef)
  • added the client.reconnect option (#3912) (5edad76)
  • improve error handling within startCallback and endCallback (#3969) (b0928ac)

Bug Fixes

v4.3.1

04 Oct 17:56
Compare
Choose a tag to compare

4.3.1 (2021-10-04)

Bug Fixes

v4.3.0

25 Sep 14:37
Compare
Choose a tag to compare

4.3.0 (2021-09-25)

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)

v4.2.1

13 Sep 23:07
Compare
Choose a tag to compare

4.2.1 (2021-09-13)

Bug Fixes

v4.2.0

09 Sep 18:54
Compare
Choose a tag to compare

4.2.0 (2021-09-09)

Features

  • added the http.ca option (CLI option added too) (should be used instead cacert, because we will remove it in the next major release in favor the https.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 of Buffer/string/Path to file, using --https-*-reset CLI options you can reset these options
  • https.pfx/https.key can be Object[], 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: and chrome-extensions: protocol by default (#3822) (138f064)
  • close overlay on disconnection (#3825) (011bcf1)
  • respect https.cacert option (#3820) (0002ebf)

v4.1.1

07 Sep 11:57
Compare
Choose a tag to compare

4.1.1 (2021-09-07)

Bug Fixes

  • improve the description of the magicHtml option (#3772) (b80610f)
  • replace ansi-html with ansi-html-community to avoid CVE (#3801) (36fd214)

v4.1.0

31 Aug 17:36
Compare
Choose a tag to compare

4.1.0 (2021-08-31)

Features

  • added the magicHtml option (#3717) (4831f58)
  • allow to set hot and live-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! to info (fde27f5)
  • handle --allowed-hosts all correctly (#3720) (326ed56)
  • output documentation link on errors (#3680) (e16221b)
  • respect the bypass option with target/router options for proxy (b5dd568)