Skip to content

Commit bdb8eda

Browse files
Merge branch 'release' into svetoslavtsenov/tab-navigations-tests
2 parents b587a2f + 16924f4 commit bdb8eda

1 file changed

Lines changed: 113 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,116 @@
1+
<a name="6.0.0"></a>
2+
# [6.0.0](https://github.com/NativeScript/NativeScript/compare/5.4.2...6.0.0) (2019-06-28)
3+
4+
5+
### Bug Fixes
6+
7+
* **bundle:** support for file qualifiers with webpack ([#7386](https://github.com/NativeScript/NativeScript/issues/7386)) ([9fcc1dd](https://github.com/NativeScript/NativeScript/commit/9fcc1dd))
8+
* **bundle:** code-only typescript custom components with webpack ([#7321](https://github.com/NativeScript/NativeScript/issues/7321)) ([9fcc1dd](https://github.com/NativeScript/NativeScript/commit/9fcc1dd))
9+
* **bundle:** component builder support for codeFile / cssFile / import with webpack ([#7324](https://github.com/NativeScript/NativeScript/issues/7324)) ([9fcc1dd](https://github.com/NativeScript/NativeScript/commit/9fcc1dd))
10+
* **bundle:** different event order ([NativeScript/nativescript-cli#4633](https://github.com/NativeScript/nativescript-cli/issues/4633)) ([8851835](https://github.com/NativeScript/NativeScript/commit/8851835))
11+
* restore TextField.textChange and Switch.checkedChange event syntax in xml ([#7403](https://github.com/NativeScript/NativeScript/issues/7403)) ([76b5089](https://github.com/NativeScript/NativeScript/commit/76b5089))
12+
* **android:** ignore gzip content-encoding for status code 204 ([#7417](https://github.com/NativeScript/NativeScript/issues/7417)) ([4437cd6](https://github.com/NativeScript/NativeScript/commit/4437cd6))
13+
* **android-transition:** exit transition not executed after app suspend resume ([#7402](https://github.com/NativeScript/NativeScript/issues/7402)) ([f08b491](https://github.com/NativeScript/NativeScript/commit/f08b491))
14+
* **css-state:** _appliedSelectorsVersion assignment ([#7405](https://github.com/NativeScript/NativeScript/issues/7405)) ([9ecf07f](https://github.com/NativeScript/NativeScript/commit/9ecf07f))
15+
* **observable-array**: splice to notify correct amount of added items ([#7426](https://github.com/NativeScript/NativeScript/pull/7426)) ([5e14de6](https://github.com/NativeScript/NativeScript/commit/5e14de6))
16+
* cancel contradictory gesture events ([#7296](https://github.com/NativeScript/NativeScript/issues/7296)) ([b8a82f2](https://github.com/NativeScript/NativeScript/commit/b8a82f2))
17+
* allow span descendants in FormattedString ([#7369](https://github.com/NativeScript/NativeScript/issues/7369)) ([01c4b8c](https://github.com/NativeScript/NativeScript/commit/01c4b8c))
18+
19+
20+
### Features
21+
22+
* **bundle:** bundle workflow support ([#7320](https://github.com/NativeScript/NativeScript/issues/7320)) ([ecd9fc3](https://github.com/NativeScript/NativeScript/commit/ecd9fc3))
23+
* **android:** androidX support ([#7039](https://github.com/NativeScript/NativeScript/issues/7039)) ([c5db112](https://github.com/NativeScript/NativeScript/commit/c5db112))
24+
* **BETA/EXPERIMENTAL:** bottom navigation and tabs components ([#6967](https://github.com/NativeScript/NativeScript/issues/6967)) ([0c2c1cc](https://github.com/NativeScript/NativeScript/commit/0c2c1cc))
25+
* add support for :focus pseudo class in TextField / TextView ([#7396](https://github.com/NativeScript/NativeScript/pull/7396)) ([0bfddab](https://github.com/NativeScript/NativeScript/commit/0bfddab))
26+
27+
28+
### BREAKING CHANGES
29+
30+
* `AndroidApplication.currentContext` in `tns-core-modules/application` module is now removed.
31+
32+
Use `AndroidApplication.startActivity`, `AndroidApplication.foregroundActivity`, or `AndroidApplication.context` properties instead.
33+
34+
35+
* `start(...)` method in `tns-core-modules/application` module is now removed.
36+
37+
Use `application.run(...)` method instead.
38+
39+
40+
* `loadPage(...)` method in `tns-core-modules/ui/builder` module is now removed.
41+
42+
Use `createViewFromEntry(entry: NavigationEntry)` method in `tns-core-modules/ui/builder` module instead.
43+
44+
45+
* `tns-core-modules/ui/core/dependency-observable` module is now removed.
46+
47+
Use `tns-core-modules/ui/core/properties` module instead.
48+
49+
50+
* `ViewBase.showModal()`, `ViewBase.showModal(moduleName: string, context: any, closeCallback: Function, fullscreen?: boolean, animated?: boolean, stretched?: boolean): ViewBase`, and `ViewBase.showModal(view: ViewBase, context: any, closeCallback: Function, fullscreen?: boolean, animated?: boolean, stretched?: boolean): ViewBase` method overloads are now removed.
51+
52+
Use `ViewBase.showModal(moduleName: string, modalOptions: ShowModalOptions): ViewBase` or `ViewBase.showModal(view: ViewBase, modalOptions: ShowModalOptions): ViewBase` instead.
53+
54+
55+
* `Frame.androidOptionSelectedEvent` and `AndroidOptionEventData` interfrace in `tns-core-modules/ui/frame` module are now removed.
56+
57+
Event not raised by NativeScript core framework anymore.
58+
59+
60+
* `AndroidFrame.cachePagesOnNavigate` in `tns-core-modules/ui/frame` module is now removed.
61+
62+
Not used internally in NativeScript core framework anymore.
63+
64+
65+
* `stack()` method in `tns-core-modules/ui/frame` module is now removed.
66+
67+
Use `getFrameById(...)` method if you want to retrieve a frame different than the topmost one instead.
68+
69+
70+
* `AndroidActivityCallbacks.onCreate(activity: any, savedInstanceState: any, superFunc: Function)` method overload in `tns-core-modules/ui/frame` module is now removed.
71+
72+
Use `AndroidActivityCallbacks.onCreate(activity: any, savedInstanceState: any, intent: any, superFunc: Function)` instead.
73+
74+
75+
* `WebView.url` property in `tns-core-modules/ui/web-view` module is now removed.
76+
77+
Use `WebView.src` property instead.
78+
79+
80+
* `ios.getter(...)` function in `tns-core-modules/utils` module is now removed.
81+
82+
Use the respective native property directly instead.
83+
84+
85+
* `View.observe(...)` method in `tns-core-modules/ui/core/view` module is now removed.
86+
87+
Use `View.on(...)` method instead.
88+
89+
* The addedCount variable from ObservableArray.splice(...) change event is always the amount of added items.
90+
91+
Migration steps:
92+
The old addedCount can be obtained by `const addedCount = event.addedCount - event.removed.length`
93+
94+
* Fix to cancel contradictory gesture events (e.g. tap and double tap) introduces the following behavior breaking change
95+
96+
Before:
97+
* **iOS / Android**:
98+
* double tap: child tap -> parent tap -> child double tap -> parent double tap
99+
* tap: child tap -> parent tap
100+
101+
After:
102+
* **iOS**:
103+
* double tap: child double tap
104+
* tap: child tap
105+
* **Android**:
106+
* double tap: child double tap -> parent double tap
107+
* tap: child tap -> parent tap
108+
109+
Migration steps:
110+
Move event handlers accordingly.
111+
112+
113+
1114
## [5.4.3](https://github.com/NativeScript/NativeScript/compare/5.4.2...5.4.3) (2019-06-21)
2115

3116

0 commit comments

Comments
 (0)