Skip to content

Releases: webpack/webpack-dev-server

v4.7.0

21 Dec 17:55
Compare
Choose a tag to compare

4.7.0 (2021-12-21)

Features

  • added the setupMiddlewares option and deprecated onAfterSetupMiddleware and onBeforeSetupMiddleware 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 and http2 (#4069) (d8d5d71)
  • update --web-socket-server description (#4098) (65955e9)
  • update listen and close deprecation warning message (#4097) (b217a19)
  • update descriptions of https and server options (#4094) (f97c9e2)

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)