16.0.0-next.0 (2023-02-22)
Breaking Changes
@angular/cli
-
The deprecated
defaultCollection
workspace option has been removed. UseschematicCollections
instead.Before
"defaultCollection": "@angular/material"
After
"schematicCollections": ["@angular/material"]
-
The deprecated
defaultProject
workspace option has been removed. The project to use will be determined from the current working directory. -
Node.js v14 support has been removed
Node.js v14 is planned to be End-of-Life on 2023-04-30. Angular will stop supporting Node.js v14 in Angular v16.
Angular v16 will continue to officially support Node.js versions v16 and v18.
@schematics/angular
ng g resolver
andng g guard
now generate a functional resolver or guard by default. It is still possible to generate a (deprecated) class-based resolver or guard by usingng g resolver --no-functional
orng g guard --no-functional
.- The CLI no longer allows to generate
CanLoad
guards. UseCanMatch
instead.
@angular-devkit/core
- Several changes to the
SchemaRegistry
.compile
method now returns aPromise
.- Deprecated
flatten
has been removed without replacement.
-
ContentHasMutatedException
,InvalidUpdateRecordException
,UnimplementedException
andMergeConflictException
API from@angular-devkit/core
have been removed in favor of the API from@angular-devkit/schematics
.UnsupportedPlatformException
- A custom error exception should be created instead.
@angular-devkit/schematics
- The depracated
UpdateBuffer
has been removed andUpdateBuffer2
is renamed toUpdateBuffer
. With this change the related and
deprecated symbolsContentCannotBeRemovedException
andChunk
have also been removed.
@ngtools/webpack
- NGCC integration has been removed and as a result Angular View Engine libraries will no longer work.
@schematics/angular
Commit | Description |
---|---|
generate functional resolvers and guards by default | |
remove deprecated CanLoad option for guards |
@angular/cli
Commit | Description |
---|---|
remove deprecated defaultCollection from workspace configuration
| |
remove deprecated defaultProject from workspace configuration
| |
remove Node.js v14 support |
@angular-devkit/core
Commit | Description |
---|---|
update SchemaRegistry compile to return Promise
| |
remove deprecated exceptions |
@angular-devkit/schematics
Commit | Description |
---|---|
remove UpdateBuffer and rename UpdateBuffer2 to UpdateBuffer
|
@ngtools/webpack
Commit | Description |
---|---|
remove NGCC integration |
Special Thanks
Alan Agius, Charles Lyding, Cédric Exbrayat, Doug Parker and Lukas Spirig