From 977eb82ce940c5dde9e441df63da03f1d4da37d4 Mon Sep 17 00:00:00 2001 From: SvetoslavTsenov Date: Fri, 8 Feb 2019 11:16:07 +0200 Subject: [PATCH 1/5] release: cut the 5.2.0 release --- CHANGELOG.md | 35 +++++++++++++++++++++++++++++++++++ tns-core-modules/package.json | 2 +- 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index abac8aa45..4c74dc838 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,38 @@ + +# [5.2.0](https://github.com/NativeScript/NativeScript/compare/5.1.2...5.2.0) (2019-02-08) + + +### Bug Fixes + +* call onNavigatingFrom event only if it exists ([#6773](https://github.com/NativeScript/NativeScript/issues/6773)) ([19dfd16](https://github.com/NativeScript/NativeScript/commit/19dfd16)) +* **android:** raise resume event on activity.onPostResume() ([#6766](https://github.com/NativeScript/NativeScript/issues/6766)) ([46c9de0](https://github.com/NativeScript/NativeScript/commit/46c9de0)) +* iOS tests ([4c15f71](https://github.com/NativeScript/NativeScript/commit/4c15f71)) +* **android:** animator restore logic on simulated nav ([#6710](https://github.com/NativeScript/NativeScript/issues/6710)) ([c034d6e](https://github.com/NativeScript/NativeScript/commit/c034d6e)) +* **android:** failure saving state in mixed parent/nested frame nav ([#6719](https://github.com/NativeScript/NativeScript/issues/6719)) ([4dc35a5](https://github.com/NativeScript/NativeScript/commit/4dc35a5)) +* **Android:** a crash on application restart after livesync changes ([#6756](https://github.com/NativeScript/NativeScript/issues/6756)) ([1f1d722](https://github.com/NativeScript/NativeScript/commit/1f1d722)) +* **android-login:** use passwordHint for password placeholder ([25f4b56](https://github.com/NativeScript/NativeScript/commit/25f4b56)) +* **ios:** native view frame optimizations in nested scenario ([#6809](https://github.com/NativeScript/NativeScript/issues/6809)) ([08acd84](https://github.com/NativeScript/NativeScript/commit/08acd84)) +* **ios:** textview content clipped on every other newline ([#6864](https://github.com/NativeScript/NativeScript/issues/6864)) ([23dc84d](https://github.com/NativeScript/NativeScript/commit/23dc84d)) +* **ios-frame:** tearDownUI and reset UINavigationController ([#6817](https://github.com/NativeScript/NativeScript/issues/6817)) ([cea97c6](https://github.com/NativeScript/NativeScript/commit/cea97c6)) +* **list-view-android:** app crashes on ListView item template change ([#6634](https://github.com/NativeScript/NativeScript/issues/6634)) ([2085d1e](https://github.com/NativeScript/NativeScript/commit/2085d1e)) +* **modal:** Fix crash if modal is destroyed before dismissed in Android ([#6723](https://github.com/NativeScript/NativeScript/issues/6723)) ([8a32102](https://github.com/NativeScript/NativeScript/commit/8a32102)) +* **tab-view:** remove onBackPressed override ([#6755](https://github.com/NativeScript/NativeScript/issues/6755)) ([984f162](https://github.com/NativeScript/NativeScript/commit/984f162)) +* **view-android:** clear dialog fragment when closing modal view ([#6852](https://github.com/NativeScript/NativeScript/issues/6852)) ([8c80044](https://github.com/NativeScript/NativeScript/commit/8c80044)) + + +### Features + +* add rebeccapurple to known css colors ([#6819](https://github.com/NativeScript/NativeScript/issues/6819)) ([672c821](https://github.com/NativeScript/NativeScript/commit/672c821)) +* OnDiscardedError typings and event ([#6777](https://github.com/NativeScript/NativeScript/issues/6777)) ([28db2af](https://github.com/NativeScript/NativeScript/commit/28db2af)) +* **action-bar:** flat mode breaks ios safe area ([#6862](https://github.com/NativeScript/NativeScript/issues/6862)) ([603c901](https://github.com/NativeScript/NativeScript/commit/603c901)) +* **dialog:** add decimal input type for prompt dialog ([#6805](https://github.com/NativeScript/NativeScript/issues/6805)) ([408614d](https://github.com/NativeScript/NativeScript/commit/408614d)) +* **HMR:** apply changes in application styles at runtime ([42a1491](https://github.com/NativeScript/NativeScript/commit/42a1491)) +* **image-cache:** expose onError callback ([#6458](https://github.com/NativeScript/NativeScript/issues/6458)) ([3481e6f](https://github.com/NativeScript/NativeScript/commit/3481e6f)) +* **modals:** option to make dialogs cancelable in Android ([#6765](https://github.com/NativeScript/NativeScript/issues/6765)) ([3a8c3fc](https://github.com/NativeScript/NativeScript/commit/3a8c3fc)) +* Provide API to release the native object wrapped by a JS one ([#6873](https://github.com/NativeScript/NativeScript/issues/6873)) ([8b4a9b3](https://github.com/NativeScript/NativeScript/commit/8b4a9b3)) + + + ## [5.1.2](https://github.com/NativeScript/NativeScript/compare/5.1.1...5.1.2) (2019-01-13) diff --git a/tns-core-modules/package.json b/tns-core-modules/package.json index 17a3e7421..aac49b8ed 100644 --- a/tns-core-modules/package.json +++ b/tns-core-modules/package.json @@ -26,7 +26,7 @@ "license": "Apache-2.0", "typings": "tns-core-modules.d.ts", "dependencies": { - "tns-core-modules-widgets": "next", + "tns-core-modules-widgets": "5.2.0", "tslib": "^1.9.3" }, "devDependencies": { From e77689537453ae7fffefd860c7e107f6cb8a5197 Mon Sep 17 00:00:00 2001 From: SvetoslavTsenov Date: Fri, 8 Feb 2019 11:37:45 +0200 Subject: [PATCH 2/5] docs: update changelog --- CHANGELOG.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c74dc838..cb79f56eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,6 @@ * call onNavigatingFrom event only if it exists ([#6773](https://github.com/NativeScript/NativeScript/issues/6773)) ([19dfd16](https://github.com/NativeScript/NativeScript/commit/19dfd16)) * **android:** raise resume event on activity.onPostResume() ([#6766](https://github.com/NativeScript/NativeScript/issues/6766)) ([46c9de0](https://github.com/NativeScript/NativeScript/commit/46c9de0)) -* iOS tests ([4c15f71](https://github.com/NativeScript/NativeScript/commit/4c15f71)) * **android:** animator restore logic on simulated nav ([#6710](https://github.com/NativeScript/NativeScript/issues/6710)) ([c034d6e](https://github.com/NativeScript/NativeScript/commit/c034d6e)) * **android:** failure saving state in mixed parent/nested frame nav ([#6719](https://github.com/NativeScript/NativeScript/issues/6719)) ([4dc35a5](https://github.com/NativeScript/NativeScript/commit/4dc35a5)) * **Android:** a crash on application restart after livesync changes ([#6756](https://github.com/NativeScript/NativeScript/issues/6756)) ([1f1d722](https://github.com/NativeScript/NativeScript/commit/1f1d722)) @@ -18,13 +17,13 @@ * **modal:** Fix crash if modal is destroyed before dismissed in Android ([#6723](https://github.com/NativeScript/NativeScript/issues/6723)) ([8a32102](https://github.com/NativeScript/NativeScript/commit/8a32102)) * **tab-view:** remove onBackPressed override ([#6755](https://github.com/NativeScript/NativeScript/issues/6755)) ([984f162](https://github.com/NativeScript/NativeScript/commit/984f162)) * **view-android:** clear dialog fragment when closing modal view ([#6852](https://github.com/NativeScript/NativeScript/issues/6852)) ([8c80044](https://github.com/NativeScript/NativeScript/commit/8c80044)) +* **action-bar:** flat mode breaks ios safe area ([#6862](https://github.com/NativeScript/NativeScript/issues/6862)) ([603c901](https://github.com/NativeScript/NativeScript/commit/603c901)) ### Features * add rebeccapurple to known css colors ([#6819](https://github.com/NativeScript/NativeScript/issues/6819)) ([672c821](https://github.com/NativeScript/NativeScript/commit/672c821)) * OnDiscardedError typings and event ([#6777](https://github.com/NativeScript/NativeScript/issues/6777)) ([28db2af](https://github.com/NativeScript/NativeScript/commit/28db2af)) -* **action-bar:** flat mode breaks ios safe area ([#6862](https://github.com/NativeScript/NativeScript/issues/6862)) ([603c901](https://github.com/NativeScript/NativeScript/commit/603c901)) * **dialog:** add decimal input type for prompt dialog ([#6805](https://github.com/NativeScript/NativeScript/issues/6805)) ([408614d](https://github.com/NativeScript/NativeScript/commit/408614d)) * **HMR:** apply changes in application styles at runtime ([42a1491](https://github.com/NativeScript/NativeScript/commit/42a1491)) * **image-cache:** expose onError callback ([#6458](https://github.com/NativeScript/NativeScript/issues/6458)) ([3481e6f](https://github.com/NativeScript/NativeScript/commit/3481e6f)) From 920fde0931682d4050844bdde0a00aba5856d203 Mon Sep 17 00:00:00 2001 From: SvetoslavTsenov Date: Fri, 8 Feb 2019 12:41:16 +0200 Subject: [PATCH 3/5] docs: update --- CHANGELOG.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cb79f56eb..cea71bdf2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,27 +8,27 @@ * **android:** raise resume event on activity.onPostResume() ([#6766](https://github.com/NativeScript/NativeScript/issues/6766)) ([46c9de0](https://github.com/NativeScript/NativeScript/commit/46c9de0)) * **android:** animator restore logic on simulated nav ([#6710](https://github.com/NativeScript/NativeScript/issues/6710)) ([c034d6e](https://github.com/NativeScript/NativeScript/commit/c034d6e)) * **android:** failure saving state in mixed parent/nested frame nav ([#6719](https://github.com/NativeScript/NativeScript/issues/6719)) ([4dc35a5](https://github.com/NativeScript/NativeScript/commit/4dc35a5)) -* **Android:** a crash on application restart after livesync changes ([#6756](https://github.com/NativeScript/NativeScript/issues/6756)) ([1f1d722](https://github.com/NativeScript/NativeScript/commit/1f1d722)) +* **android:** a crash on application restart after livesync changes ([#6756](https://github.com/NativeScript/NativeScript/issues/6756)) ([1f1d722](https://github.com/NativeScript/NativeScript/commit/1f1d722)) * **android-login:** use passwordHint for password placeholder ([25f4b56](https://github.com/NativeScript/NativeScript/commit/25f4b56)) +* **view-android:** clear dialog fragment when closing modal view ([#6852](https://github.com/NativeScript/NativeScript/issues/6852)) ([8c80044](https://github.com/NativeScript/NativeScript/commit/8c80044)) +* **list-view-android:** app crashes on ListView item template change ([#6634](https://github.com/NativeScript/NativeScript/issues/6634)) ([2085d1e](https://github.com/NativeScript/NativeScript/commit/2085d1e)) +* **modal:** fix crash if modal is destroyed before dismissed in Android ([#6723](https://github.com/NativeScript/NativeScript/issues/6723)) ([8a32102](https://github.com/NativeScript/NativeScript/commit/8a32102)) * **ios:** native view frame optimizations in nested scenario ([#6809](https://github.com/NativeScript/NativeScript/issues/6809)) ([08acd84](https://github.com/NativeScript/NativeScript/commit/08acd84)) * **ios:** textview content clipped on every other newline ([#6864](https://github.com/NativeScript/NativeScript/issues/6864)) ([23dc84d](https://github.com/NativeScript/NativeScript/commit/23dc84d)) * **ios-frame:** tearDownUI and reset UINavigationController ([#6817](https://github.com/NativeScript/NativeScript/issues/6817)) ([cea97c6](https://github.com/NativeScript/NativeScript/commit/cea97c6)) -* **list-view-android:** app crashes on ListView item template change ([#6634](https://github.com/NativeScript/NativeScript/issues/6634)) ([2085d1e](https://github.com/NativeScript/NativeScript/commit/2085d1e)) -* **modal:** Fix crash if modal is destroyed before dismissed in Android ([#6723](https://github.com/NativeScript/NativeScript/issues/6723)) ([8a32102](https://github.com/NativeScript/NativeScript/commit/8a32102)) * **tab-view:** remove onBackPressed override ([#6755](https://github.com/NativeScript/NativeScript/issues/6755)) ([984f162](https://github.com/NativeScript/NativeScript/commit/984f162)) -* **view-android:** clear dialog fragment when closing modal view ([#6852](https://github.com/NativeScript/NativeScript/issues/6852)) ([8c80044](https://github.com/NativeScript/NativeScript/commit/8c80044)) * **action-bar:** flat mode breaks ios safe area ([#6862](https://github.com/NativeScript/NativeScript/issues/6862)) ([603c901](https://github.com/NativeScript/NativeScript/commit/603c901)) ### Features -* add rebeccapurple to known css colors ([#6819](https://github.com/NativeScript/NativeScript/issues/6819)) ([672c821](https://github.com/NativeScript/NativeScript/commit/672c821)) -* OnDiscardedError typings and event ([#6777](https://github.com/NativeScript/NativeScript/issues/6777)) ([28db2af](https://github.com/NativeScript/NativeScript/commit/28db2af)) * **dialog:** add decimal input type for prompt dialog ([#6805](https://github.com/NativeScript/NativeScript/issues/6805)) ([408614d](https://github.com/NativeScript/NativeScript/commit/408614d)) * **HMR:** apply changes in application styles at runtime ([42a1491](https://github.com/NativeScript/NativeScript/commit/42a1491)) * **image-cache:** expose onError callback ([#6458](https://github.com/NativeScript/NativeScript/issues/6458)) ([3481e6f](https://github.com/NativeScript/NativeScript/commit/3481e6f)) * **modals:** option to make dialogs cancelable in Android ([#6765](https://github.com/NativeScript/NativeScript/issues/6765)) ([3a8c3fc](https://github.com/NativeScript/NativeScript/commit/3a8c3fc)) -* Provide API to release the native object wrapped by a JS one ([#6873](https://github.com/NativeScript/NativeScript/issues/6873)) ([8b4a9b3](https://github.com/NativeScript/NativeScript/commit/8b4a9b3)) +* provide API to release the native object wrapped by a JS one ([#6873](https://github.com/NativeScript/NativeScript/issues/6873)) ([8b4a9b3](https://github.com/NativeScript/NativeScript/commit/8b4a9b3)) +* add rebeccapurple to known css colors ([#6819](https://github.com/NativeScript/NativeScript/issues/6819)) ([672c821](https://github.com/NativeScript/NativeScript/commit/672c821)) +* add OnDiscardedError typings and event ([#6777](https://github.com/NativeScript/NativeScript/issues/6777)) ([28db2af](https://github.com/NativeScript/NativeScript/commit/28db2af)) From 35fd7939a79caa587c2985c93d0b81afe4953e38 Mon Sep 17 00:00:00 2001 From: SvetoslavTsenov Date: Fri, 8 Feb 2019 14:53:14 +0200 Subject: [PATCH 4/5] docs: update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cea71bdf2..3c45d8ff1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ ### Bug Fixes * call onNavigatingFrom event only if it exists ([#6773](https://github.com/NativeScript/NativeScript/issues/6773)) ([19dfd16](https://github.com/NativeScript/NativeScript/commit/19dfd16)) +* app launch with app.css hot module update ([7ced019](https://github.com/NativeScript/NativeScript/commit/7ced019)) * **android:** raise resume event on activity.onPostResume() ([#6766](https://github.com/NativeScript/NativeScript/issues/6766)) ([46c9de0](https://github.com/NativeScript/NativeScript/commit/46c9de0)) * **android:** animator restore logic on simulated nav ([#6710](https://github.com/NativeScript/NativeScript/issues/6710)) ([c034d6e](https://github.com/NativeScript/NativeScript/commit/c034d6e)) * **android:** failure saving state in mixed parent/nested frame nav ([#6719](https://github.com/NativeScript/NativeScript/issues/6719)) ([4dc35a5](https://github.com/NativeScript/NativeScript/commit/4dc35a5)) From 76a9cae75de9ce40e828aaef88e0db6dbad45256 Mon Sep 17 00:00:00 2001 From: Vasil Chimev Date: Fri, 8 Feb 2019 15:01:49 +0200 Subject: [PATCH 5/5] docs: updates on 5.2.0 changelog --- CHANGELOG.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c45d8ff1..3eed8fa67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,30 +4,30 @@ ### Bug Fixes -* call onNavigatingFrom event only if it exists ([#6773](https://github.com/NativeScript/NativeScript/issues/6773)) ([19dfd16](https://github.com/NativeScript/NativeScript/commit/19dfd16)) -* app launch with app.css hot module update ([7ced019](https://github.com/NativeScript/NativeScript/commit/7ced019)) * **android:** raise resume event on activity.onPostResume() ([#6766](https://github.com/NativeScript/NativeScript/issues/6766)) ([46c9de0](https://github.com/NativeScript/NativeScript/commit/46c9de0)) * **android:** animator restore logic on simulated nav ([#6710](https://github.com/NativeScript/NativeScript/issues/6710)) ([c034d6e](https://github.com/NativeScript/NativeScript/commit/c034d6e)) * **android:** failure saving state in mixed parent/nested frame nav ([#6719](https://github.com/NativeScript/NativeScript/issues/6719)) ([4dc35a5](https://github.com/NativeScript/NativeScript/commit/4dc35a5)) * **android:** a crash on application restart after livesync changes ([#6756](https://github.com/NativeScript/NativeScript/issues/6756)) ([1f1d722](https://github.com/NativeScript/NativeScript/commit/1f1d722)) -* **android-login:** use passwordHint for password placeholder ([25f4b56](https://github.com/NativeScript/NativeScript/commit/25f4b56)) -* **view-android:** clear dialog fragment when closing modal view ([#6852](https://github.com/NativeScript/NativeScript/issues/6852)) ([8c80044](https://github.com/NativeScript/NativeScript/commit/8c80044)) -* **list-view-android:** app crashes on ListView item template change ([#6634](https://github.com/NativeScript/NativeScript/issues/6634)) ([2085d1e](https://github.com/NativeScript/NativeScript/commit/2085d1e)) -* **modal:** fix crash if modal is destroyed before dismissed in Android ([#6723](https://github.com/NativeScript/NativeScript/issues/6723)) ([8a32102](https://github.com/NativeScript/NativeScript/commit/8a32102)) +* **android:** use passwordHint for password placeholder ([25f4b56](https://github.com/NativeScript/NativeScript/commit/25f4b56)) +* **android:** clear dialog fragment when closing modal view ([#6852](https://github.com/NativeScript/NativeScript/issues/6852)) ([8c80044](https://github.com/NativeScript/NativeScript/commit/8c80044)) +* **android:** app crashes on ListView item template change ([#6634](https://github.com/NativeScript/NativeScript/issues/6634)) ([2085d1e](https://github.com/NativeScript/NativeScript/commit/2085d1e)) +* **android:** fix a crash if modal is destroyed before dismissed ([#6723](https://github.com/NativeScript/NativeScript/issues/6723)) ([8a32102](https://github.com/NativeScript/NativeScript/commit/8a32102)) * **ios:** native view frame optimizations in nested scenario ([#6809](https://github.com/NativeScript/NativeScript/issues/6809)) ([08acd84](https://github.com/NativeScript/NativeScript/commit/08acd84)) * **ios:** textview content clipped on every other newline ([#6864](https://github.com/NativeScript/NativeScript/issues/6864)) ([23dc84d](https://github.com/NativeScript/NativeScript/commit/23dc84d)) -* **ios-frame:** tearDownUI and reset UINavigationController ([#6817](https://github.com/NativeScript/NativeScript/issues/6817)) ([cea97c6](https://github.com/NativeScript/NativeScript/commit/cea97c6)) -* **tab-view:** remove onBackPressed override ([#6755](https://github.com/NativeScript/NativeScript/issues/6755)) ([984f162](https://github.com/NativeScript/NativeScript/commit/984f162)) +* **ios:** tearDownUI and reset UINavigationController ([#6817](https://github.com/NativeScript/NativeScript/issues/6817)) ([cea97c6](https://github.com/NativeScript/NativeScript/commit/cea97c6)) * **action-bar:** flat mode breaks ios safe area ([#6862](https://github.com/NativeScript/NativeScript/issues/6862)) ([603c901](https://github.com/NativeScript/NativeScript/commit/603c901)) +* **tab-view:** remove onBackPressed override ([#6755](https://github.com/NativeScript/NativeScript/issues/6755)) ([984f162](https://github.com/NativeScript/NativeScript/commit/984f162)) +* call onNavigatingFrom event only if it exists ([#6773](https://github.com/NativeScript/NativeScript/issues/6773)) ([19dfd16](https://github.com/NativeScript/NativeScript/commit/19dfd16)) +* app launch with application style hot module updates ([7ced019](https://github.com/NativeScript/NativeScript/commit/7ced019)) ### Features -* **dialog:** add decimal input type for prompt dialog ([#6805](https://github.com/NativeScript/NativeScript/issues/6805)) ([408614d](https://github.com/NativeScript/NativeScript/commit/408614d)) -* **HMR:** apply changes in application styles at runtime ([42a1491](https://github.com/NativeScript/NativeScript/commit/42a1491)) -* **image-cache:** expose onError callback ([#6458](https://github.com/NativeScript/NativeScript/issues/6458)) ([3481e6f](https://github.com/NativeScript/NativeScript/commit/3481e6f)) -* **modals:** option to make dialogs cancelable in Android ([#6765](https://github.com/NativeScript/NativeScript/issues/6765)) ([3a8c3fc](https://github.com/NativeScript/NativeScript/commit/3a8c3fc)) * provide API to release the native object wrapped by a JS one ([#6873](https://github.com/NativeScript/NativeScript/issues/6873)) ([8b4a9b3](https://github.com/NativeScript/NativeScript/commit/8b4a9b3)) +* **HMR:** apply changes in application styles at runtime ([42a1491](https://github.com/NativeScript/NativeScript/commit/42a1491)) +* **dialog:** add decimal input type for prompt dialog ([#6805](https://github.com/NativeScript/NativeScript/issues/6805)) ([408614d](https://github.com/NativeScript/NativeScript/commit/408614d)) +* **image-cache:** expose onError callback ([#6458](https://github.com/NativeScript/NativeScript/issues/6458)) ([3481e6f](https://github.com/NativeScript/NativeScript/commit/3481e6f)) +* **android:** option to make dialogs cancelable ([#6765](https://github.com/NativeScript/NativeScript/issues/6765)) ([3a8c3fc](https://github.com/NativeScript/NativeScript/commit/3a8c3fc)) * add rebeccapurple to known css colors ([#6819](https://github.com/NativeScript/NativeScript/issues/6819)) ([672c821](https://github.com/NativeScript/NativeScript/commit/672c821)) * add OnDiscardedError typings and event ([#6777](https://github.com/NativeScript/NativeScript/issues/6777)) ([28db2af](https://github.com/NativeScript/NativeScript/commit/28db2af))