Angular CLI: 16.0.0-next.0 Release

Release date:
October 5, 2023
Previous version:
15.2.10 (released October 5, 2023)
Magnitude:
653 Diff Delta
Contributors:
5 total committers
Data confidence:
Commits:

35 Features Released with 16.0.0-next.0

Top Contributors in 16.0.0-next.0

dgp1130
alan-agius4
clydin
josephperrott
devversion

Directory Browser for 16.0.0-next.0

We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.

Release Notes Published

<a name="16.0.0-next.0"></a>

16.0.0-next.0 (2023-02-22)

Breaking Changes

@angular/cli

  • The deprecated defaultCollection workspace option has been removed. Use schematicCollections instead.

Before json "defaultCollection": "@angular/material"

After json "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 and ng 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 using ng g resolver --no-functional or ng g guard --no-functional.
  • The CLI no longer allows to generate CanLoad guards. Use CanMatch instead. ### @angular-devkit/core
  • Several changes to the SchemaRegistry.
    • compile method now returns a Promise.
    • Deprecated flatten has been removed without replacement.
  • - ContentHasMutatedException, InvalidUpdateRecordException, UnimplementedException and MergeConflictException 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 and UpdateBuffer2 is renamed to UpdateBuffer. With this change the related and deprecated symbols ContentCannotBeRemovedException and Chunk 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 | | -- | -- | | feat - 22fdd7da9 | generate functional resolvers and guards by default | | feat - 5ceedcb11 | remove deprecated CanLoad option for guards | ### @angular/cli | Commit | Description | | -- | -- | | feat - 68024234e | remove deprecated defaultCollection from workspace configuration | | feat - d58428d3d | remove deprecated defaultProject from workspace configuration | | refactor - c29c8e18d | remove Node.js v14 support | ### @angular-devkit/core | Commit | Description | | -- | -- | | feat - f6624b974 | update SchemaRegistry compile to return Promise | | refactor - 0ad81cdbc | remove deprecated exceptions | ### @angular-devkit/schematics | Commit | Description | | -- | -- | | refactor - d2ef386f4 | remove UpdateBuffer and rename UpdateBuffer2 to UpdateBuffer | ### @ngtools/webpack | Commit | Description | | -- | -- | | refactor - c8ac660d8 | remove NGCC integration | ## Special Thanks Alan Agius, Charles Lyding, CΓ©dric Exbrayat, Doug Parker and Lukas Spirig