Skip to content

4.0.0

Compare
Choose a tag to compare
@sgtcoolguy sgtcoolguy released this 10 Mar 20:02
· 115 commits to master since this release

⚠️ On iOS Hyperloop 4.0.0 is only compatible with SDK 8.0.0 and newer.

Android

  • Fix overriding methods that may receive null values as arguments.

iOS

  • Support dotted enums (like in Swift), e.g.
// before
import { UIControlStateNormal, UIControlStateSelected } from 'UIKit';
alert(UIControlStateNormal);

// now
import { UIControlState } from 'UIKit';
alert(UIControlState.Normal);
  • Refactor iOS metabase generation to improve build time
    • Store system frameworks globally (in ~/.hyperloop) to be reused by different apps
    • Only generate required frameworks
    • Cache CocoaPods builds across builds
  • Internal refactoring and optimization
  • Exclude types that are unavailable on iOS from metabase
  • Remove support for TiCore runtime

Windows

  • Support namespace-based imports like Android, e.g
import { UICommand, MessageDialog } from 'Windows.UI.Popups.*';