|
| 1 | +# 8.0.0 "osmium-octothorpe" (2019-05-28) |
| 2 | + |
| 3 | + |
| 4 | +### Bug Fixes |
| 5 | + |
| 6 | +* **ng-update:** do not always use double quotes for generated imports ([#16131](https://github.com/angular/components/issues/16131)) ([a3856c7](https://github.com/angular/components/commit/a3856c7)), closes [/github.com/microsoft/TypeScript/blob/6a559e37ee0d660fcc94f086a34370e79e94b17a/src/compiler/emitter.ts#L3796-L3797](https://github.com//github.com/microsoft/TypeScript/blob/6a559e37ee0d660fcc94f086a34370e79e94b17a/src/compiler/emitter.ts/issues/L3796-L3797) [#14532](https://github.com/angular/components/issues/14532) |
| 7 | + |
| 8 | + |
| 9 | +### Deprecations |
| 10 | +Importing directly from the root `@angular/material` entry-point is deprecated. You should instead |
| 11 | +import from specific entry-points, e.g. `@angular/material/button`. This aligns with `@angular/cdk`, |
| 12 | +makes clear where symbols originate, and helps safeguard against including unused code. The |
| 13 | +deprecated style will be removed in Angular v9. |
| 14 | + |
| 15 | +Angular CLI users can use `ng update @angular/material` to automatically migrate imports to the new |
| 16 | +style. |
| 17 | + |
| 18 | +### Breaking Changes (including changes from RC) |
| 19 | + |
| 20 | +* **tabs:** `_ngZone` and `_platform` parameters in `MatTabHeader` constructor are now required. |
| 21 | +* **tabs:** `changeDetectorRef` parameter in `MatTabBody` constructor is now required. |
| 22 | +* **expansion:** The `_document` and `_animationMode` parameters are now required. |
| 23 | +* **list:** `_elementRef` parameter in `MatList` constructor is now required. |
| 24 | +* **list:** `_changeDetectorRef` parameter in `MatListItem` constructor is now required. Also the order of constructor parameters has changed. |
| 25 | +* **progress-spinner:** The `animationMode` mode parameter is now required in the `MatProgressSpinner` and `MatSpinner` constructors. |
| 26 | +* **progress-spinner:** The `_elementRef` parameter has changed from `ElementRef<any>` to `ElementRef<HTMLElement>` in the `MatProgressSpinner` and `MatSpinner` constructors. |
| 27 | +* **button:** `_platform` parameter has been removed from the `MatButton` constructor and the `_animationMode` is now required. |
| 28 | +* **button:** `platform` parameter has been removed from the `MatAnchor` constructor and the `animationMode` is now required. |
| 29 | +* **button**: The `disabled` hosting binding for `MatButton` has changed from a property to an attribute, which |
| 30 | +affects any tests using `DebugElement.attributes`. |
| 31 | +* **badge:** `_document` parameter has been removed and the `_renderer` parameter is now required in the `MatBadge` constructor. |
| 32 | + |
| 33 | + |
| 34 | + |
1 | 35 | # 8.0.0-rc.2 "mercury-melody" (2019-05-24)
|
2 | 36 |
|
3 | 37 |
|
|
0 commit comments