File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ <a name =" 4.2.0 " ></a >
2+ # [ 4.2.0] ( https://github.com/NativeScript/nativescript-angular/compare/3.1.3...4.2.0 ) (2017-08-09)
3+
4+ ### Features
5+
6+ * Angular 4.2 support ([ #842 ] ( https://github.com/NativeScript/nativescript-angular/issues/842 ) ) ([ eb3fd81] ( https://github.com/NativeScript/nativescript-angular/commit/eb3fd81 ) )
7+
8+
9+ ### BREAKING CHANGES
10+
11+ * ` NativeScriptModule ` should be imported only in the root application
12+ module (usually named ` AppModule ` ).
13+ All other NgModules in the app (both feature and lazy-loaded ones)
14+ should import the ` NativeScriptCommonModule ` instead.
15+ The behaviour is alligned with ` BrowserModule ` and ` CommonModule ` in web
16+ Angular apps described in [ this] ( https://angular.io/guide/ngmodule-faq#q-browser-vs-common-module ) guide.
17+
18+ Migration steps:
19+ In all NgModules, except the root one (` AppModule ` ), replace:
20+ ```
21+ import { NativeScriptModule } from "nativescript-angular/nativescript.module";
22+ …
23+ @NgModule({
24+ imports: [
25+ NativeScriptModule,
26+ ]
27+ …
28+ })
29+ ```
30+ with:
31+ ```
32+ import { NativeScriptCommonModule } from "nativescript-angular/common";
33+ …
34+ @NgModule({
35+ imports: [
36+ NativeScriptCommonModule,
37+ ]
38+ …
39+ })
40+ ```
41+
42+
43+
144<a name =" 3.1.3 " ></a >
245## [ 3.1.3] ( https://github.com/NativeScript/nativescript-angular/compare/3.1.2...3.1.3 ) (2017-07-19)
346
You can’t perform that action at this time.
0 commit comments