|
| 1 | +<a name="16.0.0-next.0"></a> |
| 2 | + |
| 3 | +# 16.0.0-next.0 (2023-02-22) |
| 4 | + |
| 5 | +## Breaking Changes |
| 6 | + |
| 7 | +### @angular/cli |
| 8 | + |
| 9 | +- The deprecated `defaultCollection` workspace option has been removed. Use `schematicCollections` instead. |
| 10 | + |
| 11 | + Before |
| 12 | + |
| 13 | + ```json |
| 14 | + "defaultCollection": "@angular/material" |
| 15 | + ``` |
| 16 | + |
| 17 | + After |
| 18 | + |
| 19 | + ```json |
| 20 | + "schematicCollections": ["@angular/material"] |
| 21 | + ``` |
| 22 | + |
| 23 | +- The deprecated `defaultProject` workspace option has been removed. The project to use will be determined from the current working directory. |
| 24 | +- Node.js v14 support has been removed |
| 25 | + |
| 26 | + Node.js v14 is planned to be End-of-Life on 2023-04-30. Angular will stop supporting Node.js v14 in Angular v16. |
| 27 | + Angular v16 will continue to officially support Node.js versions v16 and v18. |
| 28 | + |
| 29 | +### @schematics/angular |
| 30 | + |
| 31 | +- `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`. |
| 32 | +- The CLI no longer allows to generate `CanLoad` guards. Use `CanMatch` instead. |
| 33 | + |
| 34 | +### @angular-devkit/core |
| 35 | + |
| 36 | +- Several changes to the `SchemaRegistry`. |
| 37 | + - `compile` method now returns a `Promise`. |
| 38 | + - Deprecated `flatten` has been removed without replacement. |
| 39 | +- - `ContentHasMutatedException`, `InvalidUpdateRecordException`, `UnimplementedException` and `MergeConflictException` API from `@angular-devkit/core` have been removed in favor of the API from `@angular-devkit/schematics`. |
| 40 | + - `UnsupportedPlatformException` - A custom error exception should be created instead. |
| 41 | + |
| 42 | +### @angular-devkit/schematics |
| 43 | + |
| 44 | +- The depracated `UpdateBuffer` has been removed and `UpdateBuffer2` |
| 45 | + is renamed to `UpdateBuffer`. With this change the related and |
| 46 | + deprecated symbols `ContentCannotBeRemovedException` and `Chunk` |
| 47 | + have also been removed. |
| 48 | + |
| 49 | +### @ngtools/webpack |
| 50 | + |
| 51 | +- NGCC integration has been removed and as a result Angular View Engine libraries will no longer work. |
| 52 | + |
| 53 | +### @schematics/angular |
| 54 | + |
| 55 | +| Commit | Type | Description | |
| 56 | +| --------------------------------------------------------------------------------------------------- | ---- | --------------------------------------------------- | |
| 57 | +| [22fdd7da9](https://github.com/angular/angular-cli/commit/22fdd7da97c832048410ca89622712d097490c5d) | feat | generate functional resolvers and guards by default | |
| 58 | +| [5ceedcb11](https://github.com/angular/angular-cli/commit/5ceedcb11e3ca5bdad4248c7c76ca2562fab43f2) | feat | remove deprecated CanLoad option for guards | |
| 59 | + |
| 60 | +### @angular/cli |
| 61 | + |
| 62 | +| Commit | Type | Description | |
| 63 | +| --------------------------------------------------------------------------------------------------- | -------- | ------------------------------------------------------------------ | |
| 64 | +| [68024234e](https://github.com/angular/angular-cli/commit/68024234edcb942d5a177d6bd7567e77d7e40245) | feat | remove deprecated `defaultCollection` from workspace configuration | |
| 65 | +| [d58428d3d](https://github.com/angular/angular-cli/commit/d58428d3dbdb7275e2e4f6d271fcc5fdda5c489e) | feat | remove deprecated `defaultProject` from workspace configuration | |
| 66 | +| [c29c8e18d](https://github.com/angular/angular-cli/commit/c29c8e18d84096e2f72af12643c31bde51010548) | refactor | remove Node.js v14 support | |
| 67 | + |
| 68 | +### @angular-devkit/core |
| 69 | + |
| 70 | +| Commit | Type | Description | |
| 71 | +| --------------------------------------------------------------------------------------------------- | -------- | --------------------------------------------------- | |
| 72 | +| [f6624b974](https://github.com/angular/angular-cli/commit/f6624b974faf13fa718d304e1a473260c16f0c1d) | feat | update SchemaRegistry `compile` to return `Promise` | |
| 73 | +| [0ad81cdbc](https://github.com/angular/angular-cli/commit/0ad81cdbc72e80ca75d9d5cc2bc0c6163267a0bb) | refactor | remove deprecated exceptions | |
| 74 | + |
| 75 | +### @angular-devkit/schematics |
| 76 | + |
| 77 | +| Commit | Type | Description | |
| 78 | +| --------------------------------------------------------------------------------------------------- | -------- | ------------------------------------------------------------------ | |
| 79 | +| [d2ef386f4](https://github.com/angular/angular-cli/commit/d2ef386f46131af904ca800cc77388c03239cd9d) | refactor | remove `UpdateBuffer` and rename `UpdateBuffer2` to `UpdateBuffer` | |
| 80 | + |
| 81 | +### @ngtools/webpack |
| 82 | + |
| 83 | +| Commit | Type | Description | |
| 84 | +| --------------------------------------------------------------------------------------------------- | -------- | ----------------------- | |
| 85 | +| [c8ac660d8](https://github.com/angular/angular-cli/commit/c8ac660d8b13922be7ebcc92dfd5b18392602c40) | refactor | remove NGCC integration | |
| 86 | + |
| 87 | +## Special Thanks |
| 88 | + |
| 89 | +Alan Agius, Charles Lyding, Cédric Exbrayat, Doug Parker and Lukas Spirig |
| 90 | + |
| 91 | +<!-- CHANGELOG SPLIT MARKER --> |
| 92 | + |
1 | 93 | <a name="15.2.0"></a>
|
2 | 94 |
|
3 | 95 | # 15.2.0 (2023-02-22)
|
|
0 commit comments