Packages

@angular-devkit/core

22.2.5 · 28 Oct 2026MIT24.5M / weekRepositorynpmAtom feed

Your version

22.0.0

major3 Jun 2026Where it was published

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-cli package is no longer available. The architect CLI tool has been moved to the @angular-devkit/architect package.

  • breaking

    The experimental @angular-devkit/build-angular:jest and @angular-devkit/build-angular:web-test-runner builders have been removed.

  • breaking

    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.

  • breaking

    istanbul-lib-instrument is 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-cli package is no longer available. The architect CLI tool has been moved to the @angular-devkit/architect package.

  • breaking

    The experimental @angular-devkit/build-angular:jest and @angular-devkit/build-angular:web-test-runner builders have been removed.

@angular/build

  • breaking

    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.

  • breaking

    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

  • 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

CommitTypeDescription
58c0978f6featadd support for Node.js 26.0.0
a5c7c0b5ffixreflect new minimum supported Node version in ng.js
a5e1e48dbfixupdate odd-numbered Node.js version warning condition for future releases
93c3eb8fbfixupdate zoneless migration tool to handle ChangeDetectionStrategy.Eager
a39a33128perfcache root manifest and resolve restricted package exports in ng add

@schematics/angular

CommitTypeDescription
be60a63b7featadd migrate-karma-to-vitest update migration
43505066efeatadd migration to add istanbul-lib-instrument
b2f7a038bfeatconditionally install istanbul coverage provider for Vitest migration
d227e6985featmigrate fake async to Vitest fake timers
d2aa9ede5featmigrate fakeAsync's flush behavior when used in beforeEach
f98cc82ebfeatrely on strict template default in generated workspaces
c9f408153featset up fake timers in beforeEach instead of beforeAll
de630c2fcfeatstabilize refactor-jasmine-vitest schematic
8d0805dd1featupdate TSConfig globals during karma to vitest migration
470e1f937fixadd istanbul-lib-instrument to application/library generator dependencies
dc1238e5afixadd trusted-proxy-headers migration
6572a6944fixdefault components to OnPush change detection
aed407db8fixdefer karma config deletion in Karma to Vitest migration
4fbc60891fixpreserve Jasmine stub-by-default semantics for bare spies
b3d838dfdfixreplace deprecated ChangeDetectionStrategy.Default with Eager
a7ac8e5f0fixsupport spy call arguments migration in refactor-jasmine-vitest
7fb59eaa6fixuse service decorator in ng generate

CommitTypeDescription
d0e9e8163buildupdate minimum supported Node.js versions
1f21e89d9refactorremove @angular-devkit/architect-cli package
b4885b851refactorremove experimental Jest and Web Test Runner builders

@angular-devkit/build-angular

CommitTypeDescription
b7940dbcbrefactordeprecate Webpack builders

@angular-devkit/build-webpack

CommitTypeDescription
3d5daa45erefactordeprecate webpack and webpack-dev-server builders

@angular/build

CommitTypeDescription
e9aa7967bfeatadd isolate option to unit-test builder
fe720cab6featadd process.env.PORT support to the dev server
0781f7498featadd quiet option to suppress build noise in unit tests
cd2ad3c19featenable chunk optimization by default with heuristics
3007f46b7featmove istanbul-lib-instrument to optional peer dependency
af2c7e944featrename experimentalPlatform to platform in application builder
58c7c7a9dfeatsubresource integrity validation for dynamically loaded modules
73233dc5ffeatsupport Istanbul coverage in Vitest runner
414320d02featsupport runtime Zone.js detection in Vitest unit test runner
b85ec6798fixallow configuring Access-Control-Allow-Origin via headers option
edfa782d5fixuse dynamic TestComponentRenderer for Vitest

@angular/ssr

CommitTypeDescription
5adc92541fixenforce explicit opt-in for proxy headers
f85343925fixsupport all X-Forwarded-* headers when trustProxyHeaders is true
8471ba634fixsupport server-side rendering configuration options
50b16a65brefactordeprecate CommonEngine APIs
27cd35561refactorremove CSR fallback for invalid hosts

@ngtools/webpack

CommitTypeDescription
547ca515brefactordeprecate @ngtools/webpack loader and plugin