Skip to content

Releases: angular/angular-cli

v13.0.1

04 Nov 03:09

Choose a tag to compare

13.0.1 (2021-11-03)

@schematics/angular

Commit Description
fix - 40f599241 updated Angular new project version to v13.0.0

Special Thanks

Charles Lyding and Joey Perrott

v13.1.0-next.0

03 Nov 22:19

Choose a tag to compare

v13.1.0-next.0 Pre-release
Pre-release

13.1.0-next.0 (2021-11-03)

@ngtools/webpack

Commit Description
fix - 5402f99f8 add cjs and mjs to passthrough files

Special Thanks

Alan Agius, Charles Lyding, Doug Parker, Joey Perrott and Ruslan Lekhman

v13.0.0

03 Nov 18:54

Choose a tag to compare

13.0.0 (2021-11-03)

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
  • We removed several deprecated @schematics/angular deprecated options.
  • lintFix have been removed from all schematics. ng lint --fix should be used instead.
  • legacyBrowsers have been removed from the application schematics since IE 11 is no longer supported.
  • configuration has been removed from the web-worker as it was unused.
  • target has been removed from the service-worker as it was unused.

@angular/cli

  • We drop support for Node.js versions prior to 12.20.

@angular-devkit/build-angular

  • Support for karma-coverage-instanbul-reporter has been dropped in favor of the official karma coverage plugin karma-coverage.

  • Support for node-sass has been removed. sass will be used by default to compile SASS and SCSS files.

  • 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"
    }
  }
  ...
}
  • The automatic inclusion of Angular-required ES2015 polyfills to support ES5 browsers has been removed. Previously when targetting ES5 within the application's TypeScript configuration or listing an ES5 requiring browser in the browserslist file, Angular-required polyfills were included in the built application. However, with Angular no longer supporting IE11, there are now no browsers officially supported by Angular that would require these polyfills. As a result, the automatic inclusion of these ES2015 polyfills has been removed. Any polyfills manually added to an application's code are not affected by this change.

  • 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
  • With this change we removed several deprecated builder options

  • extractCss has been removed from the browser builder. CSS is now always extracted.

  • servePathDefaultWarning and hmrWarning have been removed from the dev-server builder. These options had no effect.

  • Deprecated @angular-devkit/build-angular:tslint builder has been removed. Use https://github.com/angular-eslint/angular-eslint instead.

  • Differential loading support has been removed. With Angular no longer supporting IE11, there are now no browsers officially supported by Angular that require ES5 code. As a result, differential loading's functionality for creating and conditionally loading ES5 and ES2015+ variants of an application is no longer required.

  • TypeScript versions prior to 4.4 are no longer supported.

  • The dev-server now uses WebSockets to communicate changes to the browser during HMR and live-reloaded. If during your development you are using a proxy you will need to enable proxying of WebSockets.

  • We remove inlining of Google fonts in WOFF format since IE 11 is no longer supported. Other supported browsers use WOFF2.

@angular-devkit/build-webpack

Note: this change only affects users depending on @angular-devkit/build-webpack directly.

@angular-devkit/core

  • With this change we drop support for the deprecated behaviour to transform id in schemas. Use $id instead.

Note: this only effects schematics and builders authors.

  • The deprecated JSON parser has been removed from public API. jsonc-parser should be used instead.

@angular-devkit/schematics

  • isAction has been removed without replacement as it was unused.

  • With this change we remove the following deprecated APIs

  • TslintFixTask

  • TslintFixTaskOptions

Note: this only effects schematics developers.

@ngtools/webpack

  • Deprecated inlineStyleMimeType option has been removed from AngularWebpackPluginOptions. Use inlineStyleFileExtension instead.

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

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 - 3ba13f467 add noImplicitOverride and noPropertyAccessFromIndexSignature to workspace tsconfig
feat - 268a03b63 add migration to update the workspace config
feat - 7bdcd7da1 create new projects with rxjs 7
feat - eac18aed7 drop polyfills required only for Internet Explorer now that support has been dropped for it
feat - 4f91816b2 migrate libraries to be published from ViewEngine to Ivy Partial compilation
feat - 5986befcd remove deprecated options
feat - 9fbd16655 remove IE 11 specific polyfills
feat - a7b2e6f51 update ngsw-config resources extensions
fix - 732ef7985 add browserslist configuration in library projects
fix - 585adacd0 don't add destroyAfterEach in newly generated spec files
fix - e58226ee9 don't export renderModuleFactory from server file
fix - 0ec0ad8a4 remove target and lib options for library tsconfig
fix - f227e145d updated Angular new project version to v13.0 prerelease

@angular/cli

Commit Description
feat - 9fe55752d officially support Node.js v16
fix - 5ad145722 error when updating Angular packages across multi-major migrations
fix - e4bc35e33 exclude packages from ng add that contain invalid peer dependencies
[![fix - e1b954d...
Read more

v12.2.13

03 Nov 21:26

Choose a tag to compare

12.2.13 (2021-11-03)

@angular-devkit/build-angular

Commit Description
fix - a2bd940e4 add verbose logging for differential loading and i18n

Special Thanks

Charles Lyding and Doug Parker

v13.0.0-rc.3

02 Nov 18:35

Choose a tag to compare

v13.0.0-rc.3 Pre-release
Pre-release

13.0.0-rc.3 (2021-11-02)

@angular/cli

Commit Description
fix - 8795536a3 update ng update output for Angular packages

@angular-devkit/build-angular

Commit Description
fix - e19287453 move @angular/localize detection prior to webpack initialization
fix - 416844194 remove potential race condition in i18n worker execution
fix - 1d8cdf853 update esbuild to 0.13.12
fix - ea926db25 use es2015 when generating server bundles

Special Thanks

Alan Agius, Charles Lyding and Doug Parker

v13.0.0-rc.2

27 Oct 23:45

Choose a tag to compare

v13.0.0-rc.2 Pre-release
Pre-release

13.0.0-rc.2 (2021-10-27)

@angular/cli

Commit Description
fix - 5ad145722 error when updating Angular packages across multi-major migrations
fix - e4bc35e33 exclude packages from ng add that contain invalid peer dependencies

@angular-devkit/build-angular

Commit Description
fix - b14e0a547 improve sourcemaps fidelity when code coverage is enabled
fix - 5f012e1c6 update critters to version 0.0.12

Special Thanks

Alan Agius, Charles Lyding, Joey Perrott and Mikhail Vasiliev

v12.2.12

27 Oct 23:08

Choose a tag to compare

12.2.12 (2021-10-27)

@angular-devkit/build-angular

Commit Description
fix - 2decc2d26 avoid extra filesystem access with i18n and differential loading
fix - 802b1b037 remove potential race condition in i18n worker execution
fix - cce88c2e1 update critters to version 0.0.12

Special Thanks

Alan Agius, Charles Lyding, Joey Perrott and Mikhail Vasiliev

v11.2.15

27 Oct 19:09

Choose a tag to compare

Commits

@angular-devkit/build-angular (0.1102.15)

Commit Description Notes
update `critters` to version `0.0.12` [Closes #20794]

Special Thanks

Joey Perrott, Alan Agius

v13.0.0-rc.1

21 Oct 00:23

Choose a tag to compare

v13.0.0-rc.1 Pre-release
Pre-release

13.0.0-rc.1 (2021-10-20)

@angular/cli

Commit Description
fix - 1b98a52f4 correct grammar error in Analytics consent prompt
fix - 1e2efbc98 run stable migrations when package version is prerelease

@angular-devkit/build-angular

Commit Description
fix - 448c020be add "Failed to compile" message
fix - 7934becb5 generate unique webpack runtimes
fix - ff486861d transform remapped sourcemap into a plain object

Special Thanks

Alan Agius, Extacy and Sushrit_Lawliet

v12.2.11

20 Oct 22:41

Choose a tag to compare

12.2.11 (2021-10-20)

@angular/cli

Commit Description
fix - e0112603c add engine field support for npm 8 and higher
fix - b93e63ff6 correct grammar error in Analytics consent prompt
fix - 008094bd1 run stable migrations when package version is prerelease

@angular-devkit/build-angular

Commit Description
fix - 227bf2e86 add "Failed to compile" message
fix - 6173609c5 transform remapped sourcemap into a plain object
fix - 349047523 update esbuild to 0.13.8
fix - 892eeadd1 update mini-css-extract-plugin to 2.4.2
fix - 8d52d9b7f use a separate worker pool for i18n inlining

Special Thanks

Alan Agius, Charles Lyding, Extacy and Sushrit_Lawliet