yarn @angular/cli 13.0.0-next.9
v13.0.0-next.9

latest releases: 19.0.0-rc.1, 19.0.0-rc.0, 18.2.11...
3 years ago

13.0.0-next.9 (2021-10-06)

Breaking Changes

@schematics/angular

  • 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.

{
  "$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. Configure cli.cache in the workspace configuration instead.

@schematics/angular

Commit Description
feat - 7ff8c5350 add /.angular/cache to .gitignore
feat - eac18aed7 drop polyfills required only for Internet Explorer now that support has been dropped for it
fix - 585adacd0 don't add destroyAfterEach in newly generated spec files

@angular/cli

Commit Description
feat - 9fe55752d officially support Node.js v16
fix - d8c9f6eaf update the update command to fully support Node.js v16

Commit Description
docs - 5e435ff37 mark @angular-devkit/build-optimizer as deprecated.

@angular-devkit/architect

Commit Description
feat - 09e039500 include workspace extensions in project metadata

@angular-devkit/build-angular

Commit Description
feat - bf0709b14 disable critical CSS inlining by default
feat - 5904afd1d enable disk cache by default and provide configurable options
fix - d7af4a7b5 enable custom es2020 and es2015 conditional exports
fix - f10a82833 improve fidelity and performance of babel loader sourcemaps

@angular-devkit/core

Commit Description
fix - a54e5e065 support Node.js v16 with NodeJsSyncHost/NodeJsAsyncHost delete operation

Special Thanks

Alan Agius, Charles Lyding, Doug Parker and Joey Perrott

Don't miss a new cli release

NewReleases is sending notifications on new releases.