yarn @angular/cli 14.0.0-next.0
v14.0.0-next.0

latest releases: 17.3.2, 16.2.13, 15.2.11...
2 years ago

14.0.0-next.0 (2022-02-02)

Breaking Changes

@angular/cli

  • --all option from ng update has been removed without replacement. To update packages which don’t provide ng update capabilities in your workspace package.json use npm update, yarn upgrade-interactive or yarn upgrade instead.

  • Deprecated option --prod has been removed from all builders. --configuration production/-c production should be used instead if the default configuration of the builder is not configured to production.

@angular-devkit/build-angular

  • browser and karma builders script and styles options input files extensions are now validated.

Valid extensions for scripts are:

  • .js
  • .cjs
  • .mjs
  • .jsx
  • .cjsx
  • .mjsx

Valid extensions for styles are:

  • .css

  • .less

  • .sass

  • .scss

  • .styl

  • We now issue a build time error since importing a CSS file as an ECMA module is non standard Webpack specific feature, which is not supported by the Angular CLI.

This feature was never truly supported by the Angular CLI, but has as such for visibility.

  • The deprecated showCircularDependencies browser and server builder option has been removed. The recommended method to detect circular dependencies in project code is to use either a lint rule or other external tools.

@angular-devkit/core

  • The below APIs have been removed without replacement. Users should leverage other Node.js or other APIs.
  • fs namespace
  • clean
  • mapObject

@angular-devkit/schematics

  • Deprecated analytics property has been removed from TypedSchematicContext interface

@ngtools/webpack

  • ivy namespace has been removed from the public API.

  • ivy.AngularWebpackPlugin -> AngularWebpackPlugin

  • ivy.AngularPluginOptions -> AngularPluginOptions

@schematics/angular

Commit Description
feat - 7e7de6858 update Angular dependencies to use ^ as version prefix
feat - 69ecddaa7 update new and existing projects compilation target to ES2020

@angular/cli

Commit Description
refactor - d94a67353 remove deprecated --all option from ng update
refactor - 2fc7c73d7 remove deprecated --prod flag

@angular-devkit/build-angular

Commit Description
feat - d23a168b8 validate file extensions for scripts and styles options
fix - 07e776ea3 fail build when importing CSS files as an ECMA modules
refactor - 0a1cd584d remove deprecated showCircularDependencies browser and server builder option

@angular-devkit/core

Commit Description
refactor - a0c02af7e remove deprecated fs, object and array APIs

@angular-devkit/schematics

Commit Description
refactor - 44c1e6d0d remove deprecated analytics property

@ngtools/webpack

Commit Description
refactor - 9277eed1d remove deprecated ivy namespace

Special Thanks

Alan Agius, Doug Parker and Joey Perrott

Don't miss a new cli release

NewReleases is sending notifications on new releases.