66 KiB
66 KiB
Change Log
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
4.7.0 (2021-05-06)
Bug Fixes
Features
- add
create
andnew
alias forinit
(#2616) (5a9789d) - add
server
alias forserve
command (#2631) (c9ee947) - add flag to force start finish log (#2566) (281aad3)
- added
--no-devtool
to webpack v4(#2603) (7c6f390) - added support arguments description (#2659) (4dfd166)
4.6.0 (2021-03-27)
Bug Fixes
negative
options (#2555) (f26ebc1)- improve error message for help (#2482) (99ae2a3)
- show
--node-env
in minimum help output (#2411) (f5fc302)
Features
- added
WEBPACK_PACKAGE
env var to use customwebpack
package (#2556) (3d1e485) - added
WEBPACK_CLI_SKIP_IMPORT_LOCAL
env var to skip local import (#2546) (e130822) - allow string value for the
--hot
option (#2444) (8656e78) - display used config path when logging level=log (#2431) (f8406e1)
4.5.0 (2021-02-02)
Bug Fixes
- avoid deprecation message (9d6dbda)
- error message on invalid plugin options (#2380) (f9ce1d3)
- improve description for 'configtest' command (#2379) (311bae3)
Features
- add the
--node-env
flag (#2388) (e5126f1) - entries syntax (#2369) (6b31614)
- support ES module configuration format (#2381) (aebdbbc)
4.4.0 (2021-01-19)
Bug Fixes
- better description for --no-watch-options-stdin (#2288) (4ee8665)
- double commands output in help (#2298) (efe81e9)
- pass all
argv
to configurations whenserve
command used (#2345) (5070b9b) - respect
--stats
,--color
and--no-color
option for serve c… (#2312) (73d3fec) - show exact package name while prompting for installation (#2338) (ffc93e5)
- webpack installation prompt message (#2316) (3659c5e)
Features
configtest
validate default configuration (#2354) (487691a)- added
build
command (aliases - 'bundle' and 'b') (7590f66) - added the
watch
command (#2357) (9693f7d) - allow to pass parseOption to CLI class (#2299) (2af0801)
- allow to use
help
command to show option information (#2353) (15eb411) - new
configtest
command (#2303) (eb7b189) - show multiple suggestions on unknown options (#2349) (7314d6c)
4.3.1 (2020-12-31)
Bug Fixes
- error message on not installed module loaders for configuration (#2282) (29eaa8e)
- peer dependencies (#2284) (083f2a0)
- provide useful error on unknown command (d6380bb)
- the
--help
option is working withoutwebpack-dev-server
(#2267) (1dae54d) - the
--progress
option is working with--json
(#2276) (0595603)
4.3.0 (2020-12-25)
Bug Fixes
- fix problems with
--mode
and config resolution, there are situations when we resolve an invalid config file, the--mode
option does not affect on config resolution, if you faced with an error after updating, please use the--config
option - correct usage of cli-flags (#2205) (c8fc7d1)
- defer setting default mode to core (#2095) (3eb410e)
- respect the
--watch-options-stdin
option (2d1e001) - respect
--color
/--no-color
option (#2042) (09bd812) - stringify stats using streaming approach (#2190) (9bf4e92)
- use logger for error with proper exit code (#2076) (2c9069f)
- reduce spammy logs (#2206) (9b3cc28)
- respect the
infrastructureLogging.level
option (logger usesstderr
) (#2144) (7daccc7) - respect all options from command line for the
server
command help
andversion
output- respect
stats
from the config (webpack@4) (#2098) (2d6e5c6) - fixed colors work with multi compiler mode (webpack@4)
Features
- add
bundle
command (alias forwebpack [options]
) - add
pnpm
support for package installation (#2040) (46cba36)
4.2.0 (2020-11-04)
Bug Fixes
- --config-name behaviour for fuctional configs (#2006) (29ecf8d)
- assign cache value for default configs (#2013) (d2e3c74)
- callback deprecation (#1977) (2cb0c0e)
- handle core flags for webpack 4 (#2023) (ea66a7e)
- help and version functionality (#1972) (e8010b3)
Features
- export utils from core for other packages (#2011) (3004549)
- progress supports string argument (#2000) (f13346e)
- suggest the closest match based on the Levenshtein distance algorithm (#2010) (491a582)
4.1.0 (2020-10-19)
Bug Fixes
- avoid unnecessary stringify (#1920) (5ef1e7b)
- colored output (#1944) (2bbbb14)
- move init command to separate package (#1950) (92ad475)
- output stacktrace on errors (#1949) (9ba9d6f)
- run CLI after webpack installation (#1951) (564279e)
- support any config name (#1926) (6f95b26)
- support array of functions and promises (#1946) (2ace39b)
- watch mode and options (#1931) (258219a)
Features
4.0.0 (2020-10-10)
Bug Fixes
- add compilation lifecycle in watch instance (#1903) (02b6d21)
- cleanup
package-utils
package (#1822) (fd5b92b) - cli-executer supplies args further up (#1904) (097564a)
- exit code for validation errors (59f6303)
- exit process in case of schema errors (71e89b4)
Features
4.0.0-rc.1 (2020-10-06)
Bug Fixes
- cache issue (#1862) (305c188)
- check webpack installation before running cli (#1827) (be509fa)
- defer setting default entry to core (#1856) (5da1f81)
- log error if --config-name is used without multiple configs (#1874) (f653409)
- mode behaviour (#1824) (9e9c70b)
- only set output path on passing flag (#1855) (2f36b9d)
- show warning if bail and watch are used together (#1804) (6140b24)
- warning should not result in non-zero exit code (#1872) (ae9539d)
Features
4.0.0-beta.9 (2020-09-19)
Bug Fixes
- serve: merge CLI and devServer options correctly (#1649) (2cdf5ce)
- utils: respect package-lock.json (#1375) (ce8ec5a)
- webpack-cli: add configuration for mode option none (#1303) (a6930ac)
- webpack-cli: add value none in mode usage (#1411) (66ac5b2)
- webpack-cli: correct cli-flags usage (#1441) (fb3660d)
- webpack-cli: handle promise rejection with package installation (#1284) (eb1112e)
- webpack-cli: prefer import local (#1345) (1af3bef)
- webpack-cli: prefetch flag implementation (#1583) (d5d7682)
- webpack-cli: remove invalid stats warning with json flag (#1587) (1fe4674)
- 🐛 do not apply own defaults while setting mode (#1565) (4ca25bc)
- allow unknown files to use default require as fallback (#1747) (b071623)
- webpack-cli: verbose flag functionality (#1549) (e15d9cd)
- ci for webpack@beta.30 (#1801) (cb38d63)
- compatibility with webpack@next (#1779) (fc8c18d)
- consistent webpack plugin name (#1480) (145c552)
- json flag, enable tests (#1460) (d268e13)
- prevent info from running unnecessarily (#1650) (ddee5ad)
- promise support in config (#1666) (7489e63)
- rename sourcemap flag to devtool (#1723) (8623343)
- set mode=production by default (#1688) (8360df7)
- show version information for plugin and loader (#1661) (1ad71e4)
- webpack-cli: to void defaultEntry override the webpack config entry (#1289) (99ff047), closes #1288 #1288 #1288
- supply argv to config with functions (#1721) (2f05940)
- throw err when supplied config is absent (#1760) (86dfe51)
- throw error for invalid args (#1462) (25b3e04)
- typo in Compiler.js (#1580) (e1ccad4)
- use appropriate exit codes (#1755) (83f73b0)
- use compiler.apply for Progress Plugin (#1772) (e8f2f20)
- use fileTypes from interpret (#1690) (d8f028e)
- warn about merge config resolution cases (#1674) (bb5c7b0)
Code Refactoring
Features
- webpack-cli: --version for external packages (#1421) (756a8ff)
- webpack-cli: add --no-hot flag (#1591) (31fcaf3)
- webpack-cli: add --no-stats flag (#1654) (597eff7)
- webpack-cli: add alias for version (#1405) (6b9461e)
- webpack-cli: add mode argument validation (#1290) (e273303)
- allow multiple types for --stats (ca2d593)
- webpack-cli: add no-mode flag (#1276) (a069d73)
- 🎸 add support for env flag (#1598) (7249153)
- add --config-name flag (#1753) (d3ed19a)
- add aliases to all available commands (#1644) (9352027)
- add init to webpack-cli (#1609) (5f4f3ea)
- add name flag (#1757) (ad0779f)
- add stats detailed option (#1359) (3e649e9)
- webpack-cli: allow multiple entry files (#1619) (ac2e52c)
- add support for .cjs config (#1727) (55ab016)
- add support for merging multiple configurations (#1768) (b1e7024)
- add support for none config in dotfolder (#1637) (28526a6)
- add support to spawn multiple compilers with different configs (#1765) (c63ab29)
- allow multiple targets (#1799) (1724ddb)
- allow only specified negated flags (#1613) (885e0a2)
- allow using cjs as default config (#1775) (aaaa07b)
- parse Number flags (#1652) (b319c3a)
- webpack-cli: allow negative property for cli-flags (#1668) (e7b46c2)
- webpack-cli: import flags from webpack core (#1630) (f478cc9)
- webpack-cli: webpack stats (#1299) (0cbb270)
- serve integration (#1712) (d3e2936)
- show up cli flag aliases with webpack help (#1647) (d087c61)
- support command aliases with webpack-cli version (#1664) (a637801)
- support multiple env params (#1715) (d315443)
- validate user input (#1610) (3842a49)
Performance Improvements
BREAKING CHANGES
- 🧨 removed --plugin without any replacement
Co-authored-by: Anshuman Verma anshu.av97@gmail.com
- the
defaults
options was removed without replacement
4.0.0-beta.8 (2020-03-02)
Note: Version bump only for package webpack-cli
4.0.0-beta.7 (2020-02-29)
Bug Fixes
- webpack-cli: fixed support for SCSS entry points (#1271) (321bbe5)
- webpack-cli: handle promise rejection happening with cli-executor (#1269) (afe97f6)
Features
4.0.0-beta.6 (2020-02-23)
Note: Version bump only for package webpack-cli
4.0.0-beta.5 (2020-02-23)
Note: Version bump only for package webpack-cli
4.0.0-beta.4 (2020-02-23)
Features
- webpack-cli: add progress bar for progress flag (#1238) (06129a1)
- webpack-cli: added mode argument (#1253) (7a5b33d)
4.0.0-beta.2 (2020-02-11)
Features
- 0cjs for array configs (e233ed6)
- chore: refactor code to eliminate redundancy (12cf389)
- cli: add helper to check if arg is the command name or alias (28d303b)
- remove unneeded color (b4cd29f)
- cli: adds standard output flag (#1206) (b05e5eb)
- add codeowners file (1070038)
- add mjs support (5f38764)
- add-badge (751ae5a)
- always spawn a process for cli (#1198) (06171b3)
- better defaults, cleanup (1a467b6)
- create commands.js (2c0c221)
- drop extraneous block (fa3aa2b)
- env based config defaults (be28c78)
- help for commands (0feefb3)
- help for core flags (#1141) (8f92cb9), closes #1168
- merge ouputCommand into outputHelp (5ab0024)
- minor tweak (7c273dc)
- refactor (0505d05)
- refactor (002a785)
- refactor (ad7fe98)
- refactor (cb8968d)
- refactor (16c368f)
- refactor (07a2961)
- refactor (c991733)
- refactor (4858fde)
- refactor (2b1ea4c)
- refactor (dee2884)
- refactor group-helper (807bcb4)
- refactor groups-config (4bf86bc)
- refactor groups-config (00acc50)
- refactor logic (3efe4bb)
- refactor test-utils (d4873ad)
- Support
export default
from configuration files. (0f23d03) - support array-configs (fa9d5c2)
- support array-configs (76ced4a)
- support negated flags (239a67e)
- interpret: use interpret (31c856f)
- tweak (79021e3)
- update notify period (0d83e49)
- init: add as req dep (fec5b25)
- update outputCommand (4f19ad4)
- cli: make serve use webpack cli compiler (ab862d2)
- defaults: set entry obj defaults and add default flag (4608167)
- init: write file correct, better defaults and write babelrc file (3814d44)
- serve: add all flags, improve args parsing (46ca4de)
- serve: pass socket or port if no socket (4668ea7)
- silent: add new flag (fcdc3f4)
- Update README.md (b3dc27e)
- use jspluginswebpack (da8fce2)
Bug Fixes
- various tests are now working (#1168) (287d8ee)
- array to object check (2398249)
- badge url placement (8d33d15)
- changed the path resolver call (0080ce2)
- config lookup (762e3b9)
- correct jscodeshift import (0c67103)
- enable colors in ci (7c9e0df)
- extend notify period (aff8352)
- grammar within comment (d482677)
- ignore failing test case (c643626)
- ignore failing tests (444355a)
- improve local configRegister file resolution (32cc513), closes #746
- make init reolve linked packges (#1006) (187045a)
- minor fix (0d9aa9a)
- cli: await external command execution, fix lint (ce8f284)
- cli: missing package, fixed function call (4ee4d41)
- create: add default sw in create template (#1153) (edf65c2), closes #1152 #1152 #1152
- create: handle create package errors gracefully (#1159) (aa6d82b), closes #1151 #1151 #1151 #1151
- deps: add missing cz-customizable dep to allow committing (68b1bbe), closes #1040
- info: minor fix in the info function (7a5cc51)
- init: check defaults more precisely (51831c7)
- use includes instead (76671cb)
- init: fixed package template to include name param (#1203) (83c0056)
- minor refactor (a30a027)
- minor tweak (d21d6d3)
- minor typo (85d1a7c)
- plugin val (b835e71)
- promise configurations (ae3ec9b)
- refactor redundant code (c7b77a0)
- remove else block (2b36987)
- remove extra ternary operator (115709e)
- remove failing test case (e3e46b6)
- remove for now the default value of the target (#1171) (2d56f79)
- Remove redundant await (6910877)
- remove unused variable (b5510d8)
- rephrase comment (e11c1c8)
- revert (b51df6a)
- revert (75f56c5)
- revert (f44d8a5)
- spread args to mono-repo (7499dd3)
- tweak (b5add43)
- tweak (d74efde)
- typo (10618de)
- typo fix (dc3a5e6)
- update badge url (0b1bbd7)
- update comments (7553ae7)
- Use ES6 object initializer shorthand (f4cf9b1)
- use webpack-log (9bfb79c)
- warn on unknown, plugin (ae725c8)
- serve: add flag to ext-dep list (1277cc9)
- warnings on lint (b402179)
- warnings on lint (76db13c)
- init: fixes config resolution on generating new configuration (44fa20c)
- progress: make boolean (49bc0a4)
- serve: add newline at helper end (25071ce)
- serve: disable for now (fcf6e3e)
- serve: fix gitignore, fix lint problems (18636c3)
- serve: handle serve args as an array (#1174) (8aa1b7d)
- serve: relative imports (1d9c2bc)
Chores
- actions: add webpack version (#1150) (c1e8fdf)
- bootstrap: refactor code (#1037) (0bc9081)
- ci: remove node 8 from the CI (#1182) (dae9982)
- ci: update webpack installation (#1170) (25a2c6b)
- cli: better group handling (#1204) (5e9639f)
- cli: fix helper to use includes for dashed flag stripping (9da9db4)
- cli: fix var name to make more sense (1e10979)
- cli: it restores inquirer for prompting external commands (#1201) (70c04ea)
- cli: show help when invalid flag is supplied (#1051) (6663e94), closes #1046 #1046
- cli: updated package lock (f6381d1)
- compiler: refactor emoji rendering in compiler (012382c)
- deps: bump eslint-utils from 1.4.0 to 1.4.2 (#1068) (1f73911)
- deps: bump handlebars from 4.1.2 to 4.7.2 in /packages/migrate (#1180) (5f37086)
- deps: bump handlebars from 4.1.2 to 4.7.2 in /packages/utils (#1181) (f2972e5)
- deps: bump lodash from 4.17.11 to 4.17.15 in /packages/init (95146fe)
- deps: bump lodash from 4.17.11 to 4.17.15 in /packages/serve (d1ad9f3)
- deps: bump lodash from 4.17.11 to 4.17.15 in /packages/serve (b3d7013)
- deps: bump lodash from 4.17.11 to 4.17.15 in /packages/utils (7fe5fd4)
- deps: bump lodash in /packages/generate-loader (87f9e9b)
- deps: bump lodash in /packages/generate-plugin (a8ecb31)
- deps: bump lodash in /packages/webpack-scaffold (29de664)
- deps: update deps and remove old type (5af7e7a)
- deps: update sec vuln patches (d2c6228)
- grammer: changes depracated to removed (732a80a)
- help: refactor help for more cleaner code (94a1ce0)
- info: changes base (a58c286)
- init: upgrade yeoman in generators/utils, slight generator error handling changes (#1205) (0255657)
- lib: refactored lib utils and groups (#1140) (237887b)
- lint: auto linting (8668783)
- linting: renable linting (1e596d3)
- readme: change of language (41ee8ca)
- ref: fix code (d213809)
- refactor: rm logs (e7a64d6)
- register: remove register in favor for logging (da29064)
- serve: allow js in serve package (7e38b31)
- serve: made dev server optional peer dep (f580b8f)
- serve: make dev server peer dep again (6237d6c)
- serve: move dev server back to normal dependencies (c2bf27d)
- serve: refactor code to be more concise (d2e3e80)
- serve: remove allowjs from tsconfig (3c92b0a)
- serve: remove dev server as an optional peer dep in favor of normal dep (305a1dd)
- serve: remove promise return from serve package (#1091) (2144a1b)
- serve: update package lock (1ddcf4a)
- serve: updated dev server and fixed newline problem (b29ec8f)
- serve: use cli flags from dev server package (9b385f9)
- utils: fixes typo in scaffold (bd5c1ce)
- changed the split seperator (078a1e4)
- add deps (b19b233)
- add deps (5b6cd4b)
- add flags for commands (f1eb2b7)
- add footer for consistency (d22734c)
- add links to cli flags info (#1178) (dcec3ae)
- add more detailed test (e02eac4)
- add strict checks (3edee26)
- add v3 as a tmp dep for dev-server (425c590)
- Added test case for providing unknown flags along with -… (#1197) (f25c557)
- added test for --json simple usecases (aa5197b)
- added tests with different config type (3a84813)
- better output (#1196) (d72f9f8)
- bump webpack v (e1a3410)
- change arg in testutil (11447ee)
- change arg in testutil (0005910)
- changed the .bin to bin in entry test (a4f735a)
- changed the outDir to entry test (016db0c)
- check for existing arr (b46efe6)
- expression (bd6b787)
- expression func (ccbb7f2)
- expression func (ce968e4)
- expression func (721914b)
- fix sec issues (6f8dd13)
- include comments (941da90)
- make src more readable (2d10684)
- Minor code refactor adhering to ES6 semantics (#1122) (aed9b9e)
- minor code refactoring (#1105) (a43940d)
- minor code refactors (517e756)
- Minor typographical fixes (#1183) (a0ac134)
- monorepo version update (8097c5c)
- move away from var (ed3e868)
- moved logger inside a module instead of having it inside the process (#1179) (e7cc639)
- only output message on error (90868f2)
- pre-release (4ca0de0)
- pre-release (f64e37c)
- prevent weird behaviour of pre-commit hook (#973) (ba471f8)
- readd deps and fix linting (82407e5)
- rebase (652caf8)
- rebase (38524ec)
- rebase (79137d0)
- rebase (2cd4e65)
- rebase (8141e0e)
- rebase (b5fcf78)
- rebase against next branch (3812ea1)
- refactor webpack-cli (8a8bc72)
- remove debug flag (d79cc45)
- remove disable line (88df722)
- remove old tests (b131230)
- Remove redundant multiple property (ecf4a38)
- removed the single depth folder search in gitignore (3a3fb81)
- removed the snapshot testing, added custom checks (6e40a1b)
- rename flags to options (ff532f4)
- sec patch (2f818ef)
- sec patches (020b1bf)
- set fallback devtool (080c44c)
- update commands (bf32074)
- update console logs to webpack-logs (dc4c89c)
- update dependences (0f8a7f7)
- update dependences (915c9f3), closes #1148
- update deps (02d653f)
- update deps (8b75e1c)
- update lockfiles (f8ed0c6)
- utils: move jest to dev-deps (closes #1190) (#1194) (fb6e3fe)
- Update lib/bootstrap.js (fa658b8)
- update lockfiles (44df902)
- update lockfiles (6b5ed74)
- update terser-webpack-plugin to the latest version (#1172) (9222016)
- update test statements (48f1cb5)
- update to webpack v5 (e59bcd7)
- update variable to be understandable (9792c81)
- use filter instead (c71a9f0)
- use Object.keys in commands (51af1e1)
- use webpack next (2030f69)
- wip (641064a)
Documentation
- remove deprecated packages description (#979) (49e4adc)
- create: migrate init package docs (#1155) (a9940bd)
- readme: adds deprecated warning and commands (da13744)
- readme: adds issue resolution time shield (6cd4cb4)
- webpack-scaffold: remove unrelated links (#1092) (9f5d8b6)
- Updated information regarding migrate command and a typo fix (#1187) (861e9f8)