nativescript v1.5.0 Release Notes

Release Date: 2019-11-24 // 5 days ago
  • 💥 Breaking changes

    • The XML namespace (xmlns) of the validator XSD schema changed from xmlns="http://www.nativescript.org/tns.xsd" to xmlns="http://schemas.nativescript.org/tns.xsd". For convenience, the file can now get downloaded via the same URL.

    🛠 Fixed

    • 🚩 (#1089) HTTP toString will raise error if response cannot be converted to string

    • 👻 (#1082) Null reference exception in view.android.setOnTouchListener method

    • (#1081) File system writeTextSync will now unlock the file when it is done writing

    • (#1038) WebView with HTML string source does not render on old Android

    • (#1028) [iOS] SelectedIndex property of the TabView widget does not work

    • (#1021) The page.loaded and page.navigatedTo events are fired twice on iOS

    • (#1019) Search-bar color not applied correctly

    • (#1012) TextField/TextView CSS color not applied to cursor

    • 👍 (#1010) Slider CSS color/background-color support

    • (#1007) When application.start() is called twice on iOS, a meaningful error should be thrown

    • 👍 (#1004) ActivityIndicator CSS color support

    • (#1000) Border radius is not working on Android API 17

    • (#998) WebView images now will be loaded correctly with base URL

    • 👍 (#993) CSS does not support new lowercase element names

    • (#990) Android 6 WebView onReceivedError

    • (#986) [iOS] The Switch widget does not show up on the page

    • (#973) iOS owner pattern changed to use WeakRef in order to prevent memory leaks

    • (#966) Observable emits two propertyChange events when created with JSON

    • (#963) Always set base URL in WebView

    • 🛠 (#955) Gestures event arguments for Android fixed

    • (#941) global.ios missing (consistency)

    • (#940) ListView: inconsistency retrieving bindingContext in tap handler

    • (#936) Subsequent animation of transition and rotation or scale will appear jumpy in iOS

    • (#889) vertical-align CSS inconsistency

    • (#820) The x and y components of an Android translate or scale animation are not animated together when delay is specified

    • (#801) Chained animations lose state on iOS

    • (#789) Error in page navigating events order

    • (#781) iOS page.showModal platform inconsistancies & bugs

    • (#715) Frame crashes on app restore occasionally

    • 💅 (#642) Ability to style other native widgets

    🆕 New

    • (#1001) Embed utility fonts: Awesome, Icons, etc.

    • (#1102) Ability to specify an animation easing, i.e., curve in a platform-independent manner

    • (#1086) This will now allow the dialog to call the resolve function when cancelled by clicking outside

    • (#1057) Expose scroll event on ScrollView

    • (#1048) Event for start/end of an event

    • 👍 (#1041) Support binding for class property of views

    • 👍 (#1034) Support CSS white-space: nowrap and normal

    • 💅 (#1020) DatePicker and TimePicker stylers added

    • (#1014) Button wrapText property

    • (#977) Smarter LiveSync

    • (#954) Added simple showModal() overload

    • (#926) Context as to whether a navigation was back or not

    • 🔊 (#922) Feature request: add loading wheel to Dialogs module

    • (#875) CSS feature request: text-decoration

    • 👍 (#856) Android 6 support

    • (#849) Implement dismissSoftInput() for search-bar

    • (#841) Distribute TypeScript definitions

    • (#767) Change Android navigation and tabs title color

    • (#727) Provide a way to get a reference to the currently showing modal page instance

    • (#693) ListView - the position of the item after scroll down is not correct

    • (#597) Some complex properties are inconsistent with rest of API - discussion

    • 🔌 (#551) Ship a verified image picker plugin

    • (#364) Ability to use built-in system icons on ActionBarItems