Skip to content

build: update cross-repo angular dependencies#3625

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#3625
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

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@angular/animations (source) 22.0.0-next.822.0.0-next.9 age adoption passing confidence
@angular/cdk 22.0.0-next.522.0.0-next.6 age adoption passing confidence
@angular/common (source) 22.0.0-next.822.0.0-next.9 age adoption passing confidence
@angular/compiler (source) 22.0.0-next.822.0.0-next.9 age adoption passing confidence
@angular/compiler-cli (source) 22.0.0-next.822.0.0-next.9 age adoption passing confidence
@angular/core (source) 22.0.0-next.822.0.0-next.9 age adoption passing confidence
@angular/forms (source) 22.0.0-next.822.0.0-next.9 age adoption passing confidence
@angular/material 22.0.0-next.522.0.0-next.6 age adoption passing confidence
@angular/platform-browser (source) 22.0.0-next.822.0.0-next.9 age adoption passing confidence
@angular/router (source) 22.0.0-next.822.0.0-next.9 age adoption passing confidence

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

Release Notes

angular/angular (@​angular/animations)

v22.0.0-next.9

Compare Source

Breaking Changes

router
  • paramsInheritanceStrategy now defaults to 'always'

    The default value of paramsInheritanceStrategy has been changed from 'emptyOnly' to 'always'. This means that route parameters are inherited from all parent routes by default. To restore the previous behavior, set paramsInheritanceStrategy to 'emptyOnly' in your router configuration.

core
Commit Type Description
8f3d0b9d97 feat introduce @Service decorator
9f479ae964 feat Update Testability to use PendingTasks for stability indicator
docs
Commit Type Description
b24b4cb699 fix link formatting in "Animating your Application with CSS"
migrations
Commit Type Description
b395173cf2 fix fix NgClass leaving trailing comma after removal
router
Commit Type Description
6eff439546 fix restore internal URL on popstate when browserUrl is used
17d10f7a99 fix set default paramsInheritanceStrategy to 'always'
angular/components (@​angular/cdk)

v22.0.0-next.6

Compare Source

aria
Commit Type Description
91a4932f6 fix combobox: increases autocomplete demo's placeholder text c… (#​33084)

See associated pull request for more information.
@angular-robot angular-robot added action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project target: automation This PR is targeted to only merge into the branch defined in Github [bot use only] labels Apr 23, 2026
@angular-robot
Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact 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: undefined
Command failed: pnpm update-generated-files
Computing main repo mapping: 
Loading: 
Loading: 1 packages loaded
Analyzing: target //ng-dev:npm_package (2 packages loaded, 0 targets configured)
Analyzing: target //ng-dev:npm_package (2 packages loaded, 0 targets configured)

Analyzing: target //ng-dev:npm_package (417 packages loaded, 6870 targets configured)

INFO: Analyzed target //ng-dev:npm_package (682 packages loaded, 7871 targets configured).
INFO: Found 1 target...
Target //ng-dev:npm_package up-to-date:
  dist/bin/ng-dev/npm_package
INFO: Elapsed time: 2.783s, Critical Path: 0.07s
INFO: 1 process: 1955 action cache hit, 1 internal.
INFO: Build completed successfully, 1 total action
ng-dev misc update-generated-files

Automatically discover all bazel generated file targets and update them.

Options:
  --version  Show version number                                                                               [boolean]
  --help     Show help                                                                                         [boolean]

Loading: 0 packages loaded
ERROR: invalid target name 'kind(esbuild, //...) intersect attr(name, '_generated$', //...)': target names may not contain '//' path separators

Exit code: 1.
Writing full log to /tmp/renovate/repos/github/angular/dev-infra/.ng-dev.err-1776974596191.log

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates various Angular dependencies to version 22.0.0-next.9 across several packages and integration tests. A critical breaking change was identified in the router's parameter inheritance strategy, which now defaults to inheriting from all parent routes. To maintain existing behavior, the strategy should be explicitly set to 'emptyOnly' in the router configuration.

"@angular/core": "22.0.0-next.9",
"@angular/forms": "22.0.0-next.9",
"@angular/platform-browser": "22.0.0-next.9",
"@angular/router": "22.0.0-next.9",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

This update to @angular/router@22.0.0-next.9 introduces a significant breaking change regarding route parameter inheritance.

The default value for paramsInheritanceStrategy has been changed from 'emptyOnly' to 'always'. This means that child routes will now inherit parameters from all parent routes by default, which could alter your application's routing behavior unexpectedly.

To maintain the previous behavior, you must explicitly configure the strategy in your router setup:

RouterModule.forRoot(routes, {
  paramsInheritanceStrategy: 'emptyOnly'
})

It is crucial to review all router module configurations across the application to prevent potential issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project target: automation This PR is targeted to only merge into the branch defined in Github [bot use only]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant