You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
classlist.js and web-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. Configure cli.cache in the workspace configuration instead.
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. Configure cli.cache in the workspace configuration instead.
@schematics/angular
Commit
Description
add /.angular/cache to .gitignore
drop polyfills required only for Internet Explorer now that support has been dropped for it
don't add destroyAfterEach in newly generated spec files
@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
Commit
Description
disable critical CSS inlining by default
enable disk cache by default and provide configurable options
enable custom es2020 and es2015 conditional exports
improve fidelity and performance of babel loader sourcemaps
@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
With this change a number of deprecated dev-server builder options which proxied to the browser builder have been removed. These options should be configured in the browser builder instead.
The removed options are:
aot
sourceMap
deployUrl
baseHref
vendorChunk
commonChunk
optimization
progress
@angular/cli
Commit
Description
keep relative migration paths during update analysis
Applications directly using the webpack-cli and not the Angular CLI to build must set the environment variable DISABLE_V8_COMPILE_CACHE=1. The @ngtools/webpack package now uses dynamic imports to provide support for the ESM @angular/compiler-cli package. The v8-compile-cache package used by the webpack-cli does not currently support dynamic import expressions and will cause builds to fail if the environment variable is not specified. Applications using the Angular CLI are not affected by this limitation.