Skip to content

Releases: angular/angular-cli

22.0.0-next.0

05 Mar 19:29

Choose a tag to compare

22.0.0-next.0 Pre-release
Pre-release

@angular/cli

Commit Description
fix - a5c7c0b5f reflect new minimum supported Node version in ng.js

Commit Description
build - d0e9e8163 update minimum supported Node.js versions
refactor - 1f21e89d9 remove @angular-devkit/architect-cli package
refactor - b4885b851 remove experimental Jest and Web Test Runner builders

@angular/build

Commit Description
feat - 414320d02 support runtime Zone.js detection in Vitest unit test runner
fix - f190263a4 allow any CHROME_BIN for vitest playwright provider

@angular/ssr

Commit Description
refactor - 27cd35561 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-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/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

05 Mar 11:16

Choose a tag to compare

@schematics/angular

Commit Description
fix - 72d466aa0 prevent adding test dependencies when minimal option is enabled

@angular/cli

Commit Description
fix - ae4c28d00 correct dev dependency detection logic in ng add
fix - 465073bc1 disable npm update notifier in package manager host
fix - 36270634f ensure group members are updated to targeted version
fix - d87dba6af ignore unknown files when formatting schematic changes

@angular-devkit/build-angular

Commit Description
fix - 0019d1c8e update copy-webpack-plugin to v14.0.0

@angular/build

Commit Description
fix - 6ad860863 bundle polyfills to preserve execution order in dev server
fix - d17397375 conditionally allow vi.mock for non-relative imports
fix - 0d49f86ed resolve style include paths relative to ng-package.json in unit-test builder
fix - 584f6a2d9 treat empty browsers array as undefined in unit-test builder
perf - 6699cdc9b fix memory leak in ng serve with i18n

@angular/ssr

Commit Description
fix - 43a9dfa66 improve header validation logic
fix - dee3717b3 introduce DI token to signal route discovery process

20.3.19

04 Mar 18:52

Choose a tag to compare

@angular-devkit/build-angular

Commit Description
fix - 0299b4d1a update copy-webpack-plugin to v14.0.0

20.3.18

26 Feb 21:13

Choose a tag to compare

@angular-devkit/core

Commit Description
fix - 39596d529 update ajv to 8.18.0

@angular/build

Commit Description
fix - f668e2778 update rollup to 4.59.0

19.2.22

26 Feb 19:46

Choose a tag to compare

@angular-devkit/core

Commit Description
fix - 0a01aecd9 update ajv to 8.18.0

@angular/build

Commit Description
fix - 79f59412a update rollup to 4.59.0

21.2.0

25 Feb 22:05

Choose a tag to compare

@schematics/angular

Commit Description
feat - aa7381efd add a '.prettierrc' file to generated workspaces and add Prettier as dev dependency
feat - f80db6fb7 add ng-add support for Vitest browser providers
fix - 5d1df50d8 add actionable feedback to vitest-browser schematic

@angular/cli

Commit Description
feat - 0dd04f289 add markdown files to Prettier's formatting list
feat - fbae1b6ab automatic formatting files modified by schematics
feat - 91b9d281f integrate file formatting into update migrations
feat - 98a24d040 standardize MCP tools around workspace/project options
fix - d9cd609c5 correctly parse scoped packages in yarn classic list output
fix - 5b05f2500 enable shell option for Prettier execution on Windows platforms
fix - 25b8a157d quote complex range specifiers in package manager
fix - 6f29a8c35 renamed files by their new path in the schematic workflow
fix - 201a036f2 simplify Angular version compatibility checks and add special handling for local builds of new major versions
fix - cdd26bb66 validate package manager version using semver.valid and throw an error if invalid
perf - bc363af8b optimize package manager discovery with stat-based probing

@angular/build

Commit Description
feat - ece30f235 add headless option to unit-test builder
feat - cad7a7c0f run vitest browser with playwright with OS theme
fix - 0b4982720 adjust sourcemap sources when Vitest wrapper is bypassed
fix - 1f114a9e8 bundle setup files in unit-test builder for Vitest
fix - fd5cb28c8 explicitly fail when using Vitest runtime mocking
fix - dc899e8a5 normalize allowedHosts in dev-server
fix - 26bbea12f serve extensionless assets without transformation

21.2.0-rc.2

24 Feb 10:43

Choose a tag to compare

21.2.0-rc.2 Pre-release
Pre-release

@angular/cli

Commit Description
fix - 201a036f2 simplify Angular version compatibility checks and add special handling for local builds of new major versions

21.2.0-rc.1

23 Feb 17:26

Choose a tag to compare

21.2.0-rc.1 Pre-release
Pre-release

@angular/cli

Commit Description
fix - cdd26bb66 validate package manager version using semver.valid and throw an error if invalid

@angular/ssr

Commit Description
fix - cf5a72d33 prevent open redirect via X-Forwarded-Prefix header
fix - f78f38827 validate host headers to prevent header-based SSRF

21.1.5

23 Feb 17:16

Choose a tag to compare

@angular/ssr

Commit Description
fix - 8695d6063 prevent open redirect via X-Forwarded-Prefix header
fix - e4d445ec6 validate host headers to prevent header-based SSRF

20.3.17

23 Feb 17:12

Choose a tag to compare

@angular/ssr

Commit Description
fix - 8700e18d7 prevent open redirect via X-Forwarded-Prefix header
fix - 67582a946 validate host headers to prevent header-based SSRF