-
Notifications
You must be signed in to change notification settings - Fork 6.8k
refactor(material): remove deprecated month constants from core #18111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(material): remove deprecated month constants from core #18111
Conversation
216a608
to
4d90fbd
Compare
Note: Changing to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Marking as blocked until we start merging PRs for v10
4d90fbd
to
b338b61
Compare
b338b61
to
de0b396
Compare
In the past, we accidentally published the month constants in `@angular/material/core`. These were never intended for public consumption but were only needed for testing. In v7, we deprecated the constants (with the assumption that consumers might have used constants). Now, we can remove the constants. There is no replacement for these variables. Instead, use the zero-based month index on your own. BREAKING CHANGE: Deprecated month constants from `@angular/material/core` have been removed. These have been accidentally published in the past while they were only intended for internal consumption in tests.
de0b396
to
2e4703f
Compare
In the past, we accidentally published the month constants in `@angular/material/core`. These were never intended for public consumption but were only needed for testing. In v7, we deprecated the constants (with the assumption that consumers might have used constants). Now, we can remove the constants. There is no replacement for these variables. Instead, use the zero-based month index on your own. BREAKING CHANGE: Deprecated month constants from `@angular/material/core` have been removed. These have been accidentally published in the past while they were only intended for internal consumption in tests.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
In the past, we accidentally published the month constants in
@angular/material/core
. These were never intended for publicconsumption but were only needed for testing. In v7, we deprecated
the constants (with the assumption that consumers might have used constants).
Now, we can remove the constants now. There is no replacement for these
variables. Instead, use the zero-based month index on your own.
BREAKING CHANGE: Deprecated month constants from
@angular/material/core
have beenremoved. These have been accidentally published in the past while they
were only intended for internal consumption in tests.