@angular-devkit/core
22.2.5 · 28 Oct 2026MIT24.5M / weekRepositorynpmAtom feed
22.2.5 is the newest release of 22.x.
The AI is summarizing this release…
In short
6 breaking4 deprecated
- breaking
Node.js v20 is no longer supported. The minimum supported Node.js versions are now v22.22.0 and v24.13.1.
- breaking
The
@angular-devkit/architect-clipackage is no longer available. ThearchitectCLI tool has been moved to the@angular-devkit/architectpackage. - breaking
The experimental
@angular-devkit/build-angular:jestand@angular-devkit/build-angular:web-test-runnerbuilders have been removed. - breaking
The
@angular/build:dev-server (ng serve)now assigns the highest priority to thePORTenvironment variable. This value will override any port configurations specified inangular.jsonor via the--portcommand-line flag. This includes the default port 4200. - breaking
istanbul-lib-instrumentis now an optional peer dependency. - breaking
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.
- deprecated
Webpack builders in build-angular are deprecated. Use @angular/build builders instead.
- deprecated
Webpack builders in build-webpack are deprecated. Use @angular/build builders instead.
Release note
Breaking Changes
- breaking
Node.js v20 is no longer supported. The minimum supported Node.js versions are now v22.22.0 and v24.13.1.
- breaking
The
@angular-devkit/architect-clipackage is no longer available. ThearchitectCLI tool has been moved to the@angular-devkit/architectpackage. - breaking
The experimental
@angular-devkit/build-angular:jestand@angular-devkit/build-angular:web-test-runnerbuilders have been removed.
@angular/build
- breaking
The
@angular/build:dev-server (ng serve)now assigns the highest priority to thePORTenvironment variable. This value will override any port configurations specified inangular.jsonor via the--portcommand-line flag. This includes the default port 4200. - breaking
istanbul-lib-instrumentis now an optional peer dependency.
Projects using karma with code coverage enabled will need to ensure that istanbul-lib-instrument is installed. Note:ng updatewill automatically add this dependency during the update process.
@angular/ssr
- breaking
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
- deprecated
Webpack builders in build-angular are deprecated. Use @angular/build builders instead.
@angular-devkit/build-webpack
- deprecated
Webpack builders in build-webpack are deprecated. Use @angular/build builders instead.
@angular/ssr
- deprecated
CommonEngine APIs are deprecated in favor of AngularNodeAppEngine or AngularAppEngine.
@ngtools/webpack
- deprecated
@ngtools/webpack loader and plugin are deprecated. Use @angular/build instead.
@angular/cli
| Commit | Type | Description |
|---|---|---|
| 58c0978f6 | feat | add support for Node.js 26.0.0 |
| a5c7c0b5f | fix | reflect new minimum supported Node version in ng.js |
| a5e1e48db | fix | update odd-numbered Node.js version warning condition for future releases |
| 93c3eb8fb | fix | update zoneless migration tool to handle ChangeDetectionStrategy.Eager |
| a39a33128 | perf | cache root manifest and resolve restricted package exports in ng add |
@schematics/angular
| Commit | Type | Description |
|---|---|---|
| be60a63b7 | feat | add migrate-karma-to-vitest update migration |
| 43505066e | feat | add migration to add istanbul-lib-instrument |
| b2f7a038b | feat | conditionally install istanbul coverage provider for Vitest migration |
| d227e6985 | feat | migrate fake async to Vitest fake timers |
| d2aa9ede5 | feat | migrate fakeAsync's flush behavior when used in beforeEach |
| f98cc82eb | feat | rely on strict template default in generated workspaces |
| c9f408153 | feat | set up fake timers in beforeEach instead of beforeAll |
| de630c2fc | feat | stabilize refactor-jasmine-vitest schematic |
| 8d0805dd1 | feat | update TSConfig globals during karma to vitest migration |
| 470e1f937 | fix | add istanbul-lib-instrument to application/library generator dependencies |
| dc1238e5a | fix | add trusted-proxy-headers migration |
| 6572a6944 | fix | default components to OnPush change detection |
| aed407db8 | fix | defer karma config deletion in Karma to Vitest migration |
| 4fbc60891 | fix | preserve Jasmine stub-by-default semantics for bare spies |
| b3d838dfd | fix | replace deprecated ChangeDetectionStrategy.Default with Eager |
| a7ac8e5f0 | fix | support spy call arguments migration in refactor-jasmine-vitest |
| 7fb59eaa6 | fix | use service decorator in ng generate |
| Commit | Type | Description |
|---|---|---|
| d0e9e8163 | build | update minimum supported Node.js versions |
| 1f21e89d9 | refactor | remove @angular-devkit/architect-cli package |
| b4885b851 | refactor | remove experimental Jest and Web Test Runner builders |
@angular-devkit/build-angular
| Commit | Type | Description |
|---|---|---|
| b7940dbcb | refactor | deprecate Webpack builders |
@angular-devkit/build-webpack
| Commit | Type | Description |
|---|---|---|
| 3d5daa45e | refactor | deprecate webpack and webpack-dev-server builders |
@angular/build
| Commit | Type | Description |
|---|---|---|
| e9aa7967b | feat | add isolate option to unit-test builder |
| fe720cab6 | feat | add process.env.PORT support to the dev server |
| 0781f7498 | feat | add quiet option to suppress build noise in unit tests |
| cd2ad3c19 | feat | enable chunk optimization by default with heuristics |
| 3007f46b7 | feat | move istanbul-lib-instrument to optional peer dependency |
| af2c7e944 | feat | rename experimentalPlatform to platform in application builder |
| 58c7c7a9d | feat | subresource integrity validation for dynamically loaded modules |
| 73233dc5f | feat | support Istanbul coverage in Vitest runner |
| 414320d02 | feat | support runtime Zone.js detection in Vitest unit test runner |
| b85ec6798 | fix | allow configuring Access-Control-Allow-Origin via headers option |
| edfa782d5 | fix | use dynamic TestComponentRenderer for Vitest |
@angular/ssr
| Commit | Type | Description |
|---|---|---|
| 5adc92541 | fix | enforce explicit opt-in for proxy headers |
| f85343925 | fix | support all X-Forwarded-* headers when trustProxyHeaders is true |
| 8471ba634 | fix | support server-side rendering configuration options |
| 50b16a65b | refactor | deprecate CommonEngine APIs |
| 27cd35561 | refactor | remove CSR fallback for invalid hosts |
@ngtools/webpack
| Commit | Type | Description |
|---|---|---|
| 547ca515b | refactor | deprecate @ngtools/webpack loader and plugin |