v14.0.0-next.0
Pre-release14.0.0-next.0 (2022-02-02)
Breaking Changes
@angular/cli
-
--all
option fromng update
has been removed without replacement. To update packages which don’t provideng update
capabilities in your workspacepackage.json
usenpm update
,yarn upgrade-interactive
oryarn 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 toproduction
.
@angular-devkit/build-angular
browser
andkarma
buildersscript
andstyles
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
namespaceclean
mapObject
@angular-devkit/schematics
- Deprecated
analytics
property has been removed fromTypedSchematicContext
interface
@ngtools/webpack
-
ivy
namespace has been removed from the public API. -
ivy.AngularWebpackPlugin
->AngularWebpackPlugin
-
ivy.AngularPluginOptions
->AngularPluginOptions
@schematics/angular
Commit | Description |
---|---|
update Angular dependencies to use ^ as version prefix |
|
update new and existing projects compilation target to ES2020 |
@angular/cli
Commit | Description |
---|---|
remove deprecated --all option from ng update |
|
remove deprecated --prod flag |
@angular-devkit/build-angular
@angular-devkit/core
Commit | Description |
---|---|
remove deprecated fs, object and array APIs |
@angular-devkit/schematics
Commit | Description |
---|---|
remove deprecated analytics property |
@ngtools/webpack
Commit | Description |
---|---|
remove deprecated ivy namespace |
Special Thanks
Alan Agius, Doug Parker and Joey Perrott