Skip to content

Commit

Permalink
chore(release): 5.0.0 (#3492)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait authored Nov 17, 2022
1 parent 24334d9 commit 1d6ada1
Show file tree
Hide file tree
Showing 12 changed files with 106 additions and 15 deletions.
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@
# [5.0.0](https://github.com/webpack/webpack-cli/compare/[email protected]@5.0.0) (2022-11-17)

### Bug Fixes

- improve description of the `--disable-interpret` option ([#3364](https://github.com/webpack/webpack-cli/issues/3364)) ([bdb7e20](https://github.com/webpack/webpack-cli/commit/bdb7e20a3fc5a676bf5ba9912c091a2c9b3a1cfd))
- remove the redundant `utils` export ([#3343](https://github.com/webpack/webpack-cli/issues/3343)) ([a9ce5d0](https://github.com/webpack/webpack-cli/commit/a9ce5d077f90492558e2d5c14841b3b5b85f1186))
- respect `NODE_PATH` env variable ([#3411](https://github.com/webpack/webpack-cli/issues/3411)) ([83d1f58](https://github.com/webpack/webpack-cli/commit/83d1f58fb52d9dcfa3499efb342dfc47d0cca73a))
- show all CLI specific flags in the minimum help output ([#3354](https://github.com/webpack/webpack-cli/issues/3354)) ([35843e8](https://github.com/webpack/webpack-cli/commit/35843e87c61fd27be92afce11bd66ebf4f9519ae))

### Features

- failOnWarnings option ([#3317](https://github.com/webpack/webpack-cli/issues/3317)) ([c48c848](https://github.com/webpack/webpack-cli/commit/c48c848c6c84eb73fbd829dc41bee301b0b7e2de))
- update commander to v9 ([#3460](https://github.com/webpack/webpack-cli/issues/3460)) ([6621c02](https://github.com/webpack/webpack-cli/commit/6621c023ab59cc510a5f76e262f2c81676d1920b))
- added the `--define-process-env-node-env` option
- update `interpret` to v3 and `rechoir` to v0.8
- add an option for preventing interpret ([#3329](https://github.com/webpack/webpack-cli/issues/3329)) ([c737383](https://github.com/webpack/webpack-cli/commit/c7373832b96af499ad0813e07d114bdc927afdf4))

### BREAKING CHANGES

- the minimum supported webpack version is v5.0.0 (#3342) ([b1af0dc](https://github.com/webpack/webpack-cli/commit/b1af0dc7ebcdf746bc37889e4c1f978c65acc4a5)), closes [#3342](https://github.com/webpack/webpack-cli/issues/3342)
- webpack-cli no longer supports webpack v4, the minimum supported version is webpack v5.0.0
- webpack-cli no longer supports webpack-dev-server v3, the minimum supported version is webpack-dev-server v4.0.0
- remove the `migrate` command (#3291) ([56b43e4](https://github.com/webpack/webpack-cli/commit/56b43e4baf76c166ade3b282b40ad9d007cc52b6)), closes [#3291](https://github.com/webpack/webpack-cli/issues/3291)
- remove the `--prefetch` option in favor the `PrefetchPlugin` plugin
- remove the `--node-env` option in favor `--define-process-env-node-env`
- remove the `--hot` option in favor of directly using the `HotModuleReplacement` plugin (only for `build` command, for `serve` it will work)
- the behavior logic of the `--entry` option has been changed - previously it replaced your entries, now the option adds a specified entry, if you want to return the previous behavior please use ` webpack --entry-reset --entry './src/my-entry.js'`

# [4.10.0](https://github.com/webpack/webpack-cli/compare/[email protected]@4.10.0) (2022-06-13)

### Bug Fixes
Expand Down
7 changes: 7 additions & 0 deletions packages/configtest/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [2.0.0](https://github.com/webpack/webpack-cli/compare/@webpack-cli/[email protected]...@webpack-cli/[email protected]) (2022-11-17)

### BREAKING CHANGES

- the minimum supported webpack version is v5.0.0 (#3342) ([b1af0dc](https://github.com/webpack/webpack-cli/commit/b1af0dc7ebcdf746bc37889e4c1f978c65acc4a5)), closes [#3342](https://github.com/webpack/webpack-cli/issues/3342)
- webpack-cli no longer supports webpack v4, the minimum supported version is webpack v5.0.0

# [1.2.0](https://github.com/webpack/webpack-cli/compare/@webpack-cli/[email protected]...@webpack-cli/[email protected]) (2022-06-13)

### Features
Expand Down
4 changes: 2 additions & 2 deletions packages/configtest/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@webpack-cli/configtest",
"version": "1.2.0",
"version": "2.0.0",
"description": "Validate a webpack configuration.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand All @@ -21,6 +21,6 @@
],
"peerDependencies": {
"webpack": "5.x.x",
"webpack-cli": "4.x.x"
"webpack-cli": "5.x.x"
}
}
11 changes: 11 additions & 0 deletions packages/generators/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [3.0.0](https://github.com/webpack/webpack-cli/compare/@webpack-cli/[email protected]...@webpack-cli/[email protected]) (2022-11-17)

### Bug Fixes

- add style and css loader to sass/less/stylus replaces [#3172](https://github.com/webpack/webpack-cli/issues/3172) ([#3412](https://github.com/webpack/webpack-cli/issues/3412)) ([2d3eea1](https://github.com/webpack/webpack-cli/commit/2d3eea16877e63e80019a318cf05894295877bd3))

### BREAKING CHANGES

- the minimum supported webpack version is v5.0.0 (#3342) ([b1af0dc](https://github.com/webpack/webpack-cli/commit/b1af0dc7ebcdf746bc37889e4c1f978c65acc4a5)), closes [#3342](https://github.com/webpack/webpack-cli/issues/3342)
- webpack-cli no longer supports webpack v4, the minimum supported version is webpack v5.0.0

# [2.5.0](https://github.com/webpack/webpack-cli/compare/@webpack-cli/[email protected]...@webpack-cli/[email protected]) (2022-06-13)

### Bug Fixes
Expand Down
6 changes: 3 additions & 3 deletions packages/generators/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@webpack-cli/generators",
"version": "2.5.0",
"version": "3.0.0",
"description": "Webpack-CLI generators",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand All @@ -25,13 +25,13 @@
"plugin-template"
],
"dependencies": {
"webpack-cli": "^4.10.0",
"webpack-cli": "^5.0.0",
"yeoman-environment": "^3.9.1",
"yeoman-generator": "^5.7.0"
},
"peerDependencies": {
"webpack": "5.x.x",
"webpack-cli": "4.x.x"
"webpack-cli": "5.x.x"
},
"peerDependenciesMeta": {
"prettier": {
Expand Down
11 changes: 11 additions & 0 deletions packages/info/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [2.0.0](https://github.com/webpack/webpack-cli/compare/@webpack-cli/[email protected]...@webpack-cli/[email protected]) (2022-11-17)

### Features

- **info:** show information for webpack-cli packages by default ([#3362](https://github.com/webpack/webpack-cli/issues/3362)) ([a1161a8](https://github.com/webpack/webpack-cli/commit/a1161a83d1c8be942ebd2fc93c20e463db38f632))

### BREAKING CHANGES

- the minimum supported webpack version is v5.0.0 (#3342) ([b1af0dc](https://github.com/webpack/webpack-cli/commit/b1af0dc7ebcdf746bc37889e4c1f978c65acc4a5)), closes [#3342](https://github.com/webpack/webpack-cli/issues/3342)
- webpack-cli no longer supports webpack v4, the minimum supported version is webpack v5.0.0

# [1.5.0](https://github.com/webpack/webpack-cli/compare/@webpack-cli/[email protected]...@webpack-cli/[email protected]) (2022-06-13)

### Features
Expand Down
4 changes: 2 additions & 2 deletions packages/info/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@webpack-cli/info",
"version": "1.5.0",
"version": "2.0.0",
"description": "Outputs info about system and webpack config",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand All @@ -22,6 +22,6 @@
"gitHead": "fb50f766851f500ca12867a2aa9de81fa6e368f9",
"peerDependencies": {
"webpack": "5.x.x",
"webpack-cli": "4.x.x"
"webpack-cli": "5.x.x"
}
}
8 changes: 8 additions & 0 deletions packages/serve/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [2.0.0](https://github.com/webpack/webpack-cli/compare/@webpack-cli/[email protected]...@webpack-cli/[email protected]) (2022-11-17)

### BREAKING CHANGES

- the minimum supported webpack version is v5.0.0 (#3342) ([b1af0dc](https://github.com/webpack/webpack-cli/commit/b1af0dc7ebcdf746bc37889e4c1f978c65acc4a5)), closes [#3342](https://github.com/webpack/webpack-cli/issues/3342)
- webpack-cli no longer supports webpack v4, the minimum supported version is webpack v5.0.0
- webpack-cli no longer supports webpack-dev-server v3, the minimum supported version is webpack-dev-server v4.0.0

# [1.7.0](https://github.com/webpack/webpack-cli/compare/@webpack-cli/[email protected]...@webpack-cli/[email protected]) (2022-06-13)

### Features
Expand Down
4 changes: 2 additions & 2 deletions packages/serve/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@webpack-cli/serve",
"version": "1.7.0",
"version": "2.0.0",
"description": "",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand All @@ -22,7 +22,7 @@
],
"peerDependencies": {
"webpack": "5.x.x",
"webpack-cli": "4.x.x"
"webpack-cli": "5.x.x"
},
"peerDependenciesMeta": {
"webpack-dev-server": {
Expand Down
28 changes: 28 additions & 0 deletions packages/webpack-cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,34 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [5.0.0](https://github.com/webpack/webpack-cli/compare/[email protected]@5.0.0) (2022-11-17)

### Bug Fixes

- improve description of the `--disable-interpret` option ([#3364](https://github.com/webpack/webpack-cli/issues/3364)) ([bdb7e20](https://github.com/webpack/webpack-cli/commit/bdb7e20a3fc5a676bf5ba9912c091a2c9b3a1cfd))
- remove the redundant `utils` export ([#3343](https://github.com/webpack/webpack-cli/issues/3343)) ([a9ce5d0](https://github.com/webpack/webpack-cli/commit/a9ce5d077f90492558e2d5c14841b3b5b85f1186))
- respect `NODE_PATH` env variable ([#3411](https://github.com/webpack/webpack-cli/issues/3411)) ([83d1f58](https://github.com/webpack/webpack-cli/commit/83d1f58fb52d9dcfa3499efb342dfc47d0cca73a))
- show all CLI specific flags in the minimum help output ([#3354](https://github.com/webpack/webpack-cli/issues/3354)) ([35843e8](https://github.com/webpack/webpack-cli/commit/35843e87c61fd27be92afce11bd66ebf4f9519ae))

### Features

- failOnWarnings option ([#3317](https://github.com/webpack/webpack-cli/issues/3317)) ([c48c848](https://github.com/webpack/webpack-cli/commit/c48c848c6c84eb73fbd829dc41bee301b0b7e2de))
- update commander to v9 ([#3460](https://github.com/webpack/webpack-cli/issues/3460)) ([6621c02](https://github.com/webpack/webpack-cli/commit/6621c023ab59cc510a5f76e262f2c81676d1920b))
- added the `--define-process-env-node-env` option
- update `interpret` to v3 and `rechoir` to v0.8
- add an option for preventing interpret ([#3329](https://github.com/webpack/webpack-cli/issues/3329)) ([c737383](https://github.com/webpack/webpack-cli/commit/c7373832b96af499ad0813e07d114bdc927afdf4))

### BREAKING CHANGES

- the minimum supported webpack version is v5.0.0 (#3342) ([b1af0dc](https://github.com/webpack/webpack-cli/commit/b1af0dc7ebcdf746bc37889e4c1f978c65acc4a5)), closes [#3342](https://github.com/webpack/webpack-cli/issues/3342)
- webpack-cli no longer supports webpack v4, the minimum supported version is webpack v5.0.0
- webpack-cli no longer supports webpack-dev-server v3, the minimum supported version is webpack-dev-server v4.0.0
- remove the `migrate` command (#3291) ([56b43e4](https://github.com/webpack/webpack-cli/commit/56b43e4baf76c166ade3b282b40ad9d007cc52b6)), closes [#3291](https://github.com/webpack/webpack-cli/issues/3291)
- remove the `--prefetch` option in favor the `PrefetchPlugin` plugin
- remove the `--node-env` option in favor `--define-process-env-node-env`
- remove the `--hot` option in favor of directly using the `HotModuleReplacement` plugin (only for `build` command, for `serve` it will work)
- the behavior logic of the `--entry` option has been changed - previously it replaced your entries, now the option adds a specified entry, if you want to return the previous behavior please use ` webpack --entry-reset --entry './src/my-entry.js'`

# [4.10.0](https://github.com/webpack/webpack-cli/compare/[email protected]@4.10.0) (2022-06-13)

### Bug Fixes
Expand Down
8 changes: 4 additions & 4 deletions packages/webpack-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "webpack-cli",
"version": "4.10.0",
"version": "5.0.0",
"description": "CLI for webpack & friends",
"license": "MIT",
"repository": {
Expand Down Expand Up @@ -35,9 +35,9 @@
],
"dependencies": {
"@discoveryjs/json-ext": "^0.5.0",
"@webpack-cli/configtest": "^1.2.0",
"@webpack-cli/info": "^1.5.0",
"@webpack-cli/serve": "^1.7.0",
"@webpack-cli/configtest": "^2.0.0",
"@webpack-cli/info": "^2.0.0",
"@webpack-cli/serve": "^2.0.0",
"colorette": "^2.0.14",
"commander": "^9.4.1",
"cross-spawn": "^7.0.3",
Expand Down
2 changes: 0 additions & 2 deletions packages/webpack-cli/src/webpack-cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2107,8 +2107,6 @@ class WebpackCLI implements IWebpackCLI {
}
}

// TODO respect `--entry-reset` in th next major release

// Respect `process.env.NODE_ENV`
if (
!item.mode &&
Expand Down

0 comments on commit 1d6ada1

Please sign in to comment.