|
| 1 | +<a name="4.0.0-beta.9"></a> |
| 2 | + |
| 3 | +# 4.0.0-beta.9 (2020-09-19) |
| 4 | + |
| 5 | +[Full Changelog](https://github.com/webpack/webpack-cli/compare/v4.0.0-beta.2...v4.0.0-beta.9) |
| 6 | + |
| 7 | +## New Features |
| 8 | + |
| 9 | +- add aliases to all available commands ([#1644](https://github.com/webpack/webpack-cli/pull/1644)) |
| 10 | +- generate changelog and copy old CHANGEFILE ([#1805](https://github.com/webpack/webpack-cli/pull/1805)) |
| 11 | +- allow using cjs as default config ([#1775](https://github.com/webpack/webpack-cli/pull/1775)) |
| 12 | +- add support for merging multiple configurations ([#1768](https://github.com/webpack/webpack-cli/pull/1768)) |
| 13 | +- add support to spawn multiple compilers with different configs ([#1765](https://github.com/webpack/webpack-cli/pull/1765)) |
| 14 | +- add name flag ([#1757](https://github.com/webpack/webpack-cli/pull/1757)) |
| 15 | +- add --config-name flag ([#1753](https://github.com/webpack/webpack-cli/pull/1753)) |
| 16 | +- serve integration ([#1712](https://github.com/webpack/webpack-cli/pull/1712)) |
| 17 | +- add support for .cjs config ([#1727](https://github.com/webpack/webpack-cli/pull/1727)) |
| 18 | +- support multiple env params ([#1715](https://github.com/webpack/webpack-cli/pull/1715)) |
| 19 | +- add stats detailed option ([#1359](https://github.com/webpack/webpack-cli/pull/1359)) |
| 20 | +- add flag to force config ([f61e7e0](https://github.com/webpack/webpack-cli/commit/f61e7e0)) |
| 21 | +- support command aliases with webpack-cli version ([#1664](https://github.com/webpack/webpack-cli/pull/1664)) |
| 22 | +- add support for none config in dotfolder ([#1637](https://github.com/webpack/webpack-cli/pull/1637)) |
| 23 | +- validate user input ([#1610](https://github.com/webpack/webpack-cli/pull/1610)) |
| 24 | +- parse Number flags ([#1652](https://github.com/webpack/webpack-cli/pull/1652)) |
| 25 | +- allow multiple types for --stats ([ca2d593](https://github.com/webpack/webpack-cli/commit/ca2d593)) |
| 26 | +- show up cli flag aliases with webpack help <arg> ([#1647](https://github.com/webpack/webpack-cli/pull/1647)) |
| 27 | +- allow multiple targets ([#1799](https://github.com/webpack/webpack-cli/pull/1799)) |
| 28 | +- 🎸 add support for env flag ([#1598](https://github.com/webpack/webpack-cli/pull/1598)) |
| 29 | +- allow only specified negated flags ([#1613](https://github.com/webpack/webpack-cli/pull/1613)) |
| 30 | +- add init to webpack-cli ([#1609](https://github.com/webpack/webpack-cli/pull/1609)) |
| 31 | +- webpack-cli: webpack stats ([#1299](https://github.com/webpack/webpack-cli/pull/1299)) |
| 32 | +- test case for passing in unknown flags ([#1214](https://github.com/webpack/webpack-cli/pull/1214)) |
| 33 | +- webpack-cli: add mode argument validation ([#1290](https://github.com/webpack/webpack-cli/pull/1290)) |
| 34 | +- webpack-cli: add --no-stats flag ([#1654](https://github.com/webpack/webpack-cli/pull/1654)) |
| 35 | +- webpack-cli: --version for external packages ([#1421](https://github.com/webpack/webpack-cli/pull/1421)) |
| 36 | +- webpack-cli: add alias for version ([#1405](https://github.com/webpack/webpack-cli/pull/1405)) |
| 37 | +- webpack-cli: import flags from webpack core ([#1630](https://github.com/webpack/webpack-cli/pull/1630)) |
| 38 | +- webpack-cli: allow multiple entry files ([#1619](https://github.com/webpack/webpack-cli/pull/1619)) |
| 39 | +- webpack-cli: allow negative property for cli-flags ([#1668](https://github.com/webpack/webpack-cli/pull/1668)) |
| 40 | +- webpack-cli: add no-mode flag ([#1276](https://github.com/webpack/webpack-cli/pull/1276)) |
| 41 | +- webpack-cli: create a cli executer ([#1255](https://github.com/webpack/webpack-cli/pull/1255)) |
| 42 | +- webpack-cli: added mode argument ([#1253](https://github.com/webpack/webpack-cli/pull/1253)) |
| 43 | +- webpack-cli: add progress bar for progress flag ([#1238](https://github.com/webpack/webpack-cli/pull/1238)) |
| 44 | +- webpack-cli: add --no-hot flag ([#1591](https://github.com/webpack/webpack-cli/pull/1591)) |
| 45 | + |
| 46 | +## Fix |
| 47 | + |
| 48 | +- webpack-cli: verbose flag functionality ([#1549](https://github.com/webpack/webpack-cli/pull/1549)) |
| 49 | +- ci for [email protected] ( [#1801](https://github.com/webpack/webpack-cli/pull/1801)) |
| 50 | +- use compiler.apply for Progress Plugin ([#1772](https://github.com/webpack/webpack-cli/pull/1772)) |
| 51 | +- remove yes ([279c43f](https://github.com/webpack/webpack-cli/commit/279c43f)) |
| 52 | +- throw err when supplied config is absent ([#1760](https://github.com/webpack/webpack-cli/pull/1760)) |
| 53 | +- allow unknown files to use default require as fallback ([#1747](https://github.com/webpack/webpack-cli/pull/1747)) |
| 54 | +- use appropriate exit codes ([#1755](https://github.com/webpack/webpack-cli/pull/1755)) |
| 55 | +- peer dependencies for `webpack serve` ([#1317](https://github.com/webpack/webpack-cli/pull/1317)) |
| 56 | +- yarn.lock conflicts on setup ([#1367](https://github.com/webpack/webpack-cli/pull/1367)) |
| 57 | +- conditionally install terser-webpack-plugin for webpack@next ([#1732](https://github.com/webpack/webpack-cli/pull/1732)) |
| 58 | +- generated loader template ([#1720](https://github.com/webpack/webpack-cli/pull/1720)) |
| 59 | +- supply argv to config with functions ([#1721](https://github.com/webpack/webpack-cli/pull/1721)) |
| 60 | +- rename sourcemap flag to devtool ([#1723](https://github.com/webpack/webpack-cli/pull/1723)) |
| 61 | +- generated plugin template ([#1717](https://github.com/webpack/webpack-cli/pull/1717)) |
| 62 | +- warn about merge config resolution cases ([#1674](https://github.com/webpack/webpack-cli/pull/1674)) |
| 63 | +- use fileTypes from interpret ([#1690](https://github.com/webpack/webpack-cli/pull/1690)) |
| 64 | +- set mode=production by default ([#1688](https://github.com/webpack/webpack-cli/pull/1688)) |
| 65 | +- promise support in config ([#1666](https://github.com/webpack/webpack-cli/pull/1666)) |
| 66 | +- show version information for plugin and loader ([#1661](https://github.com/webpack/webpack-cli/pull/1661)) |
| 67 | +- prevent info from running unnecessarily ([#1650](https://github.com/webpack/webpack-cli/pull/1650)) |
| 68 | +- json flag, enable tests ([#1460](https://github.com/webpack/webpack-cli/pull/1460)) |
| 69 | +- consistent webpack plugin name ([#1480](https://github.com/webpack/webpack-cli/pull/1480)) |
| 70 | +- typo in Compiler.js ([#1580](https://github.com/webpack/webpack-cli/pull/1580)) |
| 71 | +- 🐛 do not apply own defaults while setting mode ([#1565](https://github.com/webpack/webpack-cli/pull/1565)) |
| 72 | +- compatibility with webpack@next ([#1779](https://github.com/webpack/webpack-cli/pull/1779)) |
| 73 | +- throw error for invalid args ([#1462](https://github.com/webpack/webpack-cli/pull/1462)) |
| 74 | +- regression with migrate command ([7ebcbb8](https://github.com/webpack/webpack-cli/commit/7ebcbb8)) |
| 75 | +- generators: fix generators init loader's test regex ([#1309](https://github.com/webpack/webpack-cli/pull/1309)) |
| 76 | +- release beta ([f1f05d8](https://github.com/webpack/webpack-cli/commit/f1f05d8)) |
| 77 | +- cli: fix file resolution inside group helper ([#1221](https://github.com/webpack/webpack-cli/pull/1221)) |
| 78 | +- generators: fix and refactor entry util, add tests ([#1392](https://github.com/webpack/webpack-cli/pull/1392)) |
| 79 | +- generators: fix small issues with generators ([#1385](https://github.com/webpack/webpack-cli/pull/1385)) |
| 80 | +- info: throw an error if help or version is passed as an arg ([#1737](https://github.com/webpack/webpack-cli/pull/1737)) |
| 81 | +- init: fix the invalid package name ([#1228](https://github.com/webpack/webpack-cli/pull/1228)) |
| 82 | +- init: fix webpack config scaffold ([#1231](https://github.com/webpack/webpack-cli/pull/1231)) |
| 83 | +- packages: make packages have correct main paths to index ([#1366](https://github.com/webpack/webpack-cli/pull/1366)) |
| 84 | +- serve: merge CLI and devServer options correctly ([#1649](https://github.com/webpack/webpack-cli/pull/1649)) |
| 85 | +- serve: supplying help or version as an arg should throw error ([#1694](https://github.com/webpack/webpack-cli/pull/1694)) |
| 86 | +- utils: respect package-lock.json ([#1375](https://github.com/webpack/webpack-cli/pull/1375)) |
| 87 | +- webpack-cli: to void defaultEntry override the webpack config entry ([#1289](https://github.com/webpack/webpack-cli/pull/1289)) |
| 88 | +- webpack-cli: add configuration for mode option none ([#1303](https://github.com/webpack/webpack-cli/pull/1303)) |
| 89 | +- webpack-cli: handle promise rejection with package installation ([#1284](https://github.com/webpack/webpack-cli/pull/1284)) |
| 90 | +- webpack-cli: correct cli-flags usage ([#1441](https://github.com/webpack/webpack-cli/pull/1441)) |
| 91 | +- webpack-cli: fixed support for SCSS entry points ([#1271](https://github.com/webpack/webpack-cli/pull/1271)) |
| 92 | +- webpack-cli: handle promise rejection happening with cli-executor ([#1269](https://github.com/webpack/webpack-cli/pull/1269)) |
| 93 | +- webpack-cli: prefer import local ([#1345](https://github.com/webpack/webpack-cli/pull/1345)) |
| 94 | +- webpack-cli: remove invalid stats warning with json flag ([#1587](https://github.com/webpack/webpack-cli/pull/1587)) |
| 95 | +- webpack-cli: add value none in mode usage ([#1411](https://github.com/webpack/webpack-cli/pull/1411)) |
| 96 | +- webpack-cli: prefetch flag implementation ([#1583](https://github.com/webpack/webpack-cli/pull/1583)) |
| 97 | + |
| 98 | +## Perf |
| 99 | + |
| 100 | +- do not spawn new process for running webpack ([#1741](https://github.com/webpack/webpack-cli/pull/1741)) |
| 101 | + |
| 102 | +## Refactor |
| 103 | + |
| 104 | +- remove --dev and --prod flags ([#1693](https://github.com/webpack/webpack-cli/pull/1693)) |
| 105 | +- remove duplicate invocation ([#1790](https://github.com/webpack/webpack-cli/pull/1790)) |
| 106 | +- cliExecuter consumes runCLI ([#1754](https://github.com/webpack/webpack-cli/pull/1754)) |
| 107 | +- remove --mode flag validation ([#1744](https://github.com/webpack/webpack-cli/pull/1744)) |
| 108 | +- use console for logging ([#1740](https://github.com/webpack/webpack-cli/pull/1740)) |
| 109 | +- use logger ([#1748](https://github.com/webpack/webpack-cli/pull/1748)) |
| 110 | +- remove stale code ([#1670](https://github.com/webpack/webpack-cli/pull/1670)) |
| 111 | +- remove plugin flag ([#1571](https://github.com/webpack/webpack-cli/pull/1571)) |
| 112 | +- 💡 remove defaults flag ([#1543](https://github.com/webpack/webpack-cli/pull/1543)) |
| 113 | +- refactor info package ([#1382](https://github.com/webpack/webpack-cli/pull/1382)) |
| 114 | +- webpack-cli: remove --no-mode flag ([#1503](https://github.com/webpack/webpack-cli/pull/1503)) |
| 115 | + |
| 116 | +## Misc |
| 117 | + |
| 118 | +- feat[utils]: opt to use config schema from core ([#1655](https://github.com/webpack/webpack-cli/pull/1655)) |
| 119 | +- migrate to commander ([#1481](https://github.com/webpack/webpack-cli/pull/1481)) |
| 120 | +- Fix loader-generator and plugin-generator tests ([#1250](https://github.com/webpack/webpack-cli/pull/1250)) |
| 121 | +- Fixing the typos and grammatical errors in Readme files ([#1246](https://github.com/webpack/webpack-cli/pull/1246)) |
| 122 | +- remove code: remove unused code ([#1800](https://github.com/webpack/webpack-cli/pull/1800)) |
| 123 | + |
1 | 124 | <a name="3.3.12"></a>
|
2 | 125 |
|
3 | 126 | # 3.3.12 (2020-06-03)
|
|
0 commit comments