From a484c3d25b89fcbc8a8d2a39bfb49816af79480a Mon Sep 17 00:00:00 2001 From: VladimirAmiorkov Date: Wed, 29 May 2019 21:19:11 +0300 Subject: [PATCH 1/2] release: cut the 8.0.0 release --- CHANGELOG.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 91eed4a4e..fa7c1708d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,19 @@ + +# [8.0.0](https://github.com/NativeScript/nativescript-angular/compare/7.2.4...8.0.0) (2019-05-29) + + +### Bug Fixes + +* **router:** fix return value for getTransition of NSRouterLink ([d20b645](https://github.com/NativeScript/nativescript-angular/commit/d20b645)), closes [#1784](https://github.com/NativeScript/nativescript-angular/issues/1784) +* **tsconfig:** exclude aot files from compilation ([a4eb409](https://github.com/NativeScript/nativescript-angular/commit/a4eb409)) + + +### Features + +* upgrade to Angular 8 ([b16046d](https://github.com/NativeScript/nativescript-angular/commit/b16046d)) + + + ## [7.2.4](https://github.com/NativeScript/nativescript-angular/compare/7.2.3...7.2.4) (2019-05-14) From 867eaec176c1f962659b57eda3f04e1f5c143212 Mon Sep 17 00:00:00 2001 From: VladimirAmiorkov Date: Thu, 30 May 2019 10:28:42 +0300 Subject: [PATCH 2/2] chore: update changelog with migration steps for Angular 7.x.x to Angular 8.0.0 --- CHANGELOG.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index fa7c1708d..f837d4b8d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,29 @@ * upgrade to Angular 8 ([b16046d](https://github.com/NativeScript/nativescript-angular/commit/b16046d)) +### BREAKING CHANGES + +* In Angular version 8, it's required that all `@ViewChild` and `@ContentChild` queries have a `static` flag specifying whether the query is `static` or `dynamic`. More details about this change can be found [here](https://angular.io/guide/static-query-migration). + +Migration steps: + +Anywhere you previously had `@ViewChild` with a single param you now have to provide a second param with a `static` property set to either `true` or `false` + +**Previous code:** +``` +import { ElementRef } from "@angular/core"; + +@ViewChild("myElement") myElement: ElementRef; +``` + +**Migrated code:** +``` +import { ElementRef } from "@angular/core"; + +@ViewChild("myElement", { static: false }) myElement: ElementRef; +``` + + ## [7.2.4](https://github.com/NativeScript/nativescript-angular/compare/7.2.3...7.2.4) (2019-05-14)