|
| 1 | +# 8.0.0-beta.2 "helium-blockade" (2019-04-15) |
| 2 | + |
| 3 | +**Imminent Important Import Deprecation**: |
| 4 | + |
| 5 | +Importing directly from the root `@angular/material` entry-point is deprecated. You should instead |
| 6 | +import from specific entry-points, e.g. `@angular/material/button`. This aligns with `@angular/cdk`, |
| 7 | +makes clear where symbols originate, and helps safeguard against including unused code. The |
| 8 | +deprecated style will be removed in Angular v9. |
| 9 | + |
| 10 | +Angular CLI users can use `ng update @angular/material` to automatically migrate imports to the new |
| 11 | +style. |
| 12 | + |
| 13 | +### Breaking Changes |
| 14 | + |
| 15 | +* **tabs:** `_ngZone` and `_platform` parameters in `MatTabHeader` constructor are now required. |
| 16 | +* **tabs:** `changeDetectorRef` parameter in `MatTabBody` constructor is now required. |
| 17 | +* **expansion:** The `_document` and `_animationMode` parameters are now required. |
| 18 | +* **list:** `_elementRef` parameter in `MatList` constructor is now required. |
| 19 | +* **list:** `_changeDetectorRef` parameter in `MatListItem` constructor is now required. Also the order of constructor parameters has changed. |
| 20 | +* **progress-spinner:** The `animationMode` mode parameter is now required in the `MatProgressSpinner` and `MatSpinner` constructors. |
| 21 | +* **progress-spinner:** The `_elementRef` parameter has changed from `ElementRef<any>` to `ElementRef<HTMLElement>` in the `MatProgressSpinner` and `MatSpinner` constructors. |
| 22 | +* **button:** `_platform` parameter has been removed from the `MatButton` constructor and the `_animationMode` is now required. |
| 23 | +* **button:** `platform` parameter has been removed from the `MatAnchor` constructor and the `animationMode` is now required. |
| 24 | +* **badge:** `_document` parameter has been removed and the `_renderer` parameter is now required in the `MatBadge` constructor. |
| 25 | + |
| 26 | + |
1 | 27 | # 8.0.0-beta.1 "suede-banana" (2019-04-08)
|
2 | 28 |
|
3 | 29 |
|
|
11 | 37 |
|
12 | 38 | ### Project setup
|
13 | 39 | * `@angular/material` now has an explicit peer dependency on `@angular/forms`.
|
14 |
| -It was always required, but is now correctly listed in the `package.json`. |
| 40 | +It was always required, but is now correctly listed in the `package.json`. |
15 | 41 |
|
16 | 42 |
|
17 | 43 | ### Bug Fixes
|
|
0 commit comments