Skip to content

First release of CLI 7

Pre-release
Pre-release
Compare
Choose a tag to compare
@alexeagle alexeagle released this 06 Sep 21:57

Major features:

  • Schematics can interactively prompt the user
  • upgrade to Node 10 (Node 8 minimum)
  • upgrade to Angular 7
  • upgrade to TypeScript 3

Commits

@angular/cli (7.0.0-beta.2)

Commit Description Notes
only add options if theres only one builder configuration
add long description and suboption option type
only print options once for schematic --help
add options in help for architect commands
add --helpJson (or --help-json) too all commands
remove yargs-parser and implement parsing
properly type config command value option
correct update command packages option type
initialize a console prompt provider for schematics
allow schematic command to specify the default colletion.

@schematics/angular (0.9.0-beta.2)

Commit Description Notes
fix path for `ngswConfigPath` during migration
app shell schematic does not use production configuration
add several prompts to ng-new
let Universal schematic use configurations from build architect
add CLI 7.x migration schematic
better error message when finding only routing modules (#11994) [Closes #11961]
remove useless import for Ivy (#11874)

@angular-devkit/architect (0.9.0-beta.2)

Commit Description Notes
explicitly type functions

@angular-devkit/build-angular (0.9.0-beta.2)

Commit Description Notes
set the proper type to `fileReplacements` [Closes #11294]
add `ignore` option to `assets` object [Closes #11850]
add `ignore` option to `assets` object [Closes #11850]
remove workaround for uglify-es (#12033) [Closes #issuecomment-416514015]
remove inlining of assets in css (#12027)
improve bundle size value parsing (#12026) [Closes #12013]
only collect coverage from files under `sourceRoot` (#11974) [Closes #11934]
fixes cors issues with karma (#11970) [Closes #11970]
[Closes #11966]
exclude `.map` files from budget … (#12012) [Closes #11999]
use terser instead of uglify-es (#11996) [Closes #9340]
load style source maps inline so they work (#11729) [Closes #9099]

@angular-devkit/build-optimizer (0.9.0-beta.2)

Commit Description Notes
update `typescript` dependency to `3.0.x`
correctly identify renamed enums
remove constructor __param

@angular-devkit/core (0.9.0-beta.2)

Commit Description Notes
use architect key only if it exists
remove addUndefinedDefaults as default post transform
add a parseJsonFile that shows file path on error
add levenshtein distance utility
move findTypes in utility and export
make workspace projects field not required
correctly resolve schema references
initial prompt provider json schema support
make smart default work with default/required

@angular-devkit/schematics (0.9.0-beta.2)

Commit Description Notes
fix `generate` mangling files containing wide characters [Closes #7851]
[Closes #7950]
throw `InvalidCollectionJsonException` when collection file is invalid [Closes #11818]
fix task executor on Windows
allow schematic rules to control interactivity

@angular/pwa (0.9.0-beta.2)

Commit Description Notes
support customized workspace configurations with add

@ngtools/webpack (7.0.0-beta.2)

Commit Description Notes
add `typescript` version `3.0.x` as a peer dependency

Special Thanks

Hans Larsen, Alan Agius, Charles Lyding, Filipe Silva, Alex Eagle, Sebastian Häni, Bram Borggreve, Jan Kuri, Adrian Moos, Cédric Exbrayat, Dmitry Teplov, ajspera, Yi Qi, Eaton