Skip to content

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

Open
angular-robot wants to merge 1 commit intoangular: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 intoangular:mainfrom
angular-robot:ng-renovate/cross-repo-angular-dependencies

Conversation

@angular-robot
Copy link
Copy Markdown
Contributor

@angular-robot angular-robot commented Mar 4, 2026

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@angular/build ^21.0.0^22.0.0-next age adoption passing confidence
@angular/cli ^21.0.0^22.0.0-next age adoption passing confidence
@angular/common (source) ^21.0.0^22.0.0-next age adoption passing confidence
@angular/compiler (source) ^21.0.0^22.0.0-next age adoption passing confidence
@angular/compiler-cli (source) ^21.0.0^22.0.0-next age adoption passing confidence
@angular/core (source) ^21.0.0^22.0.0-next age adoption passing confidence
@angular/forms (source) ^21.0.0^22.0.0-next age adoption passing confidence
@angular/platform-browser (source) ^21.0.0^22.0.0-next age adoption passing confidence
@angular/router (source) ^21.0.0^22.0.0-next age adoption passing confidence

  • 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
Commit Type Description
be60a63b7 feat add migrate-karma-to-vitest update migration
43505066e feat add migration to add istanbul-lib-instrument
470e1f937 fix add istanbul-lib-instrument to application/library generator dependencies
@​angular/cli
Commit Type Description
422c8183e fix handle missing package manager during analytics initialization
@​angular/build
Commit Type Description
3007f46b7 feat move istanbul-lib-instrument to optional peer dependency
829bdc61d fix preserve coverage ignore comments in development
e2f95fc19 fix show clear error when styleUrl points to a TypeScript file

v22.0.0-next.4

Compare Source

@​angular/cli
Commit Type Description
87d99e98b feat support custom port in MCP devserver start tool
4815a5417 fix fix sourceRoot resolution for MCP projects tool
@​angular/build
Commit Type Description
21d8aa474 fix ensure transitive SCSS partial errors are tracked in watch mode
e558117b7 fix ensure Vitest mock patching is executed only once
81e4faae7 fix preserve error stack traces during prerendering
8dd341e21 fix scope CHROME_BIN executable path to individual playwright instances
@​angular/ssr
Commit Type Description
e7e434ca3 fix allow underscores in host validation
bcd99f944 fix patch Headers.forEach in cloneRequestAndPatchHeaders

v22.0.0-next.3

Compare Source

@​angular/cli
Commit Type Description
4bbd1bf53 fix restore console methods after logger completes
@​schematics/angular
Commit Type Description
f98cc82eb feat rely on strict template default in generated workspaces
@​angular/build
Commit Type Description
01bd5d064 fix deduplicate and merge coverage excludes with vitest
355ebe8c5 fix prevent reporter duplicates by explicitly overriding Vitest configuration
1a8376bee fix remove default for unit-test coverage option
a203dcf1d fix warn about performance of test.exclude in vitest configuration
ec10eb365 fix warn when vitest watch config conflicts with builder
@​angular/ssr
Commit Type Description
ca6f08c6e fix apply forwarded prefix and vary header in accept-language redirects
3b99ee140 fix support '*' in allowedHosts and warn about security risks

v22.0.0-next.2

Compare Source

@​angular/cli
Commit Type Description
c9f07db8f fix use parsed package name for migrate-only updates
@​schematics/angular
Commit Type Description
6572a6944 fix default components to OnPush change detection
@​angular/build
Commit Type Description
9b33e1781 fix alias createRequire banner import to avoid duplicate binding
4643a8a3b fix only use external packages for polyfills when no local files are present
@​angular/ssr
Commit Type Description
4d564f66f fix disallow x-forwarded-prefix starting with a backslash
ff1160e30 fix ensure unique values in redirect response Vary header
998b8298e fix support 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
Commit Type Description
b3d838dfd fix replace deprecated ChangeDetectionStrategy.Default with Eager
@​angular/cli
Commit Type Description
598a690a0 fix conditionally quote package names when adding dependencies based on host requirements
b5fb457e1 fix preserve exact version in ng add when requested
93c3eb8fb fix update zoneless migration tool to handle ChangeDetectionStrategy.Eager
ad0fd5f41 perf avoid redundant package version resolution in ng add
a39a33128 perf cache root manifest and resolve restricted package exports in ng add
@​angular/build
Commit Type Description
fe720cab6 feat add process.env.PORT support to the dev server
af2c7e944 feat rename experimentalPlatform to platform in application builder
6324133c2 fix normalize line endings for CSP hash generation
839c725c2 fix pass process environment variables to prerender workers
f30f8900e fix resolve 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
Commit Type Description
a5c7c0b5f fix reflect new minimum supported Node version in ng.js

Commit Type Description
d0e9e8163 build update minimum supported Node.js versions
1f21e89d9 refactor remove @angular-devkit/architect-cli package
b4885b851 refactor remove experimental Jest and Web Test Runner builders
@​angular/build
Commit Type Description
414320d02 feat support runtime Zone.js detection in Vitest unit test runner
f190263a4 fix allow any CHROME_BIN for vitest playwright provider
@​angular/ssr
Commit Type Description
27cd35561 refactor remove CSR fallback for invalid hosts

v21.2.7

Compare Source

@​angular/cli
Commit Type Description
971041aa1 fix handle missing package manager during analytics initialization
@​angular/build
Commit Type Description
365cce81d fix preserve coverage ignore comments in development
9f74660c3 fix show clear error when styleUrl points to a TypeScript file

v21.2.6

Compare Source

@​angular/cli
Commit Type Description
ea14f28cc fix fix sourceRoot resolution for MCP projects tool
@​angular/build
Commit Type Description
9136eb376 fix ensure transitive SCSS partial errors are tracked in watch mode
8186faa11 fix ensure Vitest mock patching is executed only once
107d1a9e2 fix preserve error stack traces during prerendering
b7f457253 fix scope CHROME_BIN executable path to individual playwright instances

v21.2.5

Compare Source

@​angular/cli
Commit Type Description
cadf9b201 feat support custom port in MCP devserver start tool
@​angular/ssr
Commit Type Description
bbc255419 fix allow underscores in host validation
b1fe66a7f fix patch Headers.forEach in cloneRequestAndPatchHeaders

v21.2.4

Compare Source

@​angular/cli
Commit Type Description
a7787d092 fix restore console methods after logger completes
@​angular/build
Commit Type Description
7170599ab fix deduplicate and merge coverage excludes with vitest
c73f13797 fix prevent reporter duplicates by explicitly overriding Vitest configuration
956ccaa71 fix remove default for unit-test coverage option
36978db7e fix warn about performance of test.exclude in vitest configuration
6ec36f5be fix warn when vitest watch config conflicts with builder
@​angular/ssr
Commit Type Description
9bdf782c8 fix apply forwarded prefix and vary header in accept-language redirects
628c58672 fix support '*' in allowedHosts and warn about security risks

v21.2.3

Compare Source

@​angular/cli
Commit Type Description
1505164bb fix use parsed package name for migrate-only updates
@​angular/build
Commit Type Description
75fa94cad fix alias createRequire banner import to avoid duplicate binding
d009aa1ec fix only use external packages for polyfills when no local files are present
@​angular/ssr
Commit Type Description
f3e0e82c2 fix disallow x-forwarded-prefix starting with a backslash
b8bcd59b4 fix ensure unique values in redirect response Vary header
84385411d fix support custom headers in redirect responses

v21.2.2

Compare Source

@​angular/cli
Commit Type Description
8447d9132 fix conditionally quote package names when adding dependencies based on host requirements
d2f209823 fix preserve exact version in ng add when requested
28f4d684a perf avoid redundant package version resolution in ng add
@​angular/build
Commit Type Description
06010294f fix allow any CHROME_BIN for vitest playwright provider
8dec0c62b fix normalize line endings for CSP hash generation
58688ebd7 fix pass process environment variables to prerender workers
4ca61647f fix resolve assets correctly during i18n prerendering

v21.2.1

Compare Source

@​angular/cli
Commit Type Description
ae4c28d00 fix correct dev dependency detection logic in ng add
465073bc1 fix disable npm update notifier in package manager host
36270634f fix ensure group members are updated to targeted version
d87dba6af fix ignore unknown files when formatting schematic changes
@​schematics/angular
Commit Type Description
72d466aa0 fix prevent adding test dependencies when minimal option is enabled
@​angular-devkit/build-angular
Commit Type Description
0019d1c8e fix update copy-webpack-plugin to v14.0.0
@​angular/build
Commit Type Description
6ad860863 fix bundle polyfills to preserve execution order in dev server
d17397375 fix conditionally allow vi.mock for non-relative imports
0d49f86ed fix resolve style include paths relative to ng-package.json in unit-test builder
584f6a2d9 fix treat empty browsers array as undefined in unit-test builder
6699cdc9b perf fix memory leak in ng serve with i18n
@​angular/ssr
Commit Type Description
43a9dfa66 fix improve header validation logic
dee3717b3 fix introduce DI token to signal route discovery process

v21.2.0

Compare Source

@​angular/cli
Commit Type Description
0dd04f289 feat add markdown files to Prettier's formatting list
fbae1b6ab feat automatic formatting files modified by schematics
91b9d281f feat integrate file formatting into update migrations
98a24d040 feat standardize MCP tools around workspace/project options
d9cd609c5 fix correctly parse scoped packages in yarn classic list output
5b05f2500 fix enable shell option for Prettier execution on Windows platforms
25b8a157d fix quote complex range specifiers in package manager
6f29a8c35 fix renamed files by their new path in the schematic workflow
201a036f2 fix simplify Angular version compatibility checks and add special handling for local builds of new major versions
cdd26bb66 fix validate package manager version using semver.valid and throw an error if invalid
bc363af8b perf optimize package manager discovery with stat-based probing
@​schematics/angular
Commit Type Description
aa7381efd feat add a '.prettierrc' file to generated workspaces and add Prettier as dev dependency
f80db6fb7 feat add ng-add support for Vitest browser providers
5d1df50d8 fix add actionable feedback to vitest-browser schematic
@​angular/build
Commit Type Description
ece30f235 feat add headless option to unit-test builder
cad7a7c0f feat run vitest browser with playwright with OS theme
0b4982720 fix adjust sourcemap sources when Vitest wrapper is bypassed
1f114a9e8 fix bundle setup files in unit-test builder for Vitest
fd5cb28c8 fix explicitly fail when using Vitest runtime mocking
dc899e8a5 fix normalize allowedHosts in dev-server
26bbea12f fix serve extensionless assets without transformation

v21.1.5

Compare Source

@​angular/ssr
Commit Type Description
8695d6063 fix prevent open redirect via X-Forwarded-Prefix header
e4d445ec6 fix validate host headers to prevent header-based SSRF

v21.1.4

Compare Source

@​angular/build
Commit Type Description
7a9dd6b47 fix correctly resolve absolute setup file paths in Vitest

v21.1.3

Compare Source

@​schematics/angular
Commit Type Description
a18196a10 fix warn when production configuration is missing for service worker
@​angular-devkit/build-angular
Commit Type Description
6d05d27ca fix address Node.js deprecation DEP0190

v21.1.2

Compare Source

@​angular-devkit/schematics-cli
Commit Type Description
e7458c81d fix Add boolean type inference for 'true' and 'false' string values in argument parsing
@​angular-devkit/architect
Commit Type Description
d66f1fe64 fix Add boolean type inference for 'true' and 'false' string values in argument parsing
@​angular/build
Commit Type Description
80911af67 fix loosen Vitest dependency checks when runnerConfig is used
2d30639d3 fix support merging coverage thresholds with Vitest runnerConfig

v21.1.1

Compare Source

@​angular/cli

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

@angular-robot
Copy link
Copy Markdown
Contributor Author

angular-robot commented Mar 4, 2026

⚠️ 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-robot force-pushed the ng-renovate/cross-repo-angular-dependencies branch from 2ad6adb to b653499 Compare March 5, 2026 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant