diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0439009ed..eaa1cdc72 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,24 @@
+
+# [5.2.0](https://github.com/NativeScript/nativescript-angular/compare/5.0.0...5.2.0) (2018-01-17)
+
+
+### Features
+
+* add support for Angular 5.2 ([#1154](https://github.com/NativeScript/nativescript-angular/issues/1154)) ([faa690](https://github.com/NativeScript/nativescript-angular/commit/faa690))
+
+* enable typescript 2.6 ([#1156](https://github.com/NativeScript/nativescript-angular/issues/1156)) ([2a5742b](https://github.com/NativeScript/nativescript-angular/commit/2a5742b))
+
+
+
+
+# [5.1.0](https://github.com/NativeScript/nativescript-angular/compare/5.0.0...5.1.0) (2018-01-10)
+
+
+### Features
+
+* add support for Angular 5.1 ([#1134](https://github.com/NativeScript/nativescript-angular/issues/1134)) ([2e944a8](https://github.com/NativeScript/nativescript-angular/commit/2e944a8))
+
+
# [5.0.0](https://github.com/NativeScript/nativescript-angular/compare/5.0.0-rc.0...v5.0.0) (2017-12-20)
diff --git a/e2e/renderer/package.json b/e2e/renderer/package.json
index 5edac50fa..4c6ff75d8 100644
--- a/e2e/renderer/package.json
+++ b/e2e/renderer/package.json
@@ -10,14 +10,14 @@
}
},
"dependencies": {
- "@angular/common": "~5.0.0",
- "@angular/compiler": "~5.0.0",
- "@angular/core": "~5.0.0",
- "@angular/forms": "~5.0.0",
- "@angular/http": "~5.0.0",
- "@angular/platform-browser": "~5.0.0",
- "@angular/platform-browser-dynamic": "~5.0.0",
- "@angular/router": "~5.0.0",
+ "@angular/common": "~5.2.0",
+ "@angular/compiler": "~5.2.0",
+ "@angular/core": "~5.2.0",
+ "@angular/forms": "~5.2.0",
+ "@angular/http": "~5.2.0",
+ "@angular/platform-browser": "~5.2.0",
+ "@angular/platform-browser-dynamic": "~5.2.0",
+ "@angular/router": "~5.2.0",
"nativescript-angular": "file:../../nativescript-angular",
"nativescript-intl": "^3.0.0",
"reflect-metadata": "~0.1.8",
@@ -42,11 +42,11 @@
"nativescript-dev-appium": "next",
"nativescript-dev-typescript": "~0.4.0",
"tslib": "^1.7.1",
- "typescript": "~2.4.2"
+ "typescript": "~2.6.2"
},
"scripts": {
"e2e": "tsc -p e2e && mocha --opts ./e2e/config/mocha.opts",
"compile-tests-w": "tsc -p e2e --watch",
"update-app-ng-deps": "update-app-ng-deps"
}
-}
+}
\ No newline at end of file
diff --git a/e2e/router/package.json b/e2e/router/package.json
index df5a6f219..0dc072e07 100644
--- a/e2e/router/package.json
+++ b/e2e/router/package.json
@@ -13,15 +13,15 @@
}
},
"dependencies": {
- "@angular/animations": "~4.4.1",
- "@angular/common": "~5.0.0",
- "@angular/compiler": "~5.0.0",
- "@angular/core": "~5.0.0",
- "@angular/forms": "~5.0.0",
- "@angular/http": "~5.0.0",
- "@angular/platform-browser": "~5.0.0",
- "@angular/platform-browser-dynamic": "~5.0.0",
- "@angular/router": "~5.0.0",
+ "@angular/animations": "~5.2.0",
+ "@angular/common": "~5.2.0",
+ "@angular/compiler": "~5.2.0",
+ "@angular/core": "~5.2.0",
+ "@angular/forms": "~5.2.0",
+ "@angular/http": "~5.2.0",
+ "@angular/platform-browser": "~5.2.0",
+ "@angular/platform-browser-dynamic": "~5.2.0",
+ "@angular/router": "~5.2.0",
"nativescript-angular": "file:../../nativescript-angular",
"nativescript-intl": "^3.0.0",
"reflect-metadata": "~0.1.8",
@@ -46,7 +46,7 @@
"nativescript-dev-appium": "next",
"nativescript-dev-typescript": "~0.4.0",
"tslib": "^1.7.1",
- "typescript": "~2.4.2"
+ "typescript": "~2.6.2"
},
"scripts": {
"e2e": "tsc -p e2e && mocha --opts ./e2e/config/mocha.opts",
diff --git a/nativescript-angular/bin/remove-polyfills-metadata.js b/nativescript-angular/bin/remove-polyfills-metadata.js
deleted file mode 100644
index 4c1d4af30..000000000
--- a/nativescript-angular/bin/remove-polyfills-metadata.js
+++ /dev/null
@@ -1,5 +0,0 @@
-const { unlinkSync } = require("fs");
-
-unlinkSync("./polyfills/console.metadata.json");
-unlinkSync("./polyfills/array.metadata.json");
-
diff --git a/nativescript-angular/package.json b/nativescript-angular/package.json
index a60458968..39c4e6608 100644
--- a/nativescript-angular/package.json
+++ b/nativescript-angular/package.json
@@ -1,7 +1,7 @@
{
"private": true,
"name": "nativescript-angular",
- "version": "5.0.0",
+ "version": "5.2.0",
"description": "An Angular renderer that lets you build mobile apps with NativeScript.",
"homepage": "https://www.nativescript.org/",
"bugs": "https://github.com/NativeScript/nativescript-angular/issues",
@@ -33,7 +33,7 @@
"postinstall": "node postinstall.js",
"tsc": "tsc -p tsconfig.json",
"ngc": "ngc -p tsconfig.json",
- "prepare": "npm run ngc && node ./bin/remove-polyfills-metadata.js"
+ "prepare": "npm run ngc"
},
"bin": {
"update-app-ng-deps": "./bin/update-app-ng-deps"
@@ -43,35 +43,35 @@
"reflect-metadata": "^0.1.8"
},
"peerDependencies": {
- "@angular/platform-browser-dynamic": "~5.0.0",
- "@angular/common": "~5.0.0",
- "@angular/compiler": "~5.0.0",
- "@angular/core": "~5.0.0",
- "@angular/forms": "~5.0.0",
- "@angular/http": "~5.0.0",
- "@angular/platform-browser": "~5.0.0",
- "@angular/router": "~5.0.0",
+ "@angular/platform-browser-dynamic": "~5.2.0",
+ "@angular/common": "~5.2.0",
+ "@angular/compiler": "~5.2.0",
+ "@angular/core": "~5.2.0",
+ "@angular/forms": "~5.2.0",
+ "@angular/http": "~5.2.0",
+ "@angular/platform-browser": "~5.2.0",
+ "@angular/router": "~5.2.0",
"rxjs": "^5.5.0",
- "tns-core-modules": "^3.1.0 || >3.4.0-",
+ "tns-core-modules": "^3.4.0 || >4.0.0-",
"zone.js": "^0.8.4",
- "typescript": "~2.4.2"
+ "typescript": "~2.6.2"
},
"devDependencies": {
- "@angular/platform-browser-dynamic": "~5.0.0",
- "@angular/animations": "~5.0.0",
- "@angular/common": "~5.0.0",
- "@angular/compiler": "~5.0.0",
- "@angular/compiler-cli": "~5.0.0",
- "@angular/core": "~5.0.0",
- "@angular/forms": "~5.0.0",
- "@angular/http": "~5.0.0",
- "@angular/platform-browser": "~5.0.0",
- "@angular/router": "~5.0.0",
+ "@angular/platform-browser-dynamic": "~5.2.0",
+ "@angular/animations": "~5.2.0",
+ "@angular/common": "~5.2.0",
+ "@angular/compiler": "~5.2.0",
+ "@angular/compiler-cli": "~5.2.0",
+ "@angular/core": "~5.2.0",
+ "@angular/forms": "~5.2.0",
+ "@angular/http": "~5.2.0",
+ "@angular/platform-browser": "~5.2.0",
+ "@angular/router": "~5.2.0",
"codelyzer": "^4.0.0",
"rxjs": "^5.5.0",
"tns-core-modules": "next",
"tslint": "^5.5.0",
- "typescript": "~2.4.2",
+ "typescript": "~2.6.2",
"zone.js": "^0.8.12"
}
}
diff --git a/ng-sample/package.json b/ng-sample/package.json
index 7c10e3b7e..ecd45f339 100644
--- a/ng-sample/package.json
+++ b/ng-sample/package.json
@@ -32,19 +32,19 @@
},
"homepage": "https://github.com/NativeScript/template-hello-world",
"dependencies": {
- "@angular/animations": "~5.0.0",
- "@angular/common": "~5.0.0",
- "@angular/compiler": "~5.0.0",
- "@angular/core": "~5.0.0",
- "@angular/forms": "~5.0.0",
- "@angular/http": "~5.0.0",
- "@angular/platform-browser": "~5.0.0",
- "@angular/platform-browser-dynamic": "~5.0.0",
- "@angular/router": "~5.0.0",
+ "@angular/animations": "~5.2.0",
+ "@angular/common": "~5.2.0",
+ "@angular/compiler": "~5.2.0",
+ "@angular/core": "~5.2.0",
+ "@angular/forms": "~5.2.0",
+ "@angular/http": "~5.2.0",
+ "@angular/platform-browser": "~5.2.0",
+ "@angular/platform-browser-dynamic": "~5.2.0",
+ "@angular/router": "~5.2.0",
"nativescript-angular": "file:../nativescript-angular",
- "rxjs": "^5.5.2",
+ "rxjs": "^5.5.0",
"tns-core-modules": "next",
- "zone.js": "~0.8.2"
+ "zone.js": "^0.8.4"
},
"devDependencies": {
"babel-traverse": "6.9.0",
@@ -55,9 +55,10 @@
"nativescript-dev-typescript": "^0.3.1",
"shelljs": "^0.7.0",
"tslint": "^4.5.1",
- "typescript": "~2.4.2"
+ "typescript": "~2.6.2"
},
"scripts": {
- "tslint": "tslint --project tsconfig.json --config tslint.json"
+ "tslint": "tslint --project tsconfig.json --config tslint.json",
+ "update-app-ng-deps": "update-app-ng-deps"
}
-}
+}
\ No newline at end of file
diff --git a/tests/app/snippets/layouts.component.html b/tests/app/snippets/layouts.component.html
index c472f02bd..3cc2fbdb3 100644
--- a/tests/app/snippets/layouts.component.html
+++ b/tests/app/snippets/layouts.component.html
@@ -1,8 +1,8 @@
-
-
+
+
@@ -11,16 +11,16 @@
-
+
-
+
-
-
+
+
@@ -28,7 +28,7 @@
-
+
@@ -37,7 +37,7 @@
-
+
@@ -46,11 +46,11 @@
-
+
-
-
-
+
+
+
@@ -60,43 +60,43 @@
-
-
-
+
+
+
-
-
-
+
+
+
-
-
+
+
-
+
-
+
-
+
-
-
+
+
@@ -104,9 +104,9 @@
-
+
-
+
@@ -115,17 +115,17 @@
-
+
-
+
-
-
+
+
@@ -133,19 +133,19 @@
-
+
-
+
-
+
-
+
-
-
+
+
@@ -153,7 +153,7 @@
-
+
@@ -162,7 +162,7 @@
-
+
@@ -171,5 +171,62 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
\ No newline at end of file
diff --git a/tests/app/snippets/layouts.component.ts b/tests/app/snippets/layouts.component.ts
index 5912f1a27..5892c0492 100644
--- a/tests/app/snippets/layouts.component.ts
+++ b/tests/app/snippets/layouts.component.ts
@@ -10,7 +10,8 @@ import {Component} from "@angular/core";
"#main > DockLayout { margin: 10 }",
"#main > GridLayout { margin: 10 }",
"#main > StackLayout { margin: 10 }",
- "#main > WrapLayout { margin: 10 }"
+ "#main > WrapLayout { margin: 10 }",
+ "#main > FlexboxLayout { margin: 10 }"
]
})
export class LayoutsComponent {
diff --git a/tests/package.json b/tests/package.json
index 575f5344a..b7cc8a1ee 100644
--- a/tests/package.json
+++ b/tests/package.json
@@ -20,15 +20,15 @@
],
"homepage": "http://nativescript.org",
"dependencies": {
- "@angular/animations": "~5.0.0",
- "@angular/common": "~5.0.0",
- "@angular/compiler": "~5.0.0",
- "@angular/core": "~5.0.0",
- "@angular/forms": "~5.0.0",
- "@angular/http": "~5.0.0",
- "@angular/platform-browser": "~5.0.0",
- "@angular/platform-browser-dynamic": "~5.0.0",
- "@angular/router": "~5.0.0",
+ "@angular/animations": "~5.2.0",
+ "@angular/common": "~5.2.0",
+ "@angular/compiler": "~5.2.0",
+ "@angular/core": "~5.2.0",
+ "@angular/forms": "~5.2.0",
+ "@angular/http": "~5.2.0",
+ "@angular/platform-browser": "~5.2.0",
+ "@angular/platform-browser-dynamic": "~5.2.0",
+ "@angular/router": "~5.2.0",
"nativescript-angular": "../nativescript-angular",
"nativescript-unit-test-runner": "^0.3.4",
"rxjs": "^5.5.0",
@@ -60,7 +60,7 @@
"socket.io-client": "1.4.8",
"tslib": "^1.7.1",
"tslint": "^4.5.1",
- "typescript": "~2.4.2",
+ "typescript": "~2.6.2",
"mocha": "~3.5.0"
},
"scripts": {
@@ -68,4 +68,4 @@
"compile-tests-w": "tsc -p e2e --watch",
"update-app-ng-deps": "update-app-ng-deps"
}
-}
+}
\ No newline at end of file