Skip to content

Commit 266112a

Browse files
committed
chore: update changelog with v7 changes
1 parent df9ec74 commit 266112a

File tree

3 files changed

+119
-21
lines changed

3 files changed

+119
-21
lines changed

CHANGELOG.md

Lines changed: 100 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,101 @@
1+
<a name="7.0.0"></a>
2+
# 7.0.0 amethyst ammonite (2018-10-17)
3+
4+
### Highlights
5+
6+
* Support for [Drag and Drop](https://material.angular.io/cdk/drag-drop/overview) in `@angular/cdk/drag-drop`.
7+
* Support for [Virtual Scrolling](https://material.angular.io/cdk/scrolling/overview) in `@angular/cdk/scrolling`.
8+
* Support for native `<select>` element in `<mat-form-field>` .
9+
* Added `<mat-action-list>`, a list where each item is a `<button>`.
10+
* Updated component styles throughout the library matching the 2018 Material Design Spec refresh.
11+
* Added more schematics, with schematics now available for table, drag and drop, tree, address form and more.
12+
* Added CLI prompts when using `ng add` to assist in setting up HammerJS support, application theming and animations.
13+
* 250+ bug/performance fixes
14+
15+
16+
### Upgrading to 7.0
17+
18+
Using the Angular CLI, you can use the `ng update` command to automatically migrate to the new APIs in for Material and CDK.
19+
```
20+
ng update @angular/material
21+
```
22+
23+
**NOTE:** If you are **using only the CDK** you can automatically migrate using `ng update @angular/cdk` instead.
24+
25+
26+
### Breaking Changes
27+
28+
* **ripple:** deprecated `[matRippleSpeedFactor]` and `baseSpeedFactor` for the ripples have been removed. Use the new animation config instead.
29+
* **overlay:** The `flexibleDiemsions` property on `CdkConnectedOverlay` has been renamed to `flexibleDimensions`
30+
* **sidenav:** the constructor signature of the `MatDrawerContent` and `MatSidenavContent` has changed.
31+
* **elevation:** Because `mat-elevation` usages have been moved out of component stylesheets, users who have
32+
not invoked a theme mixin will not see any elevation shadows on Material components.
33+
However, users that have created a custom theme which lacks the `elevation` property will
34+
still see the default black shadows.
35+
36+
Additionally, users who want to use themed elevations in their custom components can create
37+
their own shorthand mixin:
38+
39+
```sass
40+
@import '~@angular/material/theming';
41+
42+
$myTheme: ...
43+
44+
@mixin my-elevation($zValue) {
45+
@include mat-theme-elevation($zValue, $myTheme);
46+
}
47+
48+
```
49+
50+
and then invoke `angular-material-theme` with the `$myTheme` variable.
51+
52+
53+
54+
### Marked for Deprecation
55+
A number of items throughout the library have been deprecated and are expected to be removed in v8.
56+
#### CDK
57+
Collections
58+
- `SelectionModel.onChange` has been deprecated, use `SelectionModel.changed` instead.
59+
60+
Scrolling
61+
- `ScrollDispatchModule` has been deprecated, use `ScrollingModule` instead.
62+
63+
Table
64+
- `CdkTable.setFooterRowDef` has been deprecated, use `CdkTable.addFooterRowDef` and `CdkTable.removeFooterRowDef` instead.
65+
- `CdkTable.setHeaderRowDef` has been deprecated, use `CdkTable.addHeaderRowDef` and `CdkTable.removeHeaderRowDef` instead.
66+
67+
#### Material
68+
Dialog
69+
- `matDialogAnimations.slideDialog` has been deprecated, use `matDialogAnimations.dialogContainer` instead.
70+
- `MatDialogRef.afterOpen` has been deprecated, use `MatDialogRef.afterOpened` instead.
71+
- `MatDialogRef.afterClose` has been deprecated, use `MatDialogRef.afterClosed` instead.
72+
- `MatDialog.afterOpen` has been deprecated, use `MatDialog.afterOpened` instead.
73+
74+
Form Field
75+
- `<mat-placeholder>` has been deprecated, use `<mat-label>` instead.
76+
- `MatPlaceholder` has been deprecated, use `MatLabel` instead.
77+
78+
Paginator
79+
- `$mat-paginator-selector-trigger-min-width` has been deprecated, use `$mat-paginator-selector-trigger-width` instead.
80+
81+
Select
82+
- `matSelectAnimations.fadeInContent` has been deprecated and will be removed without replacement.
83+
- The setter method for `MatSelect.focused` has been deprecated, `MatSelect.focused` will become readonly.
84+
85+
Toolbar
86+
- `$mat-toolbar-height-mobile-portrait` has been deprecated and will be removed without replacement.
87+
- `$mat-toolbar-height-mobile-landscape` has been deprecated and will be removed without replacement.
88+
89+
**NOTE:** In addition to the specific deprecations listed above, many component constructor methods contain
90+
optional parameters which are expected to become required in v8.
91+
92+
93+
### Bug Fixes
94+
95+
* **icon:** not taking current path after initialization ([#13641](https://github.com/angular/material2/issues/13641)) ([df9ec7](https://github.com/angular/material2/commit/df9ec7))
96+
* **list:** action list items clickable area not stretching the full width ([#13099](https://github.com/angular/material2/issues/13099)) ([f3057fa](https://github.com/angular/material2/commit/f3057fa))
97+
98+
199
<a name="7.0.0-rc.2"></a>
2100
# 7.0.0-rc.2 (2018-10-15)
3101

@@ -179,8 +277,8 @@ still see the default black shadows.
179277
Additionally, users who want to use themed elevations in their custom components can create
180278
their own shorthand mixin:
181279

182-
```
183-
@import '~angular/material/theming';
280+
```sass
281+
@import '~@angular/material/theming';
184282

185283
$myTheme: ...
186284

package.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@
2626
"gulp": "gulp",
2727
"stage-release": "bash ./tools/release/stage-release-bin.sh"
2828
},
29-
"version": "7.0.0-rc.2",
30-
"requiredAngularVersion": ">=7.0.0-rc.0",
29+
"version": "7.0.0",
30+
"requiredAngularVersion": ">=7.0.0",
3131
"dependencies": {
32-
"@angular/animations": "7.0.0-rc.0",
33-
"@angular/common": "7.0.0-rc.0",
34-
"@angular/compiler": "7.0.0-rc.0",
35-
"@angular/core": "7.0.0-rc.0",
36-
"@angular/elements": "7.0.0-rc.0",
37-
"@angular/forms": "7.0.0-rc.0",
38-
"@angular/platform-browser": "7.0.0-rc.0",
32+
"@angular/animations": "^7.0.0",
33+
"@angular/common": "^7.0.0",
34+
"@angular/compiler": "^7.0.0",
35+
"@angular/core": "^7.0.0",
36+
"@angular/elements": "^7.0.0",
37+
"@angular/forms": "^7.0.0",
38+
"@angular/platform-browser": "^7.0.0",
3939
"@webcomponents/custom-elements": "^1.1.0",
4040
"core-js": "^2.4.1",
4141
"rxjs": "^6.3.3",
@@ -45,21 +45,21 @@
4545
"zone.js": "^0.8.26"
4646
},
4747
"devDependencies": {
48-
"@angular-devkit/core": "7.0.0-rc.1",
49-
"@angular-devkit/schematics": "7.0.0-rc.1",
50-
"@angular/compiler-cli": "7.0.0-rc.0",
51-
"@angular/http": "7.0.0-rc.0",
52-
"@angular/platform-browser-dynamic": "7.0.0-rc.0",
53-
"@angular/platform-server": "7.0.0-rc.0",
54-
"@angular/router": "7.0.0-rc.0",
55-
"@angular/upgrade": "7.0.0-rc.0",
48+
"@angular-devkit/core": "^7.0.1",
49+
"@angular-devkit/schematics": "^7.0.1",
50+
"@angular/compiler-cli": "^7.0.0",
51+
"@angular/http": "^7.0.0",
52+
"@angular/platform-browser-dynamic": "^7.0.0",
53+
"@angular/platform-server": "^7.0.0",
54+
"@angular/router": "^7.0.0",
55+
"@angular/upgrade": "^7.0.0",
5656
"@bazel/ibazel": "0.3.1",
5757
"@bazel/karma": "0.20.2",
5858
"@bazel/typescript": "0.20.2",
5959
"@firebase/app-types": "^0.3.2",
6060
"@google-cloud/storage": "^1.1.1",
6161
"@octokit/rest": "^15.9.4",
62-
"@schematics/angular": "7.0.0-rc.1",
62+
"@schematics/angular": "^7.0.1",
6363
"@types/chalk": "^0.4.31",
6464
"@types/fs-extra": "^4.0.3",
6565
"@types/glob": "^5.0.33",

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12612,4 +12612,4 @@ zip-stream@^1.2.0:
1261212612
zone.js@^0.8.26:
1261312613
version "0.8.26"
1261412614
resolved "https://registry.yarnpkg.com/zone.js/-/zone.js-0.8.26.tgz#7bdd72f7668c5a7ad6b118148b4ea39c59d08d2d"
12615-
integrity sha512-W9Nj+UmBJG251wkCacIkETgra4QgBo/vgoEkb4a2uoLzpQG7qF9nzwoLXWU5xj3Fg2mxGvEDh47mg24vXccYjA==
12615+
integrity sha512-W9Nj+UmBJG251wkCacIkETgra4QgBo/vgoEkb4a2uoLzpQG7qF9nzwoLXWU5xj3Fg2mxGvEDh47mg24vXccYjA==

0 commit comments

Comments
 (0)