{"id":1122,"date":"2019-12-18T08:08:02","date_gmt":"2019-12-18T08:08:02","guid":{"rendered":"http:\/\/fluentreports.com\/blog\/?p=1122"},"modified":"2019-12-18T09:27:13","modified_gmt":"2019-12-18T09:27:13","slug":"nativescript-6-3-0-released","status":"publish","type":"post","link":"https:\/\/fluentreports.com\/blog\/?p=1122","title":{"rendered":"NativeScript 6.3.0 Released"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">NativeScript 6.30 has a couple cool new things; but better yet it fixes several issues that can will affect your users if you are using 6.2.x lets look at them...<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignright size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"395\" height=\"394\" src=\"https:\/\/fluentreports.com\/blog\/wp-content\/uploads\/2019\/12\/n630.png\" alt=\"\" class=\"wp-image-1125\" srcset=\"https:\/\/fluentreports.com\/blog\/wp-content\/uploads\/2019\/12\/n630.png 395w, https:\/\/fluentreports.com\/blog\/wp-content\/uploads\/2019\/12\/n630-300x300.png 300w, https:\/\/fluentreports.com\/blog\/wp-content\/uploads\/2019\/12\/n630-150x150.png 150w\" sizes=\"auto, (max-width: 395px) 100vw, 395px\" \/><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Some of the fixes include instability during android's switching of applications and resuming it.   An issue with unloading views on Android. Out of memory situation on Android, and dialog fixes for iOS.   In addition to several important build fixes that appear to solve a lot of build HMR related issues.   Overall this release is worth upgrading to for just the bug fixes alone.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Core Modules<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">NativeScript is getting a new CSS parser; unfortunately it is not enabled by default in 6.3; but based on a PR should be enabled by default in 6.4.  If you would like to enable this in your app to see how much faster it can parse your css; you do so by editing the packages.json file that ships with the application and adding a new key called \"<strong>cssParser<\/strong>\" and set it to \"<strong>css-tree<\/strong>\".   The valid options are \"rework\" (current parser) and also \"nativescript\" which was the original css parser.    <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We had a couple awesome community PR's this month the first by <a href=\"https:\/\/github.com\/edusperoni\">Eduardo Speroni<\/a>\u00a0adds <strong>requestAnimationFrame<\/strong> as a supported function.  And the second by <a href=\"https:\/\/github.com\/slolam\">Shailesh Lolam<\/a>\u00a0 add dialog sizing (<strong>width<\/strong> &amp; <strong>height<\/strong> properties) to the modal dialogs on iOS.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And finally to round up our new core module features; Modal dialogs now have all the same CSS properties applied to them to allow better styling.   In addition to the normal properties, a new <strong>.ns-modal<\/strong> class is applied.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"> <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">CLI<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The CLI team has fixed several outstanding bugs; including several webpack hmr issues.   This also includes Node 13 and Android API 29 compatibility.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">V8<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">I'm going to create this new v8 Section, because Android and soon iOS will both be using the same v8 engine.  v8 was upgraded to v7.8 which adds:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Faster object destructuring<code>const {x, y} = object;<\/code> This is now as fast as the normal ES5 <code>const x = object.x, y = object.y;<\/code><\/li><li>Lazy source positioning; which can save 1 - 2.5% of memory; basically instead of storing all source code lines for when errors occur; it recalculates it when it needs it.<\/li><li>Faster RegEx <\/li><li>Several Wasm improvements<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Android<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The Android team kept busy this month;<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Fixed some Kotlin issues<\/li><li>Android Signal 1 &amp; 11 are now captured<\/li><li>Fixed a worker issue<\/li><li>Upgraded to V8 7.8 (See v8 section)<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">IOS<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>Upgraded to WebKit 13.2<\/li><li>Several metadata fixes<\/li><li>Fixed a worker issue<\/li><li>Fixed debugger not working issue<\/li><li>Fixed <code>discardUncaughtJsExceptions<\/code> issue<br><br>A lot of changes to the new v8 version of the iOS runtime that is still in alpha testing to eventually replace the JSCore version...  It appears the iOS v8 version is shaping up to be an awesome release.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Updating NativeScript<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To get updated; you first need to do:<br><strong>npm i -g nativescript@latest<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To update a project; you need to do the following:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Latest Runtimes:<br><strong>tns platform remove android &amp;&amp; tns platform add android@latest<\/strong><br><strong>tns platform remove ios &amp;&amp; tns platform add ios@latest<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Latest Core modules:<br><strong>npm r tns-core-modules --save<\/strong><br><strong>npm i tns-core-modules@latest --save<\/strong><br><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To install Webpack support:<br><strong>npm i nativescript-dev-webpack@latest --save-dev<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To install latest NativeScript Angular plugin<br><strong>npm i nativescript-angular@latest --save<\/strong><br>You will then need to install the actual angular bits; which as of this post v6 is currently supported.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The addition of t additional analytics\/tracking to the CLI reminded me; you can disable it permanently; if you value your privacy by doing:<br><strong>tns usage-reporting disable &amp;&amp; tns error-reporting disable<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>NativeScript 6.30 has a couple cool new things; but better yet it fixes several issues that can will affect your users if you are using 6.2.x lets look at them... Some of the fixes include instability during android's switching of applications and resuming it. An issue with unloading views on Android. Out of memory situation&hellip; <a class=\"more-link\" href=\"https:\/\/fluentreports.com\/blog\/?p=1122\">Continue reading <span class=\"screen-reader-text\">NativeScript 6.3.0 Released<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[1],"tags":[16,103,60],"class_list":["post-1122","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-nativescript","tag-release","tag-upgrade","entry"],"_links":{"self":[{"href":"https:\/\/fluentreports.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1122","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fluentreports.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fluentreports.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fluentreports.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fluentreports.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1122"}],"version-history":[{"count":2,"href":"https:\/\/fluentreports.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1122\/revisions"}],"predecessor-version":[{"id":1126,"href":"https:\/\/fluentreports.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1122\/revisions\/1126"}],"wp:attachment":[{"href":"https:\/\/fluentreports.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fluentreports.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fluentreports.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}