13.0.0-next.9 (2021-10-06)
Breaking Changes
@schematics/angular
classlist.js
andweb-animations-js
are removed from application polyfills and uninstalled from the package. These were only needed for compatibility with Internet Explorer, which is no longer needed now that Angular only supports evergreen browsers. See: https://angular.io/guide/browser-support.
Add the following to the polyfills file for an app to re-add these packages:
import 'classlist.js';
import 'web-animations-js';
And then run:
npm install classlist.js web-animations-js --save
@angular-devkit/build-angular
-
Inlining of critical CSS is no longer enable by default. Users already on Angular CLI version 12 and have not opted-out from using this feature are encouraged to opt-in using the browser builder
inlineCritical
option. -
NG_PERSISTENT_BUILD_CACHE
environment variable option no longer have effect. Configurecli.cache
in the workspace configuration instead.
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"cli": {
"cache": {
"enabled": true,
"path": ".custom-cache-path",
"environment": "all"
}
}
...
}
Deprecations
@angular-devkit/build-optimizer
It's functionality has been included in @angular-devkit/build-angular
so this package is no longer needed by the CLI and we will stop publishing the package soon. It has been an experimental (never hit 1.0.0
) and internal (only used by Angular itself) package and should be not be used directly by others.
@angular-devkit/build-angular
NG_BUILD_CACHE
environment variable option will be removed in the next major version. Configurecli.cache
in the workspace configuration instead.
@schematics/angular
@angular/cli
Commit | Description |
---|---|
officially support Node.js v16 | |
update the update command to fully support Node.js v16 |
Commit | Description |
---|---|
mark @angular-devkit/build-optimizer as deprecated.
|
@angular-devkit/architect
Commit | Description |
---|---|
include workspace extensions in project metadata |
@angular-devkit/build-angular
@angular-devkit/core
Commit | Description |
---|---|
support Node.js v16 with NodeJsSyncHost /NodeJsAsyncHost delete operation
|
Special Thanks
Alan Agius, Charles Lyding, Doug Parker and Joey Perrott