Skip to content

docs: mention MDC migration requirement for legacy Material users#69195

Open
akshaywadatkar wants to merge 1 commit into
angular:mainfrom
akshaywadatkar:docs/material-v17-mdc-note
Open

docs: mention MDC migration requirement for legacy Material users#69195
akshaywadatkar wants to merge 1 commit into
angular:mainfrom
akshaywadatkar:docs/material-v17-mdc-note

Conversation

@akshaywadatkar
Copy link
Copy Markdown

PR Checklist

  • The commit message follows our guidelines
  • Tests for the changes have been added (not applicable)
  • Docs have been added / updated

PR Type

  • Documentation content changes

What is the current behavior?

The Angular Update Guide currently instructs users to run:

ng update @angular/material@17

However, it does not mention that applications still using legacy Angular Material components may fail to upgrade because legacy components were deprecated in v15 and removed in v17.

Issue Number: N/A

What is the new behavior?

Adds a note to the Angular Update Guide indicating that applications still using legacy Angular Material components should run:

ng generate @angular/material:mdc-migration

before upgrading to Angular Material v17.

This provides additional guidance for users upgrading applications that have not yet migrated to MDC-based components.

Does this PR introduce a breaking change?

  • No

Other information

Legacy Angular Material components were deprecated in v15 and removed in v17. This documentation update helps users understand a common upgrade failure scenario and points them to the existing MDC migration path.

@google-cla
Copy link
Copy Markdown

google-cla Bot commented Jun 5, 2026

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.

@pullapprove pullapprove Bot requested a review from JeanMeche June 5, 2026 18:26
@angular-robot angular-robot Bot added the area: docs Related to the documentation label Jun 5, 2026
@ngbot ngbot Bot added this to the Backlog milestone Jun 5, 2026
Comment on lines +2126 to +2127
action:
'Run `ng update @angular/material@17`. If your application still uses legacy Angular Material components (deprecated in v15 and removed in v17), run `ng generate @angular/material:mdc-migration` before upgrading to Material v17.',
Copy link
Copy Markdown
Contributor

@erkamyaman erkamyaman Jun 5, 2026

Choose a reason for hiding this comment

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

Maybe we could link the v17 MDC migration guide on the note, so users have a path to the full migration steps? Since the note is about upgrading to Material v17, a version-pinned link feels like the right target:

Suggested change
action:
'Run `ng update @angular/material@17`. If your application still uses legacy Angular Material components (deprecated in v15 and removed in v17), run `ng generate @angular/material:mdc-migration` before upgrading to Material v17.',
action:
'Run `ng update @angular/material@17`. If your application still uses legacy Angular Material components (deprecated in v15 and removed in v17), run `ng generate @angular/material:mdc-migration` before upgrading to Material v17. [Read more](https://v17.material.angular.dev/guide/mdc-migration)',

Also, the existing link on line 1830 looks dead now. It just redirects to the /guides list instead of the actual page. Could be worth fixing, but let's what the caretaker suggests.

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

Labels

area: docs Related to the documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants