build: update cross-repo angular dependencies to v22.0.0-next.8#3647
build: update cross-repo angular dependencies to v22.0.0-next.8#3647angular-robot wants to merge 1 commit intoangular:mainfrom
Conversation
See associated pull request for more information.
There was a problem hiding this comment.
Code Review
This pull request updates @angular/cdk and @angular/material to version 22.0.0-next.8. The review feedback highlights that these updates introduce breaking changes—such as required injector parameters in FocusTrap and the removal of MatListOption.checkboxPosition—which may require corresponding application code changes. Additionally, the reviewer noted a version mismatch between the core Angular framework packages and the CDK/Material libraries, recommending they be kept in sync.
| "dependencies": { | ||
| "@angular/animations": "22.0.0-next.10", | ||
| "@angular/cdk": "22.0.0-next.7", | ||
| "@angular/cdk": "22.0.0-next.8", |
There was a problem hiding this comment.
The update to @angular/cdk v22.0.0-next.8 introduces several breaking changes mentioned in the release notes, such as the requirement of an injector parameter in the ConfigurableFocusTrap and FocusTrap constructors, and the renaming of ContextMenuTracker to MenuTracker. Since this PR only updates the version without accompanying code changes, please ensure that the application code does not rely on these removed or modified APIs, or that the necessary migrations have been performed.
| "@angular/fire": "21.0.0-rc.0", | ||
| "@angular/forms": "22.0.0-next.10", | ||
| "@angular/material": "22.0.0-next.7", | ||
| "@angular/material": "22.0.0-next.8", |
There was a problem hiding this comment.
The update to @angular/material v22.0.0-next.8 includes breaking changes, notably the removal of MatListOption.checkboxPosition (replaced by togglePosition) and the removal of ArrowViewState. It is important to verify that these changes do not break the existing UI components in apps/code-of-conduct that utilize Material list options or sort headers.
| "@angular/cdk": "22.0.0-next.8", | ||
| "@angular/common": "22.0.0-next.10", | ||
| "@angular/compiler": "22.0.0-next.10", | ||
| "@angular/core": "22.0.0-next.10", | ||
| "@angular/fire": "21.0.0-rc.0", | ||
| "@angular/forms": "22.0.0-next.10", | ||
| "@angular/material": "22.0.0-next.7", | ||
| "@angular/material": "22.0.0-next.8", |
There was a problem hiding this comment.
There is a version mismatch between the core Angular framework packages (which are at 22.0.0-next.10) and the CDK/Material packages (being updated to 22.0.0-next.8). While technically compatible via peer dependencies, it is generally recommended to keep all Angular ecosystem packages aligned to the same version to ensure consistency and avoid subtle integration issues.
This PR contains the following updates:
22.0.0-next.7→22.0.0-next.822.0.0-next.7→22.0.0-next.8Release Notes
angular/components (@angular/cdk)
v22.0.0-next.8Compare Source
Breaking Changes
aria
The legacy combobox and autocomplete implementations have been removed. Use the new standalone combobox instead.
comboboxentry points.SIMPLE_COMBOBOX_POPUP->COMBOBOX_POPUP).json_apiBazel rule target.aria-toolbarpath.SimpleComboboxhas been promoted toCombobox. Allsimple-comboboxprefixed symbols, selectors, and tokens have been renamed to use thecomboboxprefix.Relocate the autocomplete examples to
src/components-examples/aria/autocompleteand toolbar examples tosrc/components-examples/aria/toolbar.cdk
CDK_DESCRIBEDBY_HOST_ATTRIBUTEhas been removed.CDK_DESCRIBEDBY_ID_PREFIXhas been removed.injectorparameter of theConfigurableFocusTrapandFocusTrapconstructors is now required.ConfigurableFocusTrapFactory.createhas been replaced with a config object.MESSAGES_CONTAINER_IDhas been removed.eventparameter ofDropListRef.dropis now required.ContextMenuTrackerhas been renamed toMenuTracker.material
MatListOption.checkboxPositionhas been removed. usetogglePositioninstead.MatListOptionCheckboxPositionhas been renamed toMatListOptionTogglePosition.ArrowViewStatehas been removed.ArrowViewStateTransitionhas been removed.google-maps
material
cdk
aria
multiple