Skip to content

Commit 7e11ac3

Browse files
authored
Merge branch 'master' into mdonev/flexbox-layout-snippets
2 parents 1f7f82b + 2e944a8 commit 7e11ac3

File tree

3 files changed

+66
-24
lines changed

3 files changed

+66
-24
lines changed

CHANGELOG.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,50 @@
1+
<a name="5.0.0"></a>
2+
# [5.0.0](https://github.com/NativeScript/nativescript-angular/compare/5.0.0-rc.0...v5.0.0) (2017-12-20)
3+
4+
5+
### Features
6+
7+
* UI must be created before first render, drainMicroTasks when the first page is created.
8+
This removes the white screen displayed between the launch screen and the initial page view.
9+
Speeds up roughly 300ms startup times for iOS with Angular. ([#1103](https://github.com/NativeScript/nativescript-angular/pull/1103))
10+
11+
12+
* update to Angular 5 animations and add support for AnimationBuilder ([#1114](https://github.com/NativeScript/nativescript-angular/issues/1114)) ([191f2a0](https://github.com/NativeScript/nativescript-angular/commit/191f2a0))
13+
14+
### DEPRECATION
15+
16+
NSModuleFactoryLoader is no longer needed for {N} apps. ([192a3d0](https://github.com/NativeScript/nativescript-angular/commit/192a3d0))
17+
18+
19+
Before:
20+
21+
```
22+
// app.module.ts
23+
24+
@NgModule({
25+
providers: [
26+
{ provide: NgModuleFactoryLoader, useClass: NSModuleFactoryLoader }
27+
// ...
28+
],
29+
// ...
30+
})
31+
class AppModule { }
32+
```
33+
34+
After:
35+
36+
```
37+
// app.module.ts
38+
39+
@NgModule({
40+
providers: [
41+
// ...
42+
],
43+
// ...
44+
})
45+
class AppModule { }
46+
```
47+
148
<a name="5.0.0-rc.0"></a>
249
# [5.0.0-rc.0](https://github.com/NativeScript/nativescript-angular/compare/4.4.1...5.0.0-rc.0) (2017-11-06)
350

nativescript-angular/bin/remove-polyfills-metadata.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

nativescript-angular/package.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"postinstall": "node postinstall.js",
3434
"tsc": "tsc -p tsconfig.json",
3535
"ngc": "ngc -p tsconfig.json",
36-
"prepare": "npm run ngc && node ./bin/remove-polyfills-metadata.js"
36+
"prepare": "npm run ngc"
3737
},
3838
"bin": {
3939
"update-app-ng-deps": "./bin/update-app-ng-deps"
@@ -43,30 +43,30 @@
4343
"reflect-metadata": "^0.1.8"
4444
},
4545
"peerDependencies": {
46-
"@angular/platform-browser-dynamic": "~5.0.0",
47-
"@angular/common": "~5.0.0",
48-
"@angular/compiler": "~5.0.0",
49-
"@angular/core": "~5.0.0",
50-
"@angular/forms": "~5.0.0",
51-
"@angular/http": "~5.0.0",
52-
"@angular/platform-browser": "~5.0.0",
53-
"@angular/router": "~5.0.0",
46+
"@angular/platform-browser-dynamic": "~5.1.0",
47+
"@angular/common": "~5.1.0",
48+
"@angular/compiler": "~5.1.0",
49+
"@angular/core": "~5.1.0",
50+
"@angular/forms": "~5.1.0",
51+
"@angular/http": "~5.1.0",
52+
"@angular/platform-browser": "~5.1.0",
53+
"@angular/router": "~5.1.0",
5454
"rxjs": "^5.5.0",
5555
"tns-core-modules": "^3.1.0 || >3.4.0-",
5656
"zone.js": "^0.8.4",
5757
"typescript": "~2.4.2"
5858
},
5959
"devDependencies": {
60-
"@angular/platform-browser-dynamic": "~5.0.0",
61-
"@angular/animations": "~5.0.0",
62-
"@angular/common": "~5.0.0",
63-
"@angular/compiler": "~5.0.0",
64-
"@angular/compiler-cli": "~5.0.0",
65-
"@angular/core": "~5.0.0",
66-
"@angular/forms": "~5.0.0",
67-
"@angular/http": "~5.0.0",
68-
"@angular/platform-browser": "~5.0.0",
69-
"@angular/router": "~5.0.0",
60+
"@angular/platform-browser-dynamic": "~5.1.0",
61+
"@angular/animations": "~5.1.0",
62+
"@angular/common": "~5.1.0",
63+
"@angular/compiler": "~5.1.0",
64+
"@angular/compiler-cli": "~5.1.0",
65+
"@angular/core": "~5.1.0",
66+
"@angular/forms": "~5.1.0",
67+
"@angular/http": "~5.1.0",
68+
"@angular/platform-browser": "~5.1.0",
69+
"@angular/router": "~5.1.0",
7070
"codelyzer": "^4.0.0",
7171
"rxjs": "^5.5.0",
7272
"tns-core-modules": "next",

0 commit comments

Comments
 (0)