Skip to content

Commit 52544b2

Browse files
authored
chore: bump version to 8.0.0-beta.2 w/ changelog (#15826)
* chore: bump version to 8.0.0-beta.2 w/ changelog * tweak * tweak2
1 parent 7ace9ab commit 52544b2

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed

CHANGELOG.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
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+
127
# 8.0.0-beta.1 "suede-banana" (2019-04-08)
228

329

@@ -11,7 +37,7 @@
1137

1238
### Project setup
1339
* `@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`.
1541

1642

1743
### Bug Fixes

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-beta.1",
31+
"version": "8.0.0-beta.2",
3232
"requiredAngularVersion": ">=7.0.0",
3333
"dependencies": {
3434
"@angular/animations": "8.0.0-beta.10",

0 commit comments

Comments
 (0)