|
| 1 | +<a name="14.0.0-next.7"></a> |
| 2 | + |
| 3 | +# 14.0.0-next.7 (2022-03-30) |
| 4 | + |
| 5 | +## Breaking Changes |
| 6 | + |
| 7 | +### @angular-devkit/build-angular |
| 8 | + |
| 9 | +- Reflect metadata polyfill is no longer automatically provided in JIT mode |
| 10 | + Reflect metadata support is not required by Angular in JIT applications compiled by the CLI. |
| 11 | + Applications built in AOT mode did not and will continue to not provide the polyfill. |
| 12 | + For the majority of applications, the reflect metadata polyfill removal should have no effect. |
| 13 | + However, if an application uses JIT mode and also uses the previously polyfilled reflect metadata JavaScript APIs, the polyfill will need to be manually added to the application after updating. |
| 14 | + To replicate the previous behavior, the `core-js` package should be manually installed and the `import 'core-js/proposals/reflect-metadata';` statement should be added to the application's `polyfills.ts` file. |
| 15 | + |
| 16 | +## Deprecations |
| 17 | + |
| 18 | +### @angular/cli |
| 19 | + |
| 20 | +- The `defaultCollection` workspace option has been deprecated in favor of `schematicCollections`. |
| 21 | + |
| 22 | + Before |
| 23 | + |
| 24 | + ```json |
| 25 | + "defaultCollection": "@angular/material" |
| 26 | + ``` |
| 27 | + |
| 28 | + After |
| 29 | + |
| 30 | + ```json |
| 31 | + "schematicCollections": ["@angular/material"] |
| 32 | + ``` |
| 33 | + |
| 34 | +- The `defaultProject` workspace option has been deprecated. The project to use will be determined from the current working directory. |
| 35 | + |
| 36 | +### @angular-devkit/core |
| 37 | + |
| 38 | +- - `ContentHasMutatedException`, `InvalidUpdateRecordException`, `UnimplementedException` and `MergeConflictException` symbol from `@angular-devkit/core` have been deprecated in favor of the symbol from `@angular-devkit/schematics`. |
| 39 | + - `UnsupportedPlatformException` - A custom error exception should be created instead. |
| 40 | + |
| 41 | +### @angular/cli |
| 42 | + |
| 43 | +| Commit | Type | Description | |
| 44 | +| --------------------------------------------------------------------------------------------------- | ---- | ----------------------------------------------------------------------------- | |
| 45 | +| [e5bf35ea3](https://github.com/angular/angular-cli/commit/e5bf35ea3061a3e532aa85df44551107e62e24c5) | feat | add `ng cache` command | |
| 46 | +| [366cabc66](https://github.com/angular/angular-cli/commit/366cabc66c3dd836e2fdfea8dad6c4c7c2096b1d) | feat | add support for multiple schematics collections | |
| 47 | +| [036327e9c](https://github.com/angular/angular-cli/commit/036327e9ca838f9ef3f117fbd18949d9d357e68d) | feat | deprecated `defaultProject` option | |
| 48 | +| [8e66c9188](https://github.com/angular/angular-cli/commit/8e66c9188be827380e5acda93c7e21fae718b9ce) | fix | `ng g` show descrption from `collection.json` if not present in `schema.json` | |
| 49 | +| [09f8659ce](https://github.com/angular/angular-cli/commit/09f8659cedcba70903140d0c3eb5d0e10ebb506c) | fix | display package manager during `ng update` | |
| 50 | +| [5a8bdeb43](https://github.com/angular/angular-cli/commit/5a8bdeb434c7561334bfc8865ed279110a44bd93) | fix | hide private schematics from `ng g` help output | |
| 51 | +| [8a396de6a](https://github.com/angular/angular-cli/commit/8a396de6a8a58347d2201a43d7f5101f94f20e89) | fix | print entire config when no positional args are provided to `ng config` | |
| 52 | +| [efc3c3225](https://github.com/angular/angular-cli/commit/efc3c32257a65caf36999dc34cadc41eedcbf323) | fix | remove analytics prompt postinstall script | |
| 53 | + |
| 54 | +### @schematics/angular |
| 55 | + |
| 56 | +| Commit | Type | Description | |
| 57 | +| --------------------------------------------------------------------------------------------------- | ---- | ------------------------------------------------------------------------------------------------- | |
| 58 | +| [e49220fba](https://github.com/angular/angular-cli/commit/e49220fba0d158be0971989e26eb199ec02fa113) | feat | add migratiom to remove `defaultProject` in workspace config | |
| 59 | +| [09a71bab6](https://github.com/angular/angular-cli/commit/09a71bab6044e517319f061dbd4555ce57fe6485) | fix | Consolidated setup with a single `beforeEach()` | |
| 60 | +| [a5e99762e](https://github.com/angular/angular-cli/commit/a5e99762ef0bb05a23823d4923a2863e0b232ec9) | fix | fix extra comma added when use --change-detection=onPush and --style=none to generate a component | |
| 61 | + |
| 62 | +### @angular-devkit/build-angular |
| 63 | + |
| 64 | +| Commit | Type | Description | |
| 65 | +| --------------------------------------------------------------------------------------------------- | ---- | ---------------------------------------------- | |
| 66 | +| [371da23be](https://github.com/angular/angular-cli/commit/371da23be0d0b1fd880d93c68049fcac97685120) | fix | add `node_modules` prefix to excludes RegExp | |
| 67 | +| [2ab77429b](https://github.com/angular/angular-cli/commit/2ab77429bb213a515a2334ff6c577be561117108) | fix | allow Workers in Stackblitz | |
| 68 | +| [fac9cca66](https://github.com/angular/angular-cli/commit/fac9cca66bef73ce403314609a51e63a2764ccbe) | fix | don't override asset info when updating assets | |
| 69 | +| [966d25b55](https://github.com/angular/angular-cli/commit/966d25b55eeb6cb84eaca183b30e7d3b0d0a2188) | fix | remove unneeded JIT reflect metadata polyfill | |
| 70 | + |
| 71 | +### @angular-devkit/core |
| 72 | + |
| 73 | +| Commit | Type | Description | |
| 74 | +| --------------------------------------------------------------------------------------------------- | -------- | ---------------------------------------------------- | |
| 75 | +| [455aeea12](https://github.com/angular/angular-cli/commit/455aeea12d8509a526a28cf126899e60c4a21cef) | fix | add Angular CLI major version as analytics dimension | |
| 76 | +| [c5b3e9299](https://github.com/angular/angular-cli/commit/c5b3e9299130132aecfa19219405e1964d0c5443) | refactor | deprecate unused exception classes | |
| 77 | + |
| 78 | +### @angular-devkit/schematics |
| 79 | + |
| 80 | +| Commit | Type | Description | |
| 81 | +| --------------------------------------------------------------------------------------------------- | ---- | --------------------------------------------------------------------------- | |
| 82 | +| [c9c781c7d](https://github.com/angular/angular-cli/commit/c9c781c7d5f3c6de780912fd7c624a457e6da14c) | feat | add parameter to `listSchematicNames` to allow returning hidden schematics. | |
| 83 | + |
| 84 | +### @ngtools/webpack |
| 85 | + |
| 86 | +| Commit | Type | Description | |
| 87 | +| --------------------------------------------------------------------------------------------------- | ---- | ------------------------------------------------ | |
| 88 | +| [0c344259d](https://github.com/angular/angular-cli/commit/0c344259dcdc10a35840151bfe3ae1b27f9b53ff) | fix | update peer dependency to reflect TS 4.6 support | |
| 89 | + |
| 90 | +## Special Thanks |
| 91 | + |
| 92 | +Adrien Crivelli, Alan Agius, Charles Lyding, Doug Parker, Paul Gschwendtner, Tobias Speicher, alkavats1 and gauravsoni119 |
| 93 | + |
| 94 | +<!-- CHANGELOG SPLIT MARKER --> |
| 95 | + |
1 | 96 | <a name="13.3.1"></a>
|
2 | 97 |
|
3 | 98 | # 13.3.1 (2022-03-30)
|
|
0 commit comments