Releases: angular/angular-cli
Releases Β· angular/angular-cli
22.0.0-next.1
@angular/cli
@schematics/angular
| Commit | Description |
|---|---|
replace deprecated ChangeDetectionStrategy.Default with Eager |
@angular/build
Breaking Changes
@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.
21.2.2
@angular/cli
@angular/build
20.3.20
22.0.0-next.0
@angular/cli
| Commit | Description |
|---|---|
| reflect new minimum supported Node version in ng.js |
| Commit | Description |
|---|---|
| update minimum supported Node.js versions | |
remove @angular-devkit/architect-cli package |
|
| remove experimental Jest and Web Test Runner builders |
@angular/build
| Commit | Description |
|---|---|
| support runtime Zone.js detection in Vitest unit test runner | |
allow any CHROME_BIN for vitest playwright provider |
@angular/ssr
| Commit | Description |
|---|---|
| remove CSR fallback for invalid hosts |
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/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.
21.2.1
@schematics/angular
| Commit | Description |
|---|---|
| prevent adding test dependencies when minimal option is enabled |
@angular/cli
@angular-devkit/build-angular
| Commit | Description |
|---|---|
| update copy-webpack-plugin to v14.0.0 |
@angular/build
@angular/ssr
| Commit | Description |
|---|---|
| improve header validation logic | |
| introduce DI token to signal route discovery process |