All Versions
161
Latest Version
Avg Release Cycle
23 days
Latest Release
477 days ago

Changelog History
Page 11

  • v6.0.0 Changes

    June 28, 2019

    ๐Ÿ› Bug Fixes

    • bundle: support for file qualifiers with webpack (#7386) (9fcc1dd)
    • bundle: code-only typescript custom components with webpack (#7321) (9fcc1dd)
    • bundle: component builder support for codeFile / cssFile / import with webpack (#7324) (9fcc1dd)
    • bundle: different event order (NativeScript/nativescript-cli#4633) (8851835)
    • โช restore TextField.textChange and Switch.checkedChange event syntax in xml (#7403) (76b5089)
    • android: ignore gzip content-encoding for status code 204 (#7417) (4437cd6)
    • android-transition: exit transition not executed after app suspend resume (#7402) (f08b491)
    • css-state: _appliedSelectorsVersion assignment (#7405) (9ecf07f)
    • observable-array: splice to notify correct amount of added items (#7426) (5e14de6)
    • cancel contradictory gesture events (#7296) (b8a82f2)
    • ๐Ÿ‘ allow span descendants in FormattedString (#7369) (01c4b8c)

    ๐Ÿ”‹ Features

    • bundle: bundle workflow support (#7320) (ecd9fc3)
    • android: androidX support (#7039) (c5db112)
    • BETA/EXPERIMENTAL: bottom navigation and tabs components (#6967) (0c2c1cc)
    • โž• add support for :focus pseudo class in TextField / TextView (#7396) (0bfddab)
    • animation: support animating width/height properties (#5147) (e7c575)

    ๐Ÿ’ฅ BREAKING CHANGES

    • ๐Ÿšš AndroidApplication.currentContext in tns-core-modules/application module is now removed.

    ๐Ÿ‘‰ Use AndroidApplication.startActivity, AndroidApplication.foregroundActivity, or AndroidApplication.context properties instead.

    • ๐Ÿšš start(...) method in tns-core-modules/application module is now removed.

    ๐Ÿ“„ Use application.run(...) method instead. Check the "Flexible Frame Composition" section in this document that explains the full migration path from application.start(...) to application.run(...) and the implications from this change

    • ๐Ÿ— loadPage(...) method in tns-core-modules/ui/builder module is now removed.

    ๐Ÿ— Use createViewFromEntry(entry: NavigationEntry) method in tns-core-modules/ui/builder module instead.

    • ๐Ÿšš tns-core-modules/ui/core/dependency-observable module is now removed.

    ๐Ÿ’ป Use tns-core-modules/ui/core/properties module instead.

    • ๐Ÿšš 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.

    ๐Ÿ‘‰ Use ViewBase.showModal(moduleName: string, modalOptions: ShowModalOptions): ViewBase or ViewBase.showModal(view: ViewBase, modalOptions: ShowModalOptions): ViewBase instead.

    • ๐Ÿšš Frame.androidOptionSelectedEvent and AndroidOptionEventData interfrace in tns-core-modules/ui/frame module are now removed.

    Event not raised by NativeScript core framework anymore.

    • ๐Ÿšš AndroidFrame.cachePagesOnNavigate in tns-core-modules/ui/frame module is now removed.

    Not used internally in NativeScript core framework anymore.

    • ๐Ÿšš stack() method in tns-core-modules/ui/frame module is now removed.

    ๐Ÿ‘‰ Use getFrameById(...) method if you want to retrieve a frame different than the topmost one instead.

    • ๐Ÿšš AndroidActivityCallbacks.onCreate(activity: any, savedInstanceState: any, superFunc: Function) method overload in tns-core-modules/ui/frame module is now removed.

    ๐Ÿ‘‰ Use AndroidActivityCallbacks.onCreate(activity: any, savedInstanceState: any, intent: any, superFunc: Function) instead.

    • ๐Ÿšš WebView.url property in tns-core-modules/ui/web-view module is now removed.

    ๐Ÿ‘‰ Use WebView.src property instead.

    • ๐Ÿšš ios.getter(...) function in tns-core-modules/utils module is now removed.

    ๐Ÿ‘‰ Use the respective native property directly instead.

    • ๐Ÿšš View.observe(...) method in tns-core-modules/ui/core/view module is now removed.

    ๐Ÿ‘‰ Use View.on(...) method instead.

    • The addedCount variable from ObservableArray.splice(...) change event is always the amount of added items.

    Migration steps: ๐Ÿšš The old addedCount can be obtained by const addedCount = event.addedCount - event.removed.length

    • ๐Ÿ›  Fix to cancel contradictory gesture events (e.g. tap and double tap) introduces the following behavior breaking change

    Before:

    • iOS / Android:
      • double tap: child tap -> parent tap -> child double tap -> parent double tap
      • tap: child tap -> parent tap

    After:

    • iOS:
      • double tap: child double tap
      • tap: child tap
    • Android:
      • double tap: child double tap -> parent double tap
      • tap: child tap -> parent tap

    Migration steps: ๐Ÿšš Move event handlers accordingly.

  • v5.4.3 Changes

    June 21, 2019

    ๐Ÿ› Bug Fixes

    • clear the resolvedPage when entry is being cleared, change the passed View to be a weak reference (#7327) (dfe7621)
  • v5.4.2 Changes

    June 06, 2019

    ๐Ÿ› Bug Fixes

    • hmr: support for multi module replacement (7c22ffe)
    • register layout child for nested custom components (#7230) (3604df8)
    • ios: potential memory leak with propertybag implementation (#7298) (1c22a73)
    • platform-declarations-ios: Change 264-1 enum values to -1 (6720139)
  • v5.4.1 Changes

    May 23, 2019

    ๐Ÿ› Bug Fixes

    • android: CommonLayoutParams measure/layout child guard (#7271) (333ab36)
    • android: elevation should not require explicit dynamic elevation offset (#7250) (be6e408)
    • hmr: quick fade upon replace navigation (#7251) (0aca087)
  • v5.4.0 Changes

    May 14, 2019

    ๐Ÿ› Bug Fixes

    • throw if failed to load component (#7186) (b7abb3d)
    • android/button: possible incorrect button visual state (#7190) (2a02360)
    • devtools-ios: Ensure UI modifications run on main thread (c60f74d), closes #7219
    • ios: add null check to TouchGestureRecognizer (#7182) (7d3f0d9)
    • ios: application.displayedEvent does not depend on trace to fire (#7141) (#7156) (4e56c89)
    • ios: image cache module not longer sets null in NSCache (#7171) (4f79d2e)
    • ios-modal: closeCallback not being called with popover presentation style (#7189) (aa44eb9)
    • ios-tabview: crash when setting tab text color (#7188) (77c45da)
    • text: crash when removing FormattedText (#7237) (37b53c6)

    ๐Ÿ”‹ Features

    • android: elevation shadow support (#7136) (cf533a7)
    • android: implement a 'activityNewIntent' event (3efc06e)
    • android: implement BorderDrawable outline (ec07a99)
    • hmr: preserve navigation history on applying changes (#7146) (d35e14e)
    • switch: add property for off state background color (#7138) (f0146f0)
  • v5.3.2 Changes

    May 03, 2019

    ๐Ÿ› Bug Fixes

    • no trace message on empty app.css (#7135) (170d2a8)
    • ios: application.displayedEvent does not depend on trace to fire (#7141) (f6f7b51)
    • ios: flat action bar incorrect layout after navigation (#7077) (1dc3952)
    • ios-http-get: http failure during parsing xml (#7175) (c227c50)
  • v5.3.1 Changes

    March 28, 2019

    ๐Ÿ› Bug Fixes

    • โช revert fromUrl deprecate warning (#7082) (0a45540)
  • v5.3.0 Changes

    March 21, 2019

    ๐Ÿ› Bug Fixes

    ๐Ÿ”‹ Features

    • local icon handling in actionbar and tabview (#7009) (cd66300)
    • android: add openFile to utils (#6895) (f8eee40)
    • hmr: style views at runtime (#7012) (3c2c1d9)
    • hmr: apply changes in page styles at runtime when app root is a frame (#6857) (44b8acd)
    • view expose missing backgroundSize, backgroundRepeat, and backgroundPosition properties on View class (#7032) (88f2242)
  • v5.2.2 Changes

    March 01, 2019

    ๐Ÿ› Bug Fixes

    • android: resource ID #0xffffffec not found on nav (#6955) (33d6d1f)
    • android-animations: reuse animatorSet to prevent high memory usage (#6930) (7236d32)
    • ios: opaque bars break ui layout (#6929) (09fa085)
    • ios: resize of scrollview content breaks layout (#6965) (a9d2043)
  • v5.2.1 Changes

    February 19, 2019

    ๐Ÿ› Bug Fixes

    • css: widget properties in css didn't work (#6889) (8330ac0)
    • frame-ios: tearDownUI when UINavigationController disappear (#6892) (57f07a3)
    • ios: searcbar hint color before hint property (#6902) (5dd01a3)
    • ios-textview: text alignment reset to default on blur (#6903) (0416f7e)