From 97a549964d8114ea48dd52aa82d03b4b8c2de031 Mon Sep 17 00:00:00 2001 From: Jeremy Elbourn Date: Fri, 9 Sep 2016 10:55:34 -0700 Subject: [PATCH] docs: mention index.js changes in changelog (#1199) * docs: mention index.js changes in changelog * mention ts 2.0 req --- CHANGELOG.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d362a833679..36588fedc5f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,17 @@ switch to using our UMD bundles. Example config: } ``` -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). +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). + +In addition to this, each component now has an `index.js` file, so you should now have imports like +```ts +import {MdButtonModule} from '@angular2-material/button' +``` + +Instead of +```ts +import {MdButtonModule} from '@angular2-material/button/button' +``` * 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 more information. @@ -29,6 +39,8 @@ more information. }); ``` +* all: material now depends on TypeScript 2.0 + * input: `md-input` attributes now match the casing of native attributes. Previously they were camel-cased; now they are all lowercase. Example: `autoComplete` is now `autocomplete`. See [#1066](https://github.com/angular/material2/pull/1066) for a full list.