From c9271b90b476096e1cee29fa8862c1a312fa0394 Mon Sep 17 00:00:00 2001 From: evilebottnawi Date: Wed, 18 Aug 2021 21:07:18 +0300 Subject: [PATCH] chore(release): 4.0.0 --- CHANGELOG.md | 12 ++++++++++++ migration-v4.md | 2 ++ package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 17 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c5cc36b07e..9760c1b697 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,18 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [4.0.0](https://github.com/webpack/webpack-dev-server/compare/v4.0.0-rc.1...v4.0.0) (2021-08-18) + +## Notes: + +- migration guide from v3 to v4 can be found [here](https://github.com/webpack/webpack-dev-server/blob/master/migration-v4.md) + +### Bug Fixes + +* improve https CLI output ([#3673](https://github.com/webpack/webpack-dev-server/issues/3673)) ([f2d87fb](https://github.com/webpack/webpack-dev-server/commit/f2d87fb2dc3f9545dd9203beda8bf9ac056c70f6)) +* initial reloading for lazy compilation ([#3662](https://github.com/webpack/webpack-dev-server/issues/3662)) ([1768d6b](https://github.com/webpack/webpack-dev-server/commit/1768d6b7913055dad02318a49de65df2e93baa4f)) +* respect protocol from browser for manual setup ([#3675](https://github.com/webpack/webpack-dev-server/issues/3675)) ([cdcabb2](https://github.com/webpack/webpack-dev-server/commit/cdcabb240f9afcab504ca26fbf71d3af013dd806)) + ## [4.0.0-rc.1](https://github.com/webpack/webpack-dev-server/compare/v4.0.0-rc.0...v4.0.0-rc.1) (2021-08-17) ## Notes: diff --git a/migration-v4.md b/migration-v4.md index fbb5e7e535..ac07f506f9 100644 --- a/migration-v4.md +++ b/migration-v4.md @@ -610,6 +610,7 @@ module.exports = { ### Bug Fixes +- Compatibility with the `target` option (you can use `target: ['web', 'es5']`). - `publicPath: auto` is now working out of box. - No problems with the `target` option anymore, you can remove workaround (i.e. `target: 'web'` for webpack v5). - Fix `webpack-dev-server` binary, i.e. `webpack server` and `webpack-dev-server` will work identically. @@ -620,6 +621,7 @@ module.exports = { - Show plugin name in progress log. - Use value of the `infastructureLogging.level` option by default for `client.logging`. - Allow to pass options without the `target` option for the `proxy` options. +- Support lazy compilation. There are a lot of other bug fixes. diff --git a/package-lock.json b/package-lock.json index 5c62da3768..2b43d213ab 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { "name": "webpack-dev-server", - "version": "4.0.0-rc.1", + "version": "4.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { - "version": "4.0.0-rc.1", + "version": "4.0.0", "license": "MIT", "dependencies": { "ansi-html": "^0.0.7", diff --git a/package.json b/package.json index a79d8560c1..ad57a56aa2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "webpack-dev-server", - "version": "4.0.0-rc.1", + "version": "4.0.0", "description": "Serves a webpack app. Updates the browser on changes.", "bin": "bin/webpack-dev-server.js", "main": "lib/Server.js",