NativeScript v8.3.0 Release Notes

Release Date: 2022-07-14 // almost 2 years ago
  • ๐Ÿ› Bug Fixes

    • android: connectivity reporting none on resume (#9915) (413fa2e)
    • android: content uri handling improvements (#9936) (9fcd440)
    • android: device language and region from system configuration. (#9868) (ad01e6b)
    • android: font icons had incorrect fallback size (#9914) (e8bed44)
    • android: Textfield focus fix (#9885) (fbd1e23)
    • core: allow View subclass to force onLayoutChangeListener (#9886) (6ccf5a2)
    • core: android wrong background state + current value accessors (#9883) (58a7206)
    • core: ensure platforms/android/core.aar is not included in pack (a1dff9a)
    • core: import fix (45dcada)
    • core: metadata filtering (#9946) (4a5e2e2)
    • core: navigatingToEvent allows access to resolvedPage now (#9954) (38142a6)
    • core: trace log using a wrong parameter (#9951) (cd5d2c2)
    • ensure reusable ProxyViewContainer re-adds native children (#9882) (0a082b3)
    • export 'dataSerialize' from utils (#9909) (a85a72d)
    • incorrect font icon size conversion to device pixels. (#9910) (d3718e5)
    • ios: apply proper border radius to box shadow and view sublayers (#9881) (b7e6128)
    • ios: do not convert tap event data to device pixels twice (#9935) (3681fd4)
    • ios: label measure correct height when using custom numberOfLines (#9945) (2ff0891)
    • ios: memory leak after using 'showModal' passing any Page as parameter (#9939) (4db4e4a)
    • ios: memory leak after using the 'presentViewControllerNavigation' (#9934) (957af32)
    • ios: proper disposal and recreation of iOS native views (#9879) (f548fdc)
    • ๐Ÿ”€ live-sync: navigation history is now maintained (#9889) (665009b)
    • RootLayout: resilience around shadeCover options (e5fffa1)
    • TabView: item styling improvements for iOS 15+ (#9888) (7ccc949)
    • ๐Ÿ’ป ui-mobile-base: Android http request body was not sent if method was DELETE (#9887) (57e4973)
    • webpack: NativeClass decorator should run after angular transformers in AOT mode (#9908) (c9f77a0)
    • webpack: unit test runner with node 18+ (#9952) (97a21bb)

    ๐Ÿ”‹ Features

    • android: runOnMain, postFrameCallback & removeFrameCallback (#9943) (49343cb)
    • application: expose inBackground and suspended (#9897) (8987bab)
    • core: iterable ObservableArray (#9824) (df74a8b)
    • core: maxLines support for all text components (#9884) (7ff7233)
    • ios: Utils.getRootViewController (29004d9)
    • mac: support for Mac Catalyst with ui-mobile-base (fc77c92)
    • RootLayout: add opened and closed events (#9893) (7b11b6a)
    • types-minimal: paired down typings optimized for smaller footprint editing environments (#9947) (f49e412)
    • Utils: dataSerialize, dataDeserialize, numberHasDecimals, numberIs64Bit (cab5947)

    ๐ŸŽ Performance Improvements

    • cache UIFont construction based on FontDescriptor (#9948) (8756df3)

    ๐Ÿ’ฅ BREAKING CHANGES

    • core: Method push will now handle arguments just like Array.prototype.push. Certain existing methods will now return ObservableArray instance instead. Callback arguments that contained an array argument themselves will now contain an ObservableArray argument.
    • android: Exposes language and region values from android system configuration. If you were working around locale handling because this wasn't originally the case you can likely remove extra conditions as this should reflect more accurately now.
    • ios: tapData.getX() and tapData.getY() will now return correctly in DIP, so any extra conversions (like calling toDevicePixels) twice must be changed.
    • core: When using navigatingToEvent event.entry, the backstackEntry object is now returned which has an entry property on it if you still need it.