|
| 1 | +<a name="13.0.0-next.9"></a> |
| 2 | + |
| 3 | +# 13.0.0-next.9 (2021-10-06) |
| 4 | + |
| 5 | +## Breaking Changes |
| 6 | + |
| 7 | +### @schematics/angular |
| 8 | + |
| 9 | +- `classlist.js` and `web-animations-js` are removed from application polyfills and uninstalled from the package. These were only needed for compatibility with Internet Explorer, which is no longer needed now that Angular only supports evergreen browsers. See: https://angular.io/guide/browser-support. |
| 10 | + |
| 11 | +Add the following to the polyfills file for an app to re-add these packages: |
| 12 | + |
| 13 | +```typescript |
| 14 | +import 'classlist.js'; |
| 15 | +import 'web-animations-js'; |
| 16 | +``` |
| 17 | + |
| 18 | +And then run: |
| 19 | + |
| 20 | +```sh |
| 21 | +npm install classlist.js web-animations-js --save |
| 22 | +``` |
| 23 | + |
| 24 | +### @angular-devkit/build-angular |
| 25 | + |
| 26 | +- Inlining of critical CSS is no longer enable by default. Users already on Angular CLI version 12 and have not opted-out from using this feature are encouraged to opt-in using the browser builder `inlineCritical` option. |
| 27 | + |
| 28 | +- `NG_PERSISTENT_BUILD_CACHE` environment variable option no longer have effect. Configure `cli.cache` in the workspace configuration instead. |
| 29 | + |
| 30 | +```json |
| 31 | +{ |
| 32 | + "$schema": "./node_modules/@angular/cli/lib/config/schema.json", |
| 33 | + "version": 1, |
| 34 | + "cli": { |
| 35 | + "cache": { |
| 36 | + "enabled": true, |
| 37 | + "path": ".custom-cache-path", |
| 38 | + "environment": "all" |
| 39 | + } |
| 40 | + } |
| 41 | + ... |
| 42 | +} |
| 43 | +``` |
| 44 | + |
| 45 | +## Deprecations |
| 46 | + |
| 47 | +### |
| 48 | + |
| 49 | +- `@angular-devkit/build-optimizer` |
| 50 | + |
| 51 | +It's functionality has been included in `@angular-devkit/build-angular` so this package is no longer needed by the CLI and we will stop publishing the package soon. It has been an experimental (never hit `1.0.0`) and internal (only used by Angular itself) package and should be not be used directly by others. |
| 52 | + |
| 53 | +### @angular-devkit/build-angular |
| 54 | + |
| 55 | +- `NG_BUILD_CACHE` environment variable option will be removed in the next major version. Configure `cli.cache` in the workspace configuration instead. |
| 56 | + |
| 57 | +### @angular/cli |
| 58 | + |
| 59 | +| Commit | Type | Description | |
| 60 | +| --------------------------------------------------------------------------------------------------- | ---- | ------------------------------------------------------ | |
| 61 | +| [9fe55752d](https://github.com/angular/angular-cli/commit/9fe55752db8bb50cad5a1ddfe670dce06528e23e) | feat | officially support Node.js v16 | |
| 62 | +| [d8c9f6eaf](https://github.com/angular/angular-cli/commit/d8c9f6eaf4513639741d20c6af97a751b33b968e) | fix | update the update command to fully support Node.js v16 | |
| 63 | + |
| 64 | +### @schematics/angular |
| 65 | + |
| 66 | +| Commit | Type | Description | |
| 67 | +| --------------------------------------------------------------------------------------------------- | ---- | ------------------------------------------------------------------------------------------- | |
| 68 | +| [7ff8c5350](https://github.com/angular/angular-cli/commit/7ff8c5350ea2e49574dd659adae02215957d2685) | feat | add `/.angular/cache` to `.gitignore` | |
| 69 | +| [eac18aed7](https://github.com/angular/angular-cli/commit/eac18aed78da55efb840a3ef6f5e90718946504c) | feat | drop polyfills required only for Internet Explorer now that support has been dropped for it | |
| 70 | +| [585adacd0](https://github.com/angular/angular-cli/commit/585adacd0624ddf32c5c69a755d8e542f3463861) | fix | don't add `destroyAfterEach` in newly generated spec files | |
| 71 | + |
| 72 | +### |
| 73 | + |
| 74 | +| Commit | Type | Description | |
| 75 | +| --------------------------------------------------------------------------------------------------- | ---- | ----------------------------------------------------- | |
| 76 | +| [5e435ff37](https://github.com/angular/angular-cli/commit/5e435ff37703f9ffea7fa92fbd5cd42d9a3db07e) | docs | mark `@angular-devkit/build-optimizer` as deprecated. | |
| 77 | + |
| 78 | +### @angular-devkit/architect |
| 79 | + |
| 80 | +| Commit | Type | Description | |
| 81 | +| --------------------------------------------------------------------------------------------------- | ---- | ------------------------------------------------ | |
| 82 | +| [09e039500](https://github.com/angular/angular-cli/commit/09e039500f34b0d6a16e62128409ac5821e8b9c2) | feat | include workspace extensions in project metadata | |
| 83 | + |
| 84 | +### @angular-devkit/build-angular |
| 85 | + |
| 86 | +| Commit | Type | Description | |
| 87 | +| --------------------------------------------------------------------------------------------------- | ---- | ------------------------------------------------------------- | |
| 88 | +| [bf0709b14](https://github.com/angular/angular-cli/commit/bf0709b14c1f0d47af77a64e586a5d4564b75766) | feat | disable critical CSS inlining by default | |
| 89 | +| [5904afd1d](https://github.com/angular/angular-cli/commit/5904afd1de3ffa0bb6cd1757795ba9abfce9e523) | feat | enable disk cache by default and provide configurable options | |
| 90 | +| [d7af4a7b5](https://github.com/angular/angular-cli/commit/d7af4a7b536a7c43704f808ea208bc9f230d2403) | fix | enable custom `es2020` and `es2015` conditional exports | |
| 91 | +| [f10a82833](https://github.com/angular/angular-cli/commit/f10a8283367390031767eb67fcbea3ebbd5a3955) | fix | improve fidelity and performance of babel loader sourcemaps | |
| 92 | + |
| 93 | +### @angular-devkit/core |
| 94 | + |
| 95 | +| Commit | Type | Description | |
| 96 | +| --------------------------------------------------------------------------------------------------- | ---- | ---------------------------------------------------------------------------- | |
| 97 | +| [a54e5e065](https://github.com/angular/angular-cli/commit/a54e5e06551c828eb5cf08695674e04fd8a78bf3) | fix | support Node.js v16 with `NodeJsSyncHost`/`NodeJsAsyncHost` delete operation | |
| 98 | + |
| 99 | +## Special Thanks |
| 100 | + |
| 101 | +Alan Agius, Charles Lyding, Doug Parker and Joey Perrott |
| 102 | + |
| 103 | +<!-- CHANGELOG SPLIT MARKER --> |
| 104 | + |
1 | 105 | <a name="12.2.9"></a>
|
2 | 106 |
|
3 | 107 | # 12.2.9 (2021-10-06)
|
|
0 commit comments