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
@@ -13,30 +13,59 @@ Amy Sorto, Andrew Seguin, Jeremy Elbourn, Kristiyan Kostadinov, Paul Gschwendtne
# 13.0.0 "fir-valise" (2021-11-03)
## Breaking Changes
### cdk
- * `CKD_COPY_TO_CLIPBOARD_CONFIG` has been removed. Use `CDK_COPY_TO_CLIPBOARD_CONFIG` instead.
- * `ConnectedPositionStrategy` has been removed. Use `FlexibleConnectedPositionStrategy` instead.
If your application imports styles from `~@angular/cdk`, the `@import`/`@use` statements need to
be updated to omit the tilde. The tilde syntax is deprecated within the webpack `sass-loader` and
does not work with [APF v13](https://v13.angular.io/guide/angular-package-format).
```scss
// before
@use '~@angular/cdk' as cdk;
// after
@use '@angular/cdk' as cdk;
```
The Angular CLI will automatically migrate your application with: `ng update @angular/cdk`.
Additional breaking changes:
* `CKD_COPY_TO_CLIPBOARD_CONFIG` has been removed. Use `CDK_COPY_TO_CLIPBOARD_CONFIG` instead.
* `ConnectedPositionStrategy` has been removed. Use `FlexibleConnectedPositionStrategy` instead.
* `OverlayPositionBuilder.connectedTo` has been removed. Use `OverlayPositionBuilder.flexibleConnectedTo` instead.
### material
- * `CanColorCtor` is no longer necessary and has been removed.
If your application imports styles from `~@angular/material`, the `@import`/`@use` statements need to
be updated to omit the tilde. The tilde syntax is deprecated within the webpack `sass-loader` and
does not work with [APF v13](https://v13.angular.io/guide/angular-package-format).
```scss
// before
@use '~@angular/material' as mat;
// after
@use '@angular/material' as mat;
```
The Angular CLI will automatically migrate your application with: `ng update @angular/material`.
Additionally, the following breaking changes have been made:
* The minimum version of Sass has been bumped to `1.34.0`. Version `1.38.0` is recommended.
* `CanColorCtor` is no longer necessary and has been removed.
* `CanDisableRippleCtor` is no longer necessary and has been removed.
* `CanDisableCtor` is no longer necessary and has been removed.
* `CanUpdateErrorStateCtor` is no longer necessary and has been removed.
* `HasInitializedCtor` is no longer necessary and has been removed.
* `HasTabIndexCtor` is no longer necessary and has been removed.
- * Material now requires at least version 1.34.0 of Sass. Version 1.38.0 is recommended.
- * The `_document` and `_dialog` parameters have been removed from the `MatDatepicker` and `MatDateRangePicker` constructors.
- * `MatFormFieldHarness.getHarnessLoaderForPrefix` has been removed. Use `MatFormFieldHarness.getPrefixText` instead.
* The `_document` and `_dialog` parameters have been removed from the `MatDatepicker` and `MatDateRangePicker` constructors.
* `MatFormFieldHarness.getHarnessLoaderForPrefix` has been removed. Use `MatFormFieldHarness.getPrefixText` instead.
* `MatFormFieldHarness.getHarnessLoaderForSuffix` has been removed. Use `MatFormFieldHarness.getSuffixText` instead.
* The `_labelOptions` parameter of the `MatFormField` constructor has been removed.
* `MatFormField.underlineRef` has been removed.
* `matTextareaAutosize` has been removed. Use `cdkTextareaAutosize` from the `@angular/cdk/text-field` module instead.
* `MatTabHarness.getHarnessLoaderForContent` has been removed. Use `MatTabHarness.getRootHarnessLoader` instead.
- * `matTextareaAutosize` has been removed. Use `cdkTextareaAutosize` from the `@angular/cdk/text-field` module instead.
- * `MatTabHarness.getHarnessLoaderForContent` has been removed. Use `MatTabHarness.getRootHarnessLoader` instead.
### youtube-player
- * `YouTubePlayer.createEventsBoundInZone` has been removed.
### material-date-fns-adapter
Expand Down
Expand Up
@@ -5237,4 +5266,4 @@ You can view a beta version of the docs at https://beta-angular-material-io.fire
# Changes Prior to 7.0.0
To view changes that occurred prior to 7.0.0, see [CHANGELOG_ARCHIVE.md](https://github.com/angular/components/blob/master/CHANGELOG_ARCHIVE.md).
To view changes that occurred prior to 7.0.0, see [CHANGELOG_ARCHIVE.md](https://github.com/angular/components/blob/master/CHANGELOG_ARCHIVE.md).
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.
docs: add detailed breaking change note for Sass tilde change #23910
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
Uh oh!
There was an error while loading. Please reload this page.
docs: add detailed breaking change note for Sass tilde change #23910
Filter by extension
Viewed files
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing