@schematics/angular
@angular/cli
| Commit | Description |
|---|---|
| update minimum supported Node.js versions | |
remove @angular-devkit/architect-cli package
| |
| remove experimental Jest and Web Test Runner builders |
@angular-devkit/build-angular
| Commit | Description |
|---|---|
| deprecate Webpack builders |
@angular-devkit/build-webpack
| Commit | Description |
|---|---|
| deprecate webpack and webpack-dev-server builders |
@angular/build
@angular/ssr
@ngtools/webpack
| Commit | Description |
|---|---|
| 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-clipackage is no longer available. ThearchitectCLI tool has been moved to the@angular-devkit/architectpackage. - The experimental
@angular-devkit/build-angular:jestand@angular-devkit/build-angular:web-test-runnerbuilders have been removed.
@angular/build
- 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. 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
- 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.