Skip to content

Commit df926c1

Browse files
authored
chore: bump version to 8.0.0 w/ changelog (#16140)
1 parent be0dae8 commit df926c1

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed

CHANGELOG.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,37 @@
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+
135
# 8.0.0-rc.2 "mercury-melody" (2019-05-24)
236

337

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"preinstall": "node ./tools/npm/check-npm.js",
2929
"format": "git-clang-format HEAD $(git diff HEAD --name-only | grep -v \"\\.d\\.ts\")"
3030
},
31-
"version": "8.0.0-rc.1",
31+
"version": "8.0.0",
3232
"requiredAngularVersion": "^8.0.0 || ^9.0.0-0",
3333
"requiredMDCVersion": "^1.1.0",
3434
"dependencies": {

0 commit comments

Comments
 (0)