refactor(deps): migrate @angular/material from v15.2.9 to v21.1.5#7060
Open
digital-wizard48 wants to merge 1 commit intotensorflow:masterfrom
Open
refactor(deps): migrate @angular/material from v15.2.9 to v21.1.5#7060digital-wizard48 wants to merge 1 commit intotensorflow:masterfrom
digital-wizard48 wants to merge 1 commit intotensorflow:masterfrom
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Author
|
I have read the CLA Document and I hereby sign the CLA |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Dependency Version Bump
@angular/materialand all related Angular packages from^15.2.9to^21.1.5@angular/cdkfrom^15.2.9to^21.1.5@angular/animations,@angular/common,@angular/core,@angular/forms,@angular/localize,@angular/platform-browser,@angular/platform-browser-dynamic,@angular/routerto^21.1.5@angular-devkit/build-angular,@angular/cli,@angular/compiler,@angular/compiler-cli) to^21.1.5Breaking Changes Addressed
Angular Material v15 → v16+
MatSliderModuleAPI changed significantly in v16. The slider now uses<mat-slider>with nested<input matSliderThumb>instead of the old single-element API. Files usingMatSliderModule(timeline_module.ts,image_card_module.ts,image_card_test.ts) import the module correctly; template files (.ng.html) using<mat-slider>will need to be updated to use the new thumb-based API.@angular/material/snack-bar— no changes needed.@angular/material/tabs— no changes needed.@angular/material/select— no changes needed..mat-mdc-tabused in tests are already using the correct MDC class names.@angular/material/dialog— no changes needed.Angular v16+ Standalone Components
standalone: falseexplicitly, which is compatible with v21 wherestandalone: trueis the new default. No changes needed.Angular v17+ Control Flow Syntax
CommonModule, which continues to be supported. No migration to@if/@forblock syntax is required for compatibility.Notes
<mat-slider>with the old API should be reviewed and updated to use<input matSliderThumb>inside<mat-slider>as required by v16+.Fixes #2320
This PR was auto-generated by Gittensor upgrade bot using Claude AI