Skip to content

Commit 97a5499

Browse files
jelbournhansl
authored andcommitted
docs: mention index.js changes in changelog (#1199)
* docs: mention index.js changes in changelog * mention ts 2.0 req
1 parent 178b6e8 commit 97a5499

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

CHANGELOG.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,17 @@ switch to using our UMD bundles. Example config:
1313
}
1414
```
1515

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).
16+
You can see a more detailed example in our [demo app's system config](https://github.com/angular/material2/blob/master/src/demo-app/system-config.ts).
17+
18+
In addition to this, each component now has an `index.js` file, so you should now have imports like
19+
```ts
20+
import {MdButtonModule} from '@angular2-material/button'
21+
```
22+
23+
Instead of
24+
```ts
25+
import {MdButtonModule} from '@angular2-material/button/button'
26+
```
1727

1828
* 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
1929
more information.
@@ -29,6 +39,8 @@ more information.
2939
});
3040
```
3141

42+
* all: material now depends on TypeScript 2.0
43+
3244
* input: `md-input` attributes now match the casing of native attributes. Previously they were camel-cased; now they are all lowercase.
3345
Example: `autoComplete` is now `autocomplete`. See [#1066](https://github.com/angular/material2/pull/1066) for a full list.
3446

0 commit comments

Comments
 (0)