Skip to content

Releases: angular/angular-cli

13.1.0-next.3

02 Dec 03:35
Compare
Choose a tag to compare
13.1.0-next.3 Pre-release
Pre-release

13.1.0-next.3 (2021-12-01)

@schematics/angular

Commit Description
feat - d5d9f042f add VS Code configurations when generating a new workspace
fix - 37a723945 address eslint linting failures in test.ts

@angular/cli

Commit Description
feat - 56f802b7d ask to install angular-eslint when running ng lint in new projects
fix - b9cd68f69 exit with a non-zero error code when migration fails during ng update
fix - 1e9e890bb logic which determines which temp version of the CLI is to be download during ng update

@angular-devkit/build-angular

Commit Description
feat - bc17cf0cd colorize file raw sizes based on failing budgets
feat - 3c681b68d set dir attribute when using localization
feat - 9300545e6 watch i18n translation files with dev server
fix - 52c6c3df3 correctly extract messages when using cached build (#22266)
fix - 7408511da display cleaner errors
fix - 6bdc26c60 don't watch nested node_modules when polling is enabled
fix - 4c288b8bd lazy modules bundle budgets
fix - 5805c7859 transform remapped sourcemap into a plain object

@ngtools/webpack

Commit Description
fix - b3f71c51b JIT mode CommonJS accessing inexistent default property

Special Thanks

Alan Agius, Billy Lando, Charles Lyding, David-Emmanuel DIVERNOIS, Derek Cormier and Doug Parker

13.0.4

01 Dec 23:54
Compare
Choose a tag to compare

13.0.4 (2021-12-01)

@schematics/angular

Commit Description
fix - 372e2e633 address eslint linting failures in test.ts

@angular/cli

Commit Description
fix - ded7b5c06 exit with a non-zero error code when migration fails during ng update
fix - 250a58b48 logic which determines which temp version of the CLI is to be download during ng update

@angular-devkit/build-angular

Commit Description
fix - b835389c8 correctly extract messages when using cached build (#22266)
fix - 647a5f0b1 don't watch nested node_modules when polling is enabled
fix - 4d01d4f72 transform remapped sourcemap into a plain object

@ngtools/webpack

Commit Description
fix - 4d918ef99 JIT mode CommonJS accessing inexistent default property

Special Thanks

Alan Agius, Billy Lando, David-Emmanuel DIVERNOIS and Derek Cormier

v13.1.0-next.2

18 Nov 04:45
Compare
Choose a tag to compare
v13.1.0-next.2 Pre-release
Pre-release

13.1.0-next.2 (2021-11-17)

@schematics/angular

Commit Description
feat - 21809e14c loosen project name validation

@angular/cli

Commit Description
feat - ecd9fb5c7 provide more detailed error for not found builder

@angular-devkit/build-angular

Commit Description
feat - bc8563760 add estimated transfer size to build output report
feat - 6d0f99a2d support JSON comments in dev-server proxy configuration file
perf - 789ddfaeb disable webpack backwards compatible APIs

Special Thanks

Alan Agius, Charles Lyding, Doug Parker, Joey Perrott and Krzysztof Platis

v13.0.3

18 Nov 00:08
Compare
Choose a tag to compare

13.0.3 (2021-11-17)

Special Thanks

Alan Agius, Joey Perrott and Krzysztof Platis

v13.1.0-next.1

11 Nov 01:11
Compare
Choose a tag to compare
v13.1.0-next.1 Pre-release
Pre-release

13.1.0-next.1 (2021-11-10)

@schematics/angular

Commit Description
fix - e9d2d98e8 migrate ng-packagr configurations in package.json
fix - 950b430c0 show warning when migrating ng-packagr JS configurations
fix - cf67f2629 updated Angular new project version to v13.0.0

@angular/cli

Commit Description
fix - 4a5ca162c avoid redirecting @angular/core in Angular migrations
fix - b7b1325a6 favor ng-update packageGroupName in ng update output

@angular-devkit/build-angular

Commit Description
fix - 47fd128a0 don't restore input of type file during HMR
fix - 3a89358d3 don't show [NG HMR] Unknown input type when restoring file type input
fix - 5990ed91c improve sourcemap fidelity during code-coverage
fix - b3e588801 suppress @charset must be the first rule in the file warning
fix - e1bac5bbb update Angular peer dependencies to v13.1 prerelease

Special Thanks

Alan Agius, Charles Lyding, Doug Parker, Joey Perrott and Paul Gschwendtner

v13.0.2

11 Nov 00:20
Compare
Choose a tag to compare

13.0.2 (2021-11-10)

@schematics/angular

Commit Description
fix - 1bc00b6fe migrate ng-packagr configurations in package.json
fix - 9ea74a13d show warning when migrating ng-packagr JS configurations

@angular/cli

Commit Description
fix - 34047b1ad avoid redirecting @angular/core in Angular migrations
fix - ff4538e98 favor ng-update packageGroupName in ng update output

@angular-devkit/build-angular

Commit Description
fix - 35164bf92 don't restore input of type file during HMR
fix - facb5d8ff don't show [NG HMR] Unknown input type when restoring file type input
fix - ef8815d04 improve sourcemap fidelity during code-coverage
fix - 966a1334a suppress @charset must be the first rule in the file warning
fix - 1cdc24da0 update Angular peer dependencies to 13.0 stable

Special Thanks

Alan Agius, Charles Lyding, Joey Perrott and Paul Gschwendtner

v13.0.1

04 Nov 03:09
Compare
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
Compare
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
Compare
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
Compare
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