Skip to content
This repository was archived by the owner on Jul 2, 2026. It is now read-only.

build: update cross-repo angular dependencies to v22 - #29

Open
angular-robot wants to merge 1 commit into
angular:mainfrom
angular-robot:ng-renovate/cross-repo-angular-dependencies
Open

build: update cross-repo angular dependencies to v22#29
angular-robot wants to merge 1 commit into
angular:mainfrom
angular-robot:ng-renovate/cross-repo-angular-dependencies

Conversation

@angular-robot

@angular-robotangular-robot commented Mar 4, 2026

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

PackageChangeAgeAdoptionPassingConfidence
@angular/build^21.0.0^22.0.0-nextageadoptionpassingconfidence
@angular/cli^21.0.0^22.0.0-nextageadoptionpassingconfidence
@angular/common (source)^21.0.0^22.0.0-nextageadoptionpassingconfidence
@angular/compiler (source)^21.0.0^22.0.0-nextageadoptionpassingconfidence
@angular/compiler-cli (source)^21.0.0^22.0.0-nextageadoptionpassingconfidence
@angular/core (source)^21.0.0^22.0.0-nextageadoptionpassingconfidence
@angular/forms (source)^21.0.0^22.0.0-nextageadoptionpassingconfidence
@angular/platform-browser (source)^21.0.0^22.0.0-nextageadoptionpassingconfidence
@angular/router (source)^21.0.0^22.0.0-nextageadoptionpassingconfidence

  • If you want to rebase/retry this PR, check this box

Release Notes

angular/angular-cli (@​angular/build)

v22.0.0-next.5

Compare Source

Breaking Changes

@​angular/build
  • 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.
@​schematics/angular
CommitTypeDescription
be60a63b7featadd migrate-karma-to-vitest update migration
43505066efeatadd migration to add istanbul-lib-instrument
470e1f937fixadd istanbul-lib-instrument to application/library generator dependencies
@​angular/cli
CommitTypeDescription
422c8183efixhandle missing package manager during analytics initialization
@​angular/build
CommitTypeDescription
3007f46b7featmove istanbul-lib-instrument to optional peer dependency
829bdc61dfixpreserve coverage ignore comments in development
e2f95fc19fixshow clear error when styleUrl points to a TypeScript file

v22.0.0-next.4

Compare Source

@​angular/cli
CommitTypeDescription
87d99e98bfeatsupport custom port in MCP devserver start tool
4815a5417fixfix sourceRoot resolution for MCP projects tool
@​angular/build
CommitTypeDescription
21d8aa474fixensure transitive SCSS partial errors are tracked in watch mode
e558117b7fixensure Vitest mock patching is executed only once
81e4faae7fixpreserve error stack traces during prerendering
8dd341e21fixscope CHROME_BIN executable path to individual playwright instances
@​angular/ssr
CommitTypeDescription
e7e434ca3fixallow underscores in host validation
bcd99f944fixpatch Headers.forEach in cloneRequestAndPatchHeaders

v22.0.0-next.3

Compare Source

@​angular/cli
CommitTypeDescription
4bbd1bf53fixrestore console methods after logger completes
@​schematics/angular
CommitTypeDescription
f98cc82ebfeatrely on strict template default in generated workspaces
@​angular/build
CommitTypeDescription
01bd5d064fixdeduplicate and merge coverage excludes with vitest
355ebe8c5fixprevent reporter duplicates by explicitly overriding Vitest configuration
1a8376beefixremove default for unit-test coverage option
a203dcf1dfixwarn about performance of test.exclude in vitest configuration
ec10eb365fixwarn when vitest watch config conflicts with builder
@​angular/ssr
CommitTypeDescription
ca6f08c6efixapply forwarded prefix and vary header in accept-language redirects
3b99ee140fixsupport '*' in allowedHosts and warn about security risks

v22.0.0-next.2

Compare Source

@​angular/cli
CommitTypeDescription
c9f07db8ffixuse parsed package name for migrate-only updates
@​schematics/angular
CommitTypeDescription
6572a6944fixdefault components to OnPush change detection
@​angular/build
CommitTypeDescription
9b33e1781fixalias createRequire banner import to avoid duplicate binding
4643a8a3bfixonly use external packages for polyfills when no local files are present
@​angular/ssr
CommitTypeDescription
4d564f66ffixdisallow x-forwarded-prefix starting with a backslash
ff1160e30fixensure unique values in redirect response Vary header
998b8298efixsupport custom headers in redirect responses

v22.0.0-next.1

Compare Source

Breaking Changes

@​angular/build
  • 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.
@​schematics/angular
CommitTypeDescription
b3d838dfdfixreplace deprecated ChangeDetectionStrategy.Default with Eager
@​angular/cli
CommitTypeDescription
598a690a0fixconditionally quote package names when adding dependencies based on host requirements
b5fb457e1fixpreserve exact version in ng add when requested
93c3eb8fbfixupdate zoneless migration tool to handle ChangeDetectionStrategy.Eager
ad0fd5f41perfavoid redundant package version resolution in ng add
a39a33128perfcache root manifest and resolve restricted package exports in ng add
@​angular/build
CommitTypeDescription
fe720cab6featadd process.env.PORT support to the dev server
af2c7e944featrename experimentalPlatform to platform in application builder
6324133c2fixnormalize line endings for CSP hash generation
839c725c2fixpass process environment variables to prerender workers
f30f8900efixresolve assets correctly during i18n prerendering

v22.0.0-next.0

Compare Source

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.
@​angular/cli
CommitTypeDescription
a5c7c0b5ffixreflect new minimum supported Node version in ng.js

CommitTypeDescription
d0e9e8163buildupdate minimum supported Node.js versions
1f21e89d9refactorremove @angular-devkit/architect-cli package
b4885b851refactorremove experimental Jest and Web Test Runner builders
@​angular/build
CommitTypeDescription
414320d02featsupport runtime Zone.js detection in Vitest unit test runner
f190263a4fixallow any CHROME_BIN for vitest playwright provider
@​angular/ssr
CommitTypeDescription
27cd35561refactorremove CSR fallback for invalid hosts

v21.2.7

Compare Source

@​angular/cli
CommitTypeDescription
971041aa1fixhandle missing package manager during analytics initialization
@​angular/build
CommitTypeDescription
365cce81dfixpreserve coverage ignore comments in development
9f74660c3fixshow clear error when styleUrl points to a TypeScript file

v21.2.6

Compare Source

@​angular/cli
CommitTypeDescription
ea14f28ccfixfix sourceRoot resolution for MCP projects tool
@​angular/build
CommitTypeDescription
9136eb376fixensure transitive SCSS partial errors are tracked in watch mode
8186faa11fixensure Vitest mock patching is executed only once
107d1a9e2fixpreserve error stack traces during prerendering
b7f457253fixscope CHROME_BIN executable path to individual playwright instances

v21.2.5

Compare Source

@​angular/cli
CommitTypeDescription
cadf9b201featsupport custom port in MCP devserver start tool
@​angular/ssr
CommitTypeDescription
bbc255419fixallow underscores in host validation
b1fe66a7ffixpatch Headers.forEach in cloneRequestAndPatchHeaders

v21.2.4

Compare Source

@​angular/cli
CommitTypeDescription
a7787d092fixrestore console methods after logger completes
@​angular/build
CommitTypeDescription
7170599abfixdeduplicate and merge coverage excludes with vitest
c73f13797fixprevent reporter duplicates by explicitly overriding Vitest configuration
956ccaa71fixremove default for unit-test coverage option
36978db7efixwarn about performance of test.exclude in vitest configuration
6ec36f5befixwarn when vitest watch config conflicts with builder
@​angular/ssr
CommitTypeDescription
9bdf782c8fixapply forwarded prefix and vary header in accept-language redirects
628c58672fixsupport '*' in allowedHosts and warn about security risks

v21.2.3

Compare Source

@​angular/cli
CommitTypeDescription
1505164bbfixuse parsed package name for migrate-only updates
@​angular/build
CommitTypeDescription
75fa94cadfixalias createRequire banner import to avoid duplicate binding
d009aa1ecfixonly use external packages for polyfills when no local files are present
@​angular/ssr
CommitTypeDescription
f3e0e82c2fixdisallow x-forwarded-prefix starting with a backslash
b8bcd59b4fixensure unique values in redirect response Vary header
84385411dfixsupport custom headers in redirect responses

v21.2.2

Compare Source

@​angular/cli
CommitTypeDescription
8447d9132fixconditionally quote package names when adding dependencies based on host requirements
d2f209823fixpreserve exact version in ng add when requested
28f4d684aperfavoid redundant package version resolution in ng add
@​angular/build
CommitTypeDescription
06010294ffixallow any CHROME_BIN for vitest playwright provider
8dec0c62bfixnormalize line endings for CSP hash generation
58688ebd7fixpass process environment variables to prerender workers
4ca61647ffixresolve assets correctly during i18n prerendering

v21.2.1

Compare Source

@​angular/cli
CommitTypeDescription
ae4c28d00fixcorrect dev dependency detection logic in ng add
465073bc1fixdisable npm update notifier in package manager host
36270634ffixensure group members are updated to targeted version
d87dba6affixignore unknown files when formatting schematic changes
@​schematics/angular
CommitTypeDescription
72d466aa0fixprevent adding test dependencies when minimal option is enabled
@​angular-devkit/build-angular
CommitTypeDescription
0019d1c8efixupdate copy-webpack-plugin to v14.0.0
@​angular/build
CommitTypeDescription
6ad860863fixbundle polyfills to preserve execution order in dev server
d17397375fixconditionally allow vi.mock for non-relative imports
0d49f86edfixresolve style include paths relative to ng-package.json in unit-test builder
584f6a2d9fixtreat empty browsers array as undefined in unit-test builder
6699cdc9bperffix memory leak in ng serve with i18n
@​angular/ssr
CommitTypeDescription
43a9dfa66fiximprove header validation logic
dee3717b3fixintroduce DI token to signal route discovery process

v21.2.0

Compare Source

@​angular/cli
CommitTypeDescription
0dd04f289featadd markdown files to Prettier's formatting list
fbae1b6abfeatautomatic formatting files modified by schematics
91b9d281ffeatintegrate file formatting into update migrations
98a24d040featstandardize MCP tools around workspace/project options
d9cd609c5fixcorrectly parse scoped packages in yarn classic list output
5b05f2500fixenable shell option for Prettier execution on Windows platforms
25b8a157dfixquote complex range specifiers in package manager
6f29a8c35fixrenamed files by their new path in the schematic workflow
201a036f2fixsimplify Angular version compatibility checks and add special handling for local builds of new major versions
cdd26bb66fixvalidate package manager version using semver.valid and throw an error if invalid
bc363af8bperfoptimize package manager discovery with stat-based probing
@​schematics/angular
CommitTypeDescription
aa7381efdfeatadd a '.prettierrc' file to generated workspaces and add Prettier as dev dependency
f80db6fb7featadd ng-add support for Vitest browser providers
5d1df50d8fixadd actionable feedback to vitest-browser schematic
@​angular/build
CommitTypeDescription
ece30f235featadd headless option to unit-test builder
cad7a7c0ffeatrun vitest browser with playwright with OS theme
0b4982720fixadjust sourcemap sources when Vitest wrapper is bypassed
1f114a9e8fixbundle setup files in unit-test builder for Vitest
fd5cb28c8fixexplicitly fail when using Vitest runtime mocking
dc899e8a5fixnormalize allowedHosts in dev-server
26bbea12ffixserve extensionless assets without transformation

v21.1.5

Compare Source

@​angular/ssr
CommitTypeDescription
8695d6063fixprevent open redirect via X-Forwarded-Prefix header
e4d445ec6fixvalidate host headers to prevent header-based SSRF

v21.1.4

Compare Source

@​angular/build
CommitTypeDescription
7a9dd6b47fixcorrectly resolve absolute setup file paths in Vitest

v21.1.3

Compare Source

@​schematics/angular
CommitTypeDescription
a18196a10fixwarn when production configuration is missing for service worker
@​angular-devkit/build-angular
CommitTypeDescription
6d05d27cafixaddress Node.js deprecation DEP0190

v21.1.2

Compare Source

@​angular-devkit/schematics-cli
CommitTypeDescription
e7458c81dfixAdd boolean type inference for 'true' and 'false' string values in argument parsing
@​angular-devkit/architect
CommitTypeDescription
d66f1fe64fixAdd boolean type inference for 'true' and 'false' string values in argument parsing
@​angular/build
CommitTypeDescription
80911af67fixloosen Vitest dependency checks when runnerConfig is used
2d30639d3fixsupport merging coverage thresholds with Vitest runnerConfig

v21.1.1

Compare Source

@​angular/cli

| Commit | Type | Description |
| ----

@angular-robot

angular-robot commented Mar 4, 2026

Copy link
Copy Markdown
ContributorAuthor

⚠️ Artifact update problem

Renovate failed to update artifacts related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package.json
Command failed: bazel mod deps --lockfile_mode=update
2026/03/05 19:50:46 Downloading https://releases.bazel.build/9.0.0/release/bazel-9.0.0-linux-x86_64...
WARNING: Invoking Bazel in batch mode since it is not invoked from within a workspace (below a directory having a MODULE.bazel file).
Extracting Bazel installation...
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
ERROR: The 'mod' command is only supported from within a workspace (below a directory having a MODULE.bazel file).
See documentation at https://bazel.build/concepts/build-ref#workspace
File name: package.json
Command failed: bazel mod deps --lockfile_mode=update
WARNING: Invoking Bazel in batch mode since it is not invoked from within a workspace (below a directory having a MODULE.bazel file).
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
ERROR: The 'mod' command is only supported from within a workspace (below a directory having a MODULE.bazel file).
See documentation at https://bazel.build/concepts/build-ref#workspace
File name: package.json
Command failed: bazel mod deps --lockfile_mode=update
WARNING: Invoking Bazel in batch mode since it is not invoked from within a workspace (below a directory having a MODULE.bazel file).
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
ERROR: The 'mod' command is only supported from within a workspace (below a directory having a MODULE.bazel file).
See documentation at https://bazel.build/concepts/build-ref#workspace
File name: package.json
Command failed: bazel mod deps --lockfile_mode=update
WARNING: Invoking Bazel in batch mode since it is not invoked from within a workspace (below a directory having a MODULE.bazel file).
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
ERROR: The 'mod' command is only supported from within a workspace (below a directory having a MODULE.bazel file).
See documentation at https://bazel.build/concepts/build-ref#workspace
File name: package.json
Command failed: bazel mod deps --lockfile_mode=update
WARNING: Invoking Bazel in batch mode since it is not invoked from within a workspace (below a directory having a MODULE.bazel file).
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
ERROR: The 'mod' command is only supported from within a workspace (below a directory having a MODULE.bazel file).
See documentation at https://bazel.build/concepts/build-ref#workspace
File name: package.json
Command failed: bazel mod deps --lockfile_mode=update
WARNING: Invoking Bazel in batch mode since it is not invoked from within a workspace (below a directory having a MODULE.bazel file).
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
ERROR: The 'mod' command is only supported from within a workspace (below a directory having a MODULE.bazel file).
See documentation at https://bazel.build/concepts/build-ref#workspace
File name: package.json
Command failed: bazel mod deps --lockfile_mode=update
WARNING: Invoking Bazel in batch mode since it is not invoked from within a workspace (below a directory having a MODULE.bazel file).
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
ERROR: The 'mod' command is only supported from within a workspace (below a directory having a MODULE.bazel file).
See documentation at https://bazel.build/concepts/build-ref#workspace
File name: package.json
Command failed: bazel mod deps --lockfile_mode=update
WARNING: Invoking Bazel in batch mode since it is not invoked from within a workspace (below a directory having a MODULE.bazel file).
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
ERROR: The 'mod' command is only supported from within a workspace (below a directory having a MODULE.bazel file).
See documentation at https://bazel.build/concepts/build-ref#workspace
File name: package.json
Command failed: bazel mod deps --lockfile_mode=update
WARNING: Invoking Bazel in batch mode since it is not invoked from within a workspace (below a directory having a MODULE.bazel file).
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
ERROR: The 'mod' command is only supported from within a workspace (below a directory having a MODULE.bazel file).
See documentation at https://bazel.build/concepts/build-ref#workspace

See associated pull request for more information.
@angular-robot
angular-robotforce-pushed the ng-renovate/cross-repo-angular-dependencies branch from 2ad6adb to b653499CompareMarch 5, 2026 19:51
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@angular-robot