From f1fdaa79df1c230f482eebbf7f29814c46dd6b35 Mon Sep 17 00:00:00 2001 From: evilebottnawi Date: Tue, 17 Aug 2021 20:19:59 +0300 Subject: [PATCH] chore(release): 4.0.0-rc.1 --- CHANGELOG.md | 21 +++++++++++++++++++++ migration-v4.md | 4 ++++ package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 28 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f21917af76..c5cc36b07e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,27 @@ 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-rc.1](https://github.com/webpack/webpack-dev-server/compare/v4.0.0-rc.0...v4.0.0-rc.1) (2021-08-17) + +## Notes: + +- migration guide from v3 to v4 can be found [here](https://github.com/webpack/webpack-dev-server/blob/master/migration-v4.md) + +### Features + +* async API ([#3608](https://github.com/webpack/webpack-dev-server/issues/3608)) ([974ce25](https://github.com/webpack/webpack-dev-server/commit/974ce25669ef6a4f55e8a7576fc140bc7ccb55f1)) +* use ECMA modules in client ([#3550](https://github.com/webpack/webpack-dev-server/issues/3550)) ([9307755](https://github.com/webpack/webpack-dev-server/commit/93077552c2bac020650936316dc93e03245b7a19)) + + +### Bug Fixes + +* fix usage legacy API ([#3660](https://github.com/webpack/webpack-dev-server/issues/3660)) ([c4678bc](https://github.com/webpack/webpack-dev-server/commit/c4678bc467370e7dc74d06a8b898515e448d0da0)) +* proxy logging and allow to pass options without the `target` option ([#3651](https://github.com/webpack/webpack-dev-server/issues/3651)) ([6e2cbde](https://github.com/webpack/webpack-dev-server/commit/6e2cbde16b0d071b6dd5c243b1b0e867b69575c5)) +* render ansi formatted error messages correctly in overlay ([#3579](https://github.com/webpack/webpack-dev-server/issues/3579)) ([9313454](https://github.com/webpack/webpack-dev-server/commit/9313454066c2a830b425965837a2756d8f945e97)) +* use value of the `infastructureLogging.level` option by default for `client.logging`. ([#3613](https://github.com/webpack/webpack-dev-server/issues/3613)) ([c9ccc96](https://github.com/webpack/webpack-dev-server/commit/c9ccc96f9d5cd9930f69b927b248d52509ec1e55)) +* schema for the `host` option ([#3549](https://github.com/webpack/webpack-dev-server/issues/3549)) ([7200d31](https://github.com/webpack/webpack-dev-server/commit/7200d3101403864b3ca795c6bf028197e9f62183)) +* show deprecation warning for incorrect usage of Node.js API ([#3563](https://github.com/webpack/webpack-dev-server/issues/3563)) ([62b21ff](https://github.com/webpack/webpack-dev-server/commit/62b21ffb028685e76ee715babfe53d5a9606fbbc)) + ## [4.0.0-rc.0](https://github.com/webpack/webpack-dev-server/compare/v4.0.0-beta.3...v4.0.0-rc.0) (2021-07-19) diff --git a/migration-v4.md b/migration-v4.md index 0f32358649..fbb5e7e535 100644 --- a/migration-v4.md +++ b/migration-v4.md @@ -5,6 +5,7 @@ This document serves as a migration guide for `webpack-dev-server@4.0.0`. ### ⚠ BREAKING CHANGES - Minimum supported `Node.js` version is `12.13.0`. +- Minimum supported `webpack` version is `4.37.0` (**but we so recommend using 5 version**). - The `hotOnly` option was removed, if you need hot only mode, use `{ hot: 'only' }` value. v3: @@ -605,6 +606,7 @@ module.exports = { - The `static` option can be disabled using `static: false`. - Added async `start` and `stop` methods to API - Added `startCallback` and `stopCallback` methods to API +- Migrate on built-in `webpack` logger. ### Bug Fixes @@ -616,6 +618,8 @@ module.exports = { - `chokidar` was updated. - Respect the `client.logging` option for HMR logging. - 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. There are a lot of other bug fixes. diff --git a/package-lock.json b/package-lock.json index 1b71f79d81..686d5e7918 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { "name": "webpack-dev-server", - "version": "4.0.0-rc.0", + "version": "4.0.0-rc.1", "lockfileVersion": 2, "requires": true, "packages": { "": { - "version": "4.0.0-rc.0", + "version": "4.0.0-rc.1", "license": "MIT", "dependencies": { "ansi-html": "^0.0.7", diff --git a/package.json b/package.json index d5246ba390..a79d8560c1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "webpack-dev-server", - "version": "4.0.0-rc.0", + "version": "4.0.0-rc.1", "description": "Serves a webpack app. Updates the browser on changes.", "bin": "bin/webpack-dev-server.js", "main": "lib/Server.js",