From 52544b29cdefa87885a726fb7b953aaf494343a0 Mon Sep 17 00:00:00 2001 From: Andrew Seguin Date: Mon, 15 Apr 2019 15:01:27 -0700 Subject: [PATCH] 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 --- CHANGELOG.md | 28 +++++++++++++++++++++++++++- package.json | 2 +- 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0525f2e4ab5..10aa18a3586 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,29 @@ +# 8.0.0-beta.2 "helium-blockade" (2019-04-15) + +**Imminent Important Import Deprecation**: + +Importing directly from the root `@angular/material` entry-point is deprecated. You should instead +import from specific entry-points, e.g. `@angular/material/button`. This aligns with `@angular/cdk`, +makes clear where symbols originate, and helps safeguard against including unused code. The +deprecated style will be removed in Angular v9. + +Angular CLI users can use `ng update @angular/material` to automatically migrate imports to the new +style. + +### Breaking Changes + +* **tabs:** `_ngZone` and `_platform` parameters in `MatTabHeader` constructor are now required. +* **tabs:** `changeDetectorRef` parameter in `MatTabBody` constructor is now required. +* **expansion:** The `_document` and `_animationMode` parameters are now required. +* **list:** `_elementRef` parameter in `MatList` constructor is now required. +* **list:** `_changeDetectorRef` parameter in `MatListItem` constructor is now required. Also the order of constructor parameters has changed. +* **progress-spinner:** The `animationMode` mode parameter is now required in the `MatProgressSpinner` and `MatSpinner` constructors. +* **progress-spinner:** The `_elementRef` parameter has changed from `ElementRef` to `ElementRef` in the `MatProgressSpinner` and `MatSpinner` constructors. +* **button:** `_platform` parameter has been removed from the `MatButton` constructor and the `_animationMode` is now required. +* **button:** `platform` parameter has been removed from the `MatAnchor` constructor and the `animationMode` is now required. +* **badge:** `_document` parameter has been removed and the `_renderer` parameter is now required in the `MatBadge` constructor. + + # 8.0.0-beta.1 "suede-banana" (2019-04-08) @@ -11,7 +37,7 @@ ### Project setup * `@angular/material` now has an explicit peer dependency on `@angular/forms`. -It was always required, but is now correctly listed in the `package.json`. +It was always required, but is now correctly listed in the `package.json`. ### Bug Fixes diff --git a/package.json b/package.json index 346a9ce3b09..d9f17cae125 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "preinstall": "node ./tools/npm/check-npm.js", "format": "git-clang-format HEAD $(git diff HEAD --name-only | grep -v \"\\.d\\.ts\")" }, - "version": "8.0.0-beta.1", + "version": "8.0.0-beta.2", "requiredAngularVersion": ">=7.0.0", "dependencies": { "@angular/animations": "8.0.0-beta.10",