v14.0.0-next.0
Pre-release14.0.0-next.0 (2022-02-02)
Breaking Changes
@angular/cli
-
--alloption fromng updatehas been removed without replacement. To update packages which don’t provideng updatecapabilities in your workspacepackage.jsonusenpm update,yarn upgrade-interactiveoryarn upgradeinstead. -
Deprecated option
--prodhas been removed from all builders.--configuration production/-c productionshould be used instead if the default configuration of the builder is not configured toproduction.
@angular-devkit/build-angular
browserandkarmabuildersscriptandstylesoptions 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
showCircularDependenciesbrowser 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.
fsnamespacecleanmapObject
@angular-devkit/schematics
- Deprecated
analyticsproperty has been removed fromTypedSchematicContextinterface
@ngtools/webpack
-
ivynamespace 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