|
1 | 1 | <a name="2.0.0-alpha.8"></a> |
2 | 2 | # [2.0.0-alpha.8 ectoplasm-helicopter](https://github.com/angular/material2/compare/g3_v2_0...2.0.0-alpha.8) (2016-09-01) |
3 | 3 |
|
| 4 | +### Breaking Changes |
| 5 | + |
| 6 | +* all: we've updated our packaging to match angular/angular's packaging. If you're using SystemJS in your project, you will probably want to |
| 7 | +switch to using our UMD bundles. Example config: |
| 8 | + |
| 9 | +```ts |
| 10 | +'@angular2-material/core': { |
| 11 | + format: 'cjs', |
| 12 | + main: 'core.umd.js' |
| 13 | + } |
| 14 | +``` |
| 15 | + |
| 16 | +You can see a more detailed example in our demo app's system config [here](https://github.com/angular/material2/blob/master/src/demo-app/system-config.ts). |
| 17 | + |
| 18 | +* all: material modules must be included with `forRoot()` when bootstrapping. See the [ngModules guide](https://angular.io/docs/ts/latest/cookbook/ngmodule-faq.html#!#q-for-root) for |
| 19 | +more information. |
| 20 | + |
| 21 | +```ts |
| 22 | +@NgModule({ |
| 23 | + imports: [ |
| 24 | + MdCoreModule.forRoot() |
| 25 | + MdRadioModule.forRoot(), |
| 26 | + MdIconModule.forRoot() |
| 27 | + ] |
| 28 | +... |
| 29 | +}); |
| 30 | +``` |
| 31 | + |
| 32 | +* input: `md-input` attributes now match the casing of native attributes. Previously they were camel-cased; now they are all lowercase. |
| 33 | +Example: `autoComplete` is now `autocomplete`. See [#1066](https://github.com/angular/material2/pull/1066) for a full list. |
| 34 | + |
| 35 | +* overlay: overlays are now synchronous. This means actions like creating an overlay no longer return a promise. |
| 36 | + |
4 | 37 |
|
5 | 38 | ### Bug Fixes |
6 | 39 |
|
7 | | -* **build:** omit module ids from component metadata. ([#984](https://github.com/angular/material2/issues/984)) ([7f594ce](https://github.com/angular/material2/commit/7f594ce)) |
8 | 40 | * **button:** hover styles no longer applied to disabled buttons ([#909](https://github.com/angular/material2/issues/909)) ([21e419d](https://github.com/angular/material2/commit/21e419d)), closes [#866](https://github.com/angular/material2/issues/866) |
9 | 41 | * **button:** stop using `Type` from [@angular](https://github.com/angular) ([#991](https://github.com/angular/material2/issues/991)) ([97d3ed3](https://github.com/angular/material2/commit/97d3ed3)) |
| 42 | +* **button-toggle:** toggle group should not emit an initial change event. ([#1144](https://github.com/angular/material2/issues/1144)) ([e5830d1](https://github.com/angular/material2/commit/e5830d1)) |
10 | 43 | * **card:** remove unnecessary intermediate div ([#1068](https://github.com/angular/material2/issues/1068)) ([b5e1e33](https://github.com/angular/material2/commit/b5e1e33)) |
11 | 44 | * **checkbox:** export TransitionCheckState enum ([#1147](https://github.com/angular/material2/issues/1147)) ([cda90f3](https://github.com/angular/material2/commit/cda90f3)) |
12 | 45 | * **input:** make attributes match native ones ([#1066](https://github.com/angular/material2/issues/1066)) ([f3a7b91](https://github.com/angular/material2/commit/f3a7b91)), closes [#1065](https://github.com/angular/material2/issues/1065) |
|
19 | 52 | ### Features |
20 | 53 |
|
21 | 54 | * **menu:** add keyboard events and improve accessibility ([#1132](https://github.com/angular/material2/issues/1132)) ([3669f06](https://github.com/angular/material2/commit/3669f06)) |
22 | | -* **modules:** add `forRoot` to material modules ([#1122](https://github.com/angular/material2/issues/1122)) ([9ff6196](https://github.com/angular/material2/commit/9ff6196)) |
| 55 | +* **modules:** add `forRoot()` to material modules ([#1122](https://github.com/angular/material2/issues/1122)) ([9ff6196](https://github.com/angular/material2/commit/9ff6196)) |
| 56 | +* **modules:** add `forRoot()` to all modules ([#1166](https://github.com/angular/material2/issues/1166)) ([21dc44a](https://github.com/angular/material2/commit/21dc44a)) |
23 | 57 | * **overlay:** make overlays synchronous ([#1079](https://github.com/angular/material2/issues/1079)) ([cdad90b](https://github.com/angular/material2/commit/cdad90b)) |
24 | 58 | * **slider:** add thumb-label ([#976](https://github.com/angular/material2/issues/976)) ([22d70ae](https://github.com/angular/material2/commit/22d70ae)) |
25 | 59 | * **slider:** support ngModel ([#1029](https://github.com/angular/material2/issues/1029)) ([8828358](https://github.com/angular/material2/commit/8828358)) |
26 | 60 | * **tabs:** support for `disabled` tabs ([#934](https://github.com/angular/material2/issues/934)) ([9d51deb](https://github.com/angular/material2/commit/9d51deb)), closes [#880](https://github.com/angular/material2/issues/880) |
27 | 61 |
|
28 | | -### BREAKING CHANGES |
29 | | - |
30 | | -* input: `md-input` attributes now match the casing of native attributes. Previously they were camel-cased; now they are all lowercase. |
31 | | -Example: `autoComplete` is now `autocomplete`. See [#1066](https://github.com/angular/material2/pull/1066) for a full list. |
32 | | -* overlay: overlays are now synchronous. This means actions like creating an overlay no longer return a promise. |
33 | | - |
34 | | - |
35 | 62 | <a name="2.0.0-alpha.7"></a> |
36 | 63 | # [2.0.0-alpha.7 wax-umpire](https://github.com/angular/material2/compare/2.0.0-alpha.6...2.0.0-alpha.7) (2016-08-09) |
37 | 64 |
|
|
0 commit comments