[angular/angular-cli] Pre-release v22.0.0 - 22.0.0
DRANK

### @schematics/angular | Commit | Description | | -- | -- | | [![feat - be60a63b7](https://img.shields.io/badge/be60a63b7-feat-blue)](https://github.com/angular/angular-cli/commit/be60a63b7b8fdea26bfd3329ce54d321334db2d2) | add migrate-karma-to-vitest update migration | | [![feat - 43505066e](https://img.shields.io/badge/43505066e-feat-blue)](https://github.com/angular/angular-cli/commit/43505066e2350ca875051bb0f9991da8003c9247) | add migration to add istanbul-lib-instrument | | [![feat - b2f7a038b](https://img.shields.io/badge/b2f7a038b-feat-blue)](https://github.com/angular/angular-cli/commit/b2f7a038b4a321e4e1b0b340cd09425f948c77ad) | conditionally install istanbul coverage provider for Vitest migration | | [![feat - d227e6985](https://img.shields.io/badge/d227e6985-feat-blue)](https://github.com/angular/angular-cli/commit/d227e6985ef5540e0eea2571577ee2b9be0d3c64) | migrate fake async to Vitest fake timers | | [![feat - d2aa9ede5](https://img.shields.io/badge/d2aa9ede5-feat-blue)](https://github.com/angular/angular-cli/commit/d2aa9ede55a3e16b61ce6ae60dba6c8ea8954358) | migrate fakeAsync's flush behavior when used in beforeEach | | [![feat - f98cc82eb](https://img.shields.io/badge/f98cc82eb-feat-blue)](https://github.com/angular/angular-cli/commit/f98cc82eb0f46986e61b4f94b57dcd36e4eaf215) | rely on strict template default in generated workspaces | | [![feat - c9f408153](https://img.shields.io/badge/c9f408153-feat-blue)](https://github.com/angular/angular-cli/commit/c9f4081533f6f114846b88a152a9d5dc7363d680) | set up fake timers in beforeEach instead of beforeAll | | [![feat - de630c2fc](https://img.shields.io/badge/de630c2fc-feat-blue)](https://github.com/angular/angular-cli/commit/de630c2fcee22622942478c98117d8f473d8c894) | stabilize refactor-jasmine-vitest schematic | | [![feat - 8d0805dd1](https://img.shields.io/badge/8d0805dd1-feat-blue)](https://github.com/angular/angular-cli/commit/8d0805dd1750cb16af620811dc01b40e46ad030e) | update TSConfig globals during karma to vitest migration | | [![fix - 470e1f937](https://img.shields.io/badge/470e1f937-fix-green)](https://github.com/angular/angular-cli/commit/470e1f937492e73971dea9c39af83368caf74e42) | add istanbul-lib-instrument to application/library generator dependencies | | [![fix - dc1238e5a](https://img.shields.io/badge/dc1238e5a-fix-green)](https://github.com/angular/angular-cli/commit/dc1238e5a4c9ab5902735e3d74bc7c5cc57553bd) | add trusted-proxy-headers migration | | [![fix - 6572a6944](https://img.shields.io/badge/6572a6944-fix-green)](https://github.com/angular/angular-cli/commit/6572a69443356ff0022e6ce162915125fee0e3bb) | default components to OnPush change detection | | [![fix - aed407db8](https://img.shields.io/badge/aed407db8-fix-green)](https://github.com/angular/angular-cli/commit/aed407db8be6bc7591fb82f10c79586cbd072a8a) | defer karma config deletion in Karma to Vitest migration | | [![fix - 4fbc60891](https://img.shields.io/badge/4fbc60891-fix-green)](https://github.com/angular/angular-cli/commit/4fbc6089174142623fbd28cc68cede181074fab5) | preserve Jasmine stub-by-default semantics for bare spies | | [![fix - b3d838dfd](https://img.shields.io/badge/b3d838dfd-fix-green)](https://github.com/angular/angular-cli/commit/b3d838dfdb2adc3bd035b495f7f9457d742d73a4) | replace deprecated `ChangeDetectionStrategy.Default` with `Eager` | | [![fix - a7ac8e5f0](https://img.shields.io/badge/a7ac8e5f0-fix-green)](https://github.com/angular/angular-cli/commit/a7ac8e5f0a268994a8fcfebbf56f76e994b6207d) | support spy call arguments migration in refactor-jasmine-vitest | | [![fix - 7fb59eaa6](https://img.shields.io/badge/7fb59eaa6-fix-green)](https://github.com/angular/angular-cli/commit/7fb59eaa65a8d7e880b6f44d715b2aeaff9301ca) | use service decorator in ng generate | ### @angular/cli | Commit | Description | | -- | -- | | [![feat - 58c0978f6](https://img.shields.io/badge/58c0978f6-feat-blue)](https://github.com/angular/angular-cli/commit/58c0978f658ee5fa7232abd8e2eb7f146e4eb6bb) | add support for Node.js 26.0.0 | | [![fix - a5c7c0b5f](https://img.shields.io/badge/a5c7c0b5f-fix-green)](https://github.com/angular/angular-cli/commit/a5c7c0b5fda4ae0c00351ba34e5f39dab2c6baee) | reflect new minimum supported Node version in ng.js | | [![fix - a5e1e48db](https://img.shields.io/badge/a5e1e48db-fix-green)](https://github.com/angular/angular-cli/commit/a5e1e48db759e9ffcaa89f04504f5f93a1afdda4) | update odd-numbered Node.js version warning condition for future releases | | [![fix - 93c3eb8fb](https://img.shields.io/badge/93c3eb8fb-fix-green)](https://github.com/angular/angular-cli/commit/93c3eb8fb2a0d531f18779152b0a62e9b73dbb23) | update zoneless migration tool to handle `ChangeDetectionStrategy.Eager` | | [![perf - a39a33128](https://img.shields.io/badge/a39a33128-perf-orange)](https://github.com/angular/angular-cli/commit/a39a33128fb56e9c65ea89e06c4f127252d3b220) | cache root manifest and resolve restricted package exports in ng add | ### | Commit | Description | | -- | -- | | [![build - d0e9e8163](https://img.shields.io/badge/d0e9e8163-build-yellow)](https://github.com/angular/angular-cli/commit/d0e9e81639be33c453f1ef66c7c1c8ea4fe543c2) | update minimum supported Node.js versions | | [![refactor - 1f21e89d9](https://img.shields.io/badge/1f21e89d9-refactor-yellow)](https://github.com/angular/angular-cli/commit/1f21e89d99c191642627df6842402644a1bf26ee) | remove `@angular-devkit/architect-cli` package | | [![refactor - b4885b851](https://img.shields.io/badge/b4885b851-refactor-yellow)](https://github.com/angular/angular-cli/commit/b4885b851226709ae4146070122806e14a3d5eb9) | remove experimental Jest and Web Test Runner builders | ### @angular-devkit/build-angular | Commit | Description | | -- | -- | | [![refactor - b7940dbcb](https://img.shields.io/badge/b7940dbcb-refactor-yellow)](https://github.com/angular/angular-cli/commit/b7940dbcb40291be4de5b31e8a8001165459a7d4) | deprecate Webpack builders | ### @angular-devkit/build-webpack | Commit | Description | | -- | -- | | [![refactor - 3d5daa45e](https://img.shields.io/badge/3d5daa45e-refactor-yellow)](https://github.com/angular/angular-cli/commit/3d5daa45e3ade025c1bc0df35d2766563ccf7c03) | deprecate webpack and webpack-dev-server builders | ### @angular/build | Commit | Description | | -- | -- | | [![feat - e9aa7967b](https://img.shields.io/badge/e9aa7967b-feat-blue)](https://github.com/angular/angular-cli/commit/e9aa7967ba391e429ec1c04473efb4a2d38a62bf) | add isolate option to unit-test builder | | [![feat - fe720cab6](https://img.shields.io/badge/fe720cab6-feat-blue)](https://github.com/angular/angular-cli/commit/fe720cab64bbc8bcc2db583188e32ad938e63a23) | add process.env.PORT support to the dev server | | [![feat - 0781f7498](https://img.shields.io/badge/0781f7498-feat-blue)](https://github.com/angular/angular-cli/commit/0781f74986e773d143b9bdf5d3f0747de0df6b0a) | add quiet option to suppress build noise in unit tests | | [![feat - cd2ad3c19](https://img.shields.io/badge/cd2ad3c19-feat-blue)](https://github.com/angular/angular-cli/commit/cd2ad3c1958d9adadc214045b5e59c0c8f8b4499) | enable chunk optimization by default with heuristics | | [![feat - 3007f46b7](https://img.shields.io/badge/3007f46b7-feat-blue)](https://github.com/angular/angular-cli/commit/3007f46b7e077227b17d8bb1090edd2f8ff19ae3) | move istanbul-lib-instrument to optional peer dependency | | [![feat - af2c7e944](https://img.shields.io/badge/af2c7e944-feat-blue)](https://github.com/angular/angular-cli/commit/af2c7e9444fba81d3b1fd2d37dc4412f8305b5ed) | rename `experimentalPlatform` to `platform` in application builder | | [![feat - 58c7c7a9d](https://img.shields.io/badge/58c7c7a9d-feat-blue)](https://github.com/angular/angular-cli/commit/58c7c7a9d80fc6af5cf8b82a6d87f1d3cf3808c6) | subresource integrity validation for dynamically loaded modules | | [![feat - 73233dc5f](https://img.shields.io/badge/73233dc5f-feat-blue)](https://github.com/angular/angular-cli/commit/73233dc5f41b570f5ac095b255a46de6cbfb54b7) | support Istanbul coverage in Vitest runner | | [![feat - 414320d02](https://img.shields.io/badge/414320d02-feat-blue)](https://github.com/angular/angular-cli/commit/414320d02a090b7b36720051569cba7563bf9ac6) | support runtime Zone.js detection in Vitest unit test runner | | [![fix - b85ec6798](https://img.shields.io/badge/b85ec6798-fix-green)](https://github.com/angular/angular-cli/commit/b85ec6798b5c74f778a69a657729e446a2156261) | allow configuring Access-Control-Allow-Origin via headers option | | [![fix - edfa782d5](https://img.shields.io/badge/edfa782d5-fix-green)](https://github.com/angular/angular-cli/commit/edfa782d52fd971aebead8b96b6ca470a3f5123e) | use dynamic TestComponentRenderer for Vitest | ### @angular/ssr | Commit | Description | | -- | -- | | [![fix - 5adc92541](https://img.shields.io/badge/5adc92541-fix-green)](https://github.com/angular/angular-cli/commit/5adc92541433be23fc2246db5a199cf5c0dc9e67) | enforce explicit opt-in for proxy headers | | [![fix - f85343925](https://img.shields.io/badge/f85343925-fix-green)](https://github.com/angular/angular-cli/commit/f8534392552f4896ee9449939cdc705010331e3d) | support all X-Forwarded-* headers when trustProxyHeaders is true | | [![fix - 8471ba634](https://img.shields.io/badge/8471ba634-fix-green)](https://github.com/angular/angular-cli/commit/8471ba63433d87ba3e59af622ed9cfa89b732cd9) | support server-side rendering configuration options | | [![refactor - 50b16a65b](https://img.shields.io/badge/50b16a65b-refactor-yellow)](https://github.com/angular/angular-cli/commit/50b16a65b1be1f9c2ec11d578240a8884518d517) | deprecate CommonEngine APIs | | [![refactor - 27cd35561](https://img.shields.io/badge/27cd35561-refactor-yellow)](https://github.com/angular/angular-cli/commit/27cd355619aad140dfc221c6bd161f4a981e0f3b) | remove CSR fallback for invalid hosts | ### @ngtools/webpack | Commit | Description | | -- | -- | | [![refactor - 547ca515b](https://img.shields.io/badge/547ca515b-refactor-yellow)](https://github.com/angular/angular-cli/commit/547ca515b707c283489a3f088d86fc84807d830d) | deprecate @ngtools/webpack loader and plugin | ## Breaking Changes ### - Node.js v20 is no longer supported. The minimum supported Node.js versions are now v22.22.0 and v24.13.1. - The `@angular-devkit/architect-cli` package is no longer available. The `architect` CLI tool has been moved to the `@angular-devkit/architect` package. - The experimental `@angular-devkit/build-angular:jest` and `@angular-devkit/build-angular:web-test-runner` builders have been removed. ### @angular/build - The `@angular/build:dev-server (ng serve)` now assigns the highest priority to the `PORT` environment variable. This value will override any port configurations specified in `angular.json` or via the `--port` command-line flag. This includes the default port 4200. - `istanbul-lib-instrument` is now an optional peer dependency. Projects using karma with code coverage enabled will need to ensure that istanbul-lib-instrument is installed. Note: `ng update` will automatically add this dependency during the update process. ### @angular/ssr - The server no longer falls back to Client-Side Rendering (CSR) when a request fails host validation. Requests with unrecognized 'Host' headers will now return a 400 Bad Request status code. Users must ensure all valid hosts are correctly configured in the 'allowedHosts' option. ## Deprecations ### @angular-devkit/build-angular - Webpack builders in build-angular are deprecated. Use @angular/build builders instead. ### @angular-devkit/build-webpack - Webpack builders in build-webpack are deprecated. Use @angular/build builders instead. ### @angular/ssr - CommonEngine APIs are deprecated in favor of AngularNodeAppEngine or AngularAppEngine. ### @ngtools/webpack - @ngtools/webpack loader and plugin are deprecated. Use @angular/build instead. -- View it on GitHub: https://github.com/angular/angular-cli/releases/tag/v22.0.0 You are receiving this because you are subscribed to this thread. Message ID: <angular/angular-cli/releases/333738921@github.com>

github.com
Related Topics: Angular
1 comments