From 99d699c98e03354de680395372ff1b4a0c875d7b Mon Sep 17 00:00:00 2001 From: Vladimir Amiorkov Date: Thu, 30 May 2019 14:15:13 +0300 Subject: [PATCH] release: cut the 8.0.0 release (#1840) * release: cut the 8.0.0 release * chore: update changelog with migration steps for Angular 7.x.x to Angular 8.0.0 --- CHANGELOG.md | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 91eed4a4e..f837d4b8d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,42 @@ + +# [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)) + + +### 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)