|
| 1 | +<a name="14.0.0-next.0"></a> |
| 2 | + |
| 3 | +# 14.0.0-next.0 (2022-02-02) |
| 4 | + |
| 5 | +## Breaking Changes |
| 6 | + |
| 7 | +### @angular/cli |
| 8 | + |
| 9 | +- `--all` option from `ng update` has been removed without replacement. To update packages which don’t provide `ng update` capabilities in your workspace `package.json` use `npm update`, `yarn upgrade-interactive` or `yarn upgrade` instead. |
| 10 | + |
| 11 | +- Deprecated option `--prod` has been removed from all builders. `--configuration production`/`-c production` should be used instead if the default configuration of the builder is not configured to `production`. |
| 12 | + |
| 13 | +### @angular-devkit/build-angular |
| 14 | + |
| 15 | +- `browser` and `karma` builders `script` and `styles` options input files extensions are now validated. |
| 16 | + |
| 17 | +Valid extensions for `scripts` are: |
| 18 | + |
| 19 | +- `.js` |
| 20 | +- `.cjs` |
| 21 | +- `.mjs` |
| 22 | +- `.jsx` |
| 23 | +- `.cjsx` |
| 24 | +- `.mjsx` |
| 25 | + |
| 26 | +Valid extensions for `styles` are: |
| 27 | + |
| 28 | +- `.css` |
| 29 | +- `.less` |
| 30 | +- `.sass` |
| 31 | +- `.scss` |
| 32 | +- `.styl` |
| 33 | + |
| 34 | +- 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. |
| 35 | + |
| 36 | +This feature was never truly supported by the Angular CLI, but has as such for visibility. |
| 37 | + |
| 38 | +- The deprecated `showCircularDependencies` browser 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. |
| 39 | + |
| 40 | +### @angular-devkit/core |
| 41 | + |
| 42 | +- The below APIs have been removed without replacement. Users should leverage other Node.js or other APIs. |
| 43 | +- `fs` namespace |
| 44 | +- `clean` |
| 45 | +- `mapObject` |
| 46 | + |
| 47 | +### @angular-devkit/schematics |
| 48 | + |
| 49 | +- Deprecated `analytics` property has been removed from `TypedSchematicContext` interface |
| 50 | + |
| 51 | +### @ngtools/webpack |
| 52 | + |
| 53 | +- `ivy` namespace has been removed from the public API. |
| 54 | + |
| 55 | +- `ivy.AngularWebpackPlugin` -> `AngularWebpackPlugin` |
| 56 | +- `ivy.AngularPluginOptions` -> `AngularPluginOptions` |
| 57 | + |
| 58 | +### @schematics/angular |
| 59 | + |
| 60 | +| Commit | Type | Description | |
| 61 | +| --------------------------------------------------------------------------------------------------- | ---- | --------------------------------------------------------------- | |
| 62 | +| [7e7de6858](https://github.com/angular/angular-cli/commit/7e7de6858dd71bd461ceb0f89e29e2c57099bbcc) | feat | update Angular dependencies to use `^` as version prefix | |
| 63 | +| [69ecddaa7](https://github.com/angular/angular-cli/commit/69ecddaa7d8b01aa7a9e61c403a4b9a8669e34c4) | feat | update new and existing projects compilation target to `ES2020` | |
| 64 | + |
| 65 | +### @angular/cli |
| 66 | + |
| 67 | +| Commit | Type | Description | |
| 68 | +| --------------------------------------------------------------------------------------------------- | -------- | ------------------------------------------------- | |
| 69 | +| [d94a67353](https://github.com/angular/angular-cli/commit/d94a67353dcdaa30cf5487744a7ef151a6268f2d) | refactor | remove deprecated `--all` option from `ng update` | |
| 70 | +| [2fc7c73d7](https://github.com/angular/angular-cli/commit/2fc7c73d7e40dbb0a593df61eeba17c8a8f618a9) | refactor | remove deprecated `--prod` flag | |
| 71 | + |
| 72 | +### @angular-devkit/build-angular |
| 73 | + |
| 74 | +| Commit | Type | Description | |
| 75 | +| --------------------------------------------------------------------------------------------------- | -------- | ------------------------------------------------------------------------------ | |
| 76 | +| [d23a168b8](https://github.com/angular/angular-cli/commit/d23a168b8d558ae9d73c8c9eed4ff199fc4d74b9) | feat | validate file extensions for `scripts` and `styles` options | |
| 77 | +| [07e776ea3](https://github.com/angular/angular-cli/commit/07e776ea379a50a98a50cf590156c2dc1b272e78) | fix | fail build when importing CSS files as an ECMA modules | |
| 78 | +| [0a1cd584d](https://github.com/angular/angular-cli/commit/0a1cd584d8ed00889b177f4284baec7e5427caf2) | refactor | remove deprecated `showCircularDependencies` browser and server builder option | |
| 79 | + |
| 80 | +### @angular-devkit/core |
| 81 | + |
| 82 | +| Commit | Type | Description | |
| 83 | +| --------------------------------------------------------------------------------------------------- | -------- | ------------------------------------------- | |
| 84 | +| [a0c02af7e](https://github.com/angular/angular-cli/commit/a0c02af7e340bb16f4e6f523c2d835c9b18926b3) | refactor | remove deprecated fs, object and array APIs | |
| 85 | + |
| 86 | +### @angular-devkit/schematics |
| 87 | + |
| 88 | +| Commit | Type | Description | |
| 89 | +| --------------------------------------------------------------------------------------------------- | -------- | -------------------------------------- | |
| 90 | +| [44c1e6d0d](https://github.com/angular/angular-cli/commit/44c1e6d0d2db5f2dc212d63a34ade045cb7854d5) | refactor | remove deprecated `analytics` property | |
| 91 | + |
| 92 | +### @ngtools/webpack |
| 93 | + |
| 94 | +| Commit | Type | Description | |
| 95 | +| --------------------------------------------------------------------------------------------------- | -------- | ------------------------------- | |
| 96 | +| [9277eed1d](https://github.com/angular/angular-cli/commit/9277eed1d9603d5e258eb7ae27de527eba919482) | refactor | remove deprecated ivy namespace | |
| 97 | + |
| 98 | +## Special Thanks |
| 99 | + |
| 100 | +Alan Agius, Doug Parker and Joey Perrott |
| 101 | + |
| 102 | +<!-- CHANGELOG SPLIT MARKER --> |
| 103 | + |
1 | 104 | <a name="13.2.2"></a>
|
2 | 105 |
|
3 | 106 | # 13.2.2 (2022-02-02)
|
|
0 commit comments