Releases: angular/angular-cli
Releases · angular/angular-cli
v11.2.13
Commits
@angular-devkit/build-angular (0.1102.13) | ||
Commit | Description | Notes |
|
update cssnano/postcss to fix optimization defects |
[Closes #20673] |
|
update dependency resolve-url-loader to v4 |
[Closes #20733] |
@schematics/angular (11.2.13) | ||
Commit | Description | Notes |
|
pin `karma-jasmine-html-reporter` to patches in new projects |
[Closes #20719] |
Special Thanks
Alan Agius, Charles Lyding, Keen Yee Liau
v12.0.0-rc.3
Commits
Special Thanks
Alan Agius, Charles Lyding, Joey Perrott
v12.0.0-rc.2
Commits
@angular-devkit/build-angular (12.0.0-rc.2) | ||
Commit | Description | Notes |
|
disable CSS declaration sorting optimizations |
[Closes #20693] |
@angular/cli (12.0.0-rc.2) | ||
Commit | Description | Notes |
|
don't display options multiple times in schematics help output | |
|
change package installation to async | |
|
infer schematic defaults correctly when using `--project` |
[Closes #20666] |
@ngtools/webpack (12.0.0-rc.2) | ||
Commit | Description | Notes |
|
rebuild Angular required files asynchronously | |
|
reduce source file and Webpack module iteration | |
@schematics/angular (12.0.0-rc.2) | ||
Commit | Description | Notes |
|
add "type" option in enum schematic | |
|
only run `emitDecoratorMetadata` removal migration in safe workspaces | |
|
replace `clientProject` with `project` | |
Special Thanks
Alan Agius, Charles Lyding, Keen Yee Liau, Sam Bulatov, Doug Parker
v11.2.12
Commits
@angular-devkit/build-angular (0.1102.12) | ||
Commit | Description | Notes |
|
disable CSS declaration sorting optimizations |
[Closes #20693] |
Special Thanks
Keen Yee Liau, Alan Agius, Doug Parker
v12.0.0-rc.1
Commits
@angular-devkit/build-angular (12.0.0-rc.1) | ||
Commit | Description | Notes |
|
remove left-over `forkTypeChecker` option | |
|
output webpack-dev-server and webpack-dev-middleware errors | |
|
improve incremental time during Karma tests | |
|
avoid async downlevel for known ES2015 code | |
@angular-devkit/core (12.0.0-rc.1) | ||
Commit | Description | Notes |
|
improve handling of set schema values |
[Closes #20594] |
@angular/cli (12.0.0-rc.1) | ||
Commit | Description | Notes |
|
add package manager name and version in `ng version` output | |
|
Support XDG Base Directory Specfication | |
@schematics/angular (12.0.0-rc.1) | ||
Commit | Description | Notes |
|
remove jasmine-spec-reporter and ts-node from default workspace | |
|
remove Protractor from home page | |
|
remove lint command from package.json |
[Closes #20618] |
|
avoid unuse imports for canLoad guard generation | |
|
fix migration for namedChunks and option | |
@angular-devkit/schematics-cli (12.0.0-rc.1) | ||
Commit | Description | Notes |
|
accept windows like paths for schematics | |
Special Thanks
Alan Agius, Charles Lyding, Joey Perrott, Cédric Exbrayat, Doug Parker, Joshua Chapman, Billy Lando, Santosh Yadav, mzocateli
v11.2.11
Commits
@angular-devkit/build-angular (0.1102.11) | ||
Commit | Description | Notes |
|
output webpack-dev-server and webpack-dev-middleware errors | |
|
update CSSNano and PostCSS to fix serveral security issues |
[Closes #20606] |
@schematics/angular (11.2.11) | ||
Commit | Description | Notes |
|
avoid unuse imports for canLoad guard generation | |
@angular-devkit/schematics-cli (0.1102.11) | ||
Commit | Description | Notes |
|
accept windows like paths for schematics | |
Special Thanks
Joey Perrott, Charles Lyding, Alan Agius, Doug Parker, Billy Lando, mzocateli
v12.0.0-rc.0
Commits
Breaking Changes
@schematics/angular: remove `stylus` from `style` options (fd729ac)
`styl` (Stylus) is no longer a supported value as `style` in `application`, `component`, `ng-new` schematics. Stylus is not actively maintained and only 0.3% of the Angular CLI users use it.(cherry picked from commit 0272fc5)
@angular-devkit/build-angular: change several builder options defaults (656f8d7)
A number of browser and server builder options have had their default values changed. The aim of these changes is to reduce the configuration complexity and support the new "production builds by default" initiative.Browser builder
Option | Previous default value | New default value |
---|---|---|
optimization | false | true |
aot | false | true |
buildOptimizer | false | true |
sourceMap | true | false |
extractLicenses | false | true |
namedChunks | true | false |
vendorChunk | true | false |
Server builder
Option | Previous default value | New default value |
---|---|---|
optimization | false | true |
sourceMap | true | false |
(cherry picked from commit 0a74d0d)
Special Thanks
Alan Agius, Charles Lyding, Keen Yee Liau, Joey Perrott, David Shevitz
v11.2.10
v12.0.0-next.9
Commits
Breaking Changes
@angular-devkit/core: update schema validator (0875313)
support for JSON Schema draft-04 and draft-06 is removed. If you have schemas using the `id` keyword replace them with `$id`. For an interim period we will auto rename any top level `id` keyword to `$id`.NB: This change only effects schematics and builders authors.
@angular-devkit/build-angular: upgrade to Webpack 5 throughout the build system (d883ce5)
Webpack 5 generates similar but differently named files for lazy loaded JavaScript files in development configurations (when the `namedChunks` option is enabled). For the majority of users this change should have no effect on the application and/or build process. Production builds should also not be affected as the `namedChunks` option is disabled by default in production configurations. However, if a project's post-build process makes assumptions as to the file names then adjustments may need to be made to account for the new naming paradigm. Such post-build processes could include custom file transformations after the build, integration into service-side frameworks, or deployment procedures. Example development file name change: `lazy-lazy-module.js` --> `src_app_lazy_lazy_module_ts.js`@angular-devkit/build-angular: upgrade to Webpack 5 throughout the build system (d883ce5)
Webpack 5 now includes web worker support. However, the structure of the URL within the `Worker` constructor must be in a specific format that differs from the current requirement. Web worker usage should be updated as shown below (where `./app.worker` should be replaced with the actual worker name):Before:
new Worker('./app.worker', ...)
After:
new Worker(new URL('./app.worker', import.meta.url), ...)
Special Thanks
Alan Agius, Charles Lyding, Keen Yee Liau, Doug Parker, Douglas Parker