Skip to content

Commit dcfaf38

Browse files
author
Vladimir Amiorkov
authored
release: cut the 8.0.0 release (#1840) (#1859)
* release: cut the 8.0.0 release * chore: update changelog with migration steps for Angular 7.x.x to Angular 8.0.0
1 parent 59a5bd8 commit dcfaf38

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

Diff for: CHANGELOG.md

+39
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,42 @@
1+
<a name="8.0.0"></a>
2+
# [8.0.0](https://github.com/NativeScript/nativescript-angular/compare/7.2.4...8.0.0) (2019-05-29)
3+
4+
5+
### Bug Fixes
6+
7+
* **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)
8+
* **tsconfig:** exclude aot files from compilation ([a4eb409](https://github.com/NativeScript/nativescript-angular/commit/a4eb409))
9+
10+
11+
### Features
12+
13+
* upgrade to Angular 8 ([b16046d](https://github.com/NativeScript/nativescript-angular/commit/b16046d))
14+
15+
16+
### BREAKING CHANGES
17+
18+
* 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).
19+
20+
Migration steps:
21+
22+
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`
23+
24+
**Previous code:**
25+
```
26+
import { ElementRef } from "@angular/core";
27+
28+
@ViewChild("myElement") myElement: ElementRef;
29+
```
30+
31+
**Migrated code:**
32+
```
33+
import { ElementRef } from "@angular/core";
34+
35+
@ViewChild("myElement", { static: false }) myElement: ElementRef;
36+
```
37+
38+
39+
140
## [7.2.4](https://github.com/NativeScript/nativescript-angular/compare/7.2.3...7.2.4) (2019-05-14)
241

342

0 commit comments

Comments
 (0)