Skip to content

Releases: angular/angular-cli

v13.0.0-rc.0

14 Oct 00:29

Choose a tag to compare

v13.0.0-rc.0 Pre-release
Pre-release

13.0.0-rc.0 (2021-10-13)

@schematics/angular

Commit Description
fix - e58226ee9 don't export renderModuleFactory from server file
fix - 0ec0ad8a4 remove target and lib options for library tsconfig
fix - 16e58a58c wrap bootstrapping code in an HMR compatible manner

@angular/cli

Commit Description
fix - ded510594 accept UA-00000-0 format in analytics tracking id
fix - d2a992274 add engine field support for npm 8 and higher
fix - cf03daf9e generate new random user ID when passing empty string to uuid

@angular-devkit/build-angular

Commit Description
fix - 427a9ee97 update workspace tsconfig lib es2020

@angular-devkit/core

Commit Description
fix - 9874aff71 add missing option peer dependency on chokidar

@angular-devkit/schematics

Commit Description
fix - bdd89ae84 handle zero or negative length removals in update buffer

Special Thanks

Alan Agius, Charles Lyding, Joey Perrott and Kristiyan Kostadinov

v12.2.10

13 Oct 22:32

Choose a tag to compare

12.2.10 (2021-10-13)

@schematics/angular

Commit Description
fix - f6ed31fdf wrap bootstrapping code in an HMR compatible manner

@angular/cli

Commit Description
fix - 73a47af80 accept UA-00000-0 format in analytics tracking id
fix - d2e24d396 generate new random user ID when passing empty string to uuid

@angular-devkit/build-angular

Commit Description
fix - 7b01a0004 enable custom es2015 conditional exports
fix - 892567487 improve fidelity and performance of babel loader sourcemaps

Special Thanks

Alan Agius and Charles Lyding

v13.0.0-next.9

07 Oct 01:13

Choose a tag to compare

v13.0.0-next.9 Pre-release
Pre-release

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

v12.2.9

07 Oct 00:30

Choose a tag to compare

12.2.9 (2021-10-06)

@angular-devkit/build-angular

Commit Description
fix - 9d45b7752 add web-streams-polyfill to downlevel exclusion list
fix - ccedf53a8 update esbuild to 0.13.4

Special Thanks

Alan Agius and Charles Lyding

v13.0.0-next.8

05 Oct 17:10

Choose a tag to compare

v13.0.0-next.8 Pre-release
Pre-release

13.0.0-next.8 (2021-10-05)

Breaking Changes

@angular-devkit/build-angular

  • 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
fix - e1b954d70 keep relative migration paths during update analysis

@angular-devkit/build-angular

Commit Description
feat - 22cd9edfa favor es2020 main fields
feat - 000b0e51c remove deprecated dev-server options
fix - 4be6537dd update TS/JS regexp checks to latest extensions

Special Thanks

Alan Agius, Charles Lyding and Doug Parker

v12.2.8

01 Oct 18:33

Choose a tag to compare

12.2.8 (2021-10-01)

@angular-devkit/build-angular

Commit Description
fix - 821a1b5a9 babel adjust enum plugin incorrectly transforming loose enums

Special Thanks

Paul Gschwendtner

v13.0.0-next.7

30 Sep 23:58

Choose a tag to compare

v13.0.0-next.7 Pre-release
Pre-release

13.0.0-next.7 (2021-09-30)

Breaking Changes

@angular-devkit/build-angular

  • TypeScript versions prior to 4.4 are no longer supported.

@schematics/angular

Commit Description
feat - 7bdcd7da1 create new projects with rxjs 7

@angular/cli

Commit Description
fix - c3acf3cc2 remove unused cli project options.

@angular-devkit/build-angular

Commit Description
feat - fb1ad7c5b support ESM proxy configuration files for the dev server
feat - 505438cc4 support TypeScript 4.4
fix - 0e7277c63 babel adjust enum plugin incorrectly transforming loose enums
fix - f383f3201 ESM-interop loaded plugin creators of @angular/localize/tools not respected
fix - 884111ac0 update IE unsupported and deprecation messages
fix - 13cceab8e use URLs for absolute import paths with ESM
perf - 4e0743c8a change webpack hashing function to xxhash64

Special Thanks

Alan Agius, Charles Lyding, Doug Parker and Paul Gschwendtner

v12.2.7

23 Sep 01:14

Choose a tag to compare

12.2.7 (2021-09-22)

@angular-devkit/build-angular

Commit Description
fix - d856b4d23 support WASM-based esbuild optimizer fallback

Special Thanks

Alan Agius and Charles Lyding

v13.0.0-next.6

22 Sep 23:35

Choose a tag to compare

v13.0.0-next.6 Pre-release
Pre-release

13.0.0-next.6 (2021-09-22)

Breaking Changes

@ngtools/webpack

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

@angular-devkit/build-angular

Commit Description
fix - 0d76bf04b support WASM-based esbuild optimizer fallback

@angular-devkit/build-webpack

Commit Description
fix - 9efcb32e3 better handle concurrent dev-servers

@ngtools/webpack

Commit Description
refactor - 7d98ab3df support an ESM-only @angular/compiler-cli package

Special Thanks

Alan Agius and Charles Lyding

v13.0.0-next.5

15 Sep 21:15

Choose a tag to compare

v13.0.0-next.5 Pre-release
Pre-release

13.0.0-next.5 (2021-09-15)

@angular/cli

Commit Description
fix - d3fa202e9 handle FORCE_COLOR when stdout is not instance of WriteStream

@angular-devkit/build-angular

Commit Description
fix - 590c15664 add web-streams-polyfill to downlevel exclusion list
fix - df8f909d8 handle FORCE_COLOR when stdout is not instance of WriteStream

Special Thanks

Alan Agius, Charles Lyding and Joey Perrott