Skip to content

Latest commit

 

History

History
294 lines (208 loc) · 14 KB

CHANGELOG.md

File metadata and controls

294 lines (208 loc) · 14 KB

2.2.0

What's New

Performance

2.1

What's New

Bug Fixes

Performance

2.0.0

What's New

Bug Fixes

Performance

1.7.1

Bug Fixes

1.7.0

What's New

Bug Fixes

1.6.0

What's New

Bug Fixes

1.5.1

What's New

Bug Fixes

1.5.0

What's New

Bug Fixes

1.4.0

Bug Fixes

1.3.0

What's New

Bug Fixes

Performance

Android Runtime Changelog

1.2.1

What's New

Bug Fixes

1.2.0

What's New

Bug Fixes

Performance

1.1.0 (2015, June 10)

New

  • Implemented #58 to remove the 3-seconds initial timeout for Debug builds.
  • Implemented #118 to replace the MultiDex library with DexClassLoader.
  • Started #103 AOT proxy generation to improve startup time and to enable new scenarios like BroadcastReceivers, BackgroundServices and arbitrary Activity types declared in the manifest.

Fixed

  • #63. An issue which prevented users to extend overloaded methods.
  • #64. A JNI Crash when calling JS method with char.
  • #113. Fixes the extend routine for an Activity.
  • #114. Removes the redundant setNativeScriptOverrides method.

1.0.0 (2015, April 29)

New

  • Updated the V8 version to 4.1.0.27.
  • Re-implemented debugger support (no more spontaneous dead locks).

Fixed

  • An issue with the error reporting routine.

Breaking Changes

  • Renamed global functions:
    • __log (was Log)
    • __debugbreak (was waitForDebugger)
    • __enableVerboseLogging (was enableVerboseLogging)
    • __disableVerboseLogging (was disableVerboseLogging)
    • __exit (was fail)

0.10.0 (2015, April 17)

New

  • Added Dynamic Generator for binding proxies. This boosts the initial loading time, especially on Android 5.0+ devices.
  • Added several optimization techniques, which further optimize the loading time and the overall performance.
  • Improved the error reporting mechanism for Debug builds.
  • Added support for package.json and index.js for bootstrapping an application.

Breaking Changes

  • Removed the simulated property-like support for Android types. E.g. the android.content.Intent.getAction() previously was accessible like android.content.Intent.Action. This is no longer valid as it contradicts with the Android APIs.
  • Changed the way extend constructs work
// WRONG
var handler = new android.os.Handler.extend({...})();

// CORRECT
var handlerType = android.os.Handler.extend({...});
var handler = new handlerType();
  • The directory structure in the assets folder has changed. The tns_modules directory is now within the assets/app one. To migrate older CLI projects to the new structure simply move the content of the inner app folder one level up:

####Previous structure:

|--app
|--|--app
|--|--|--bootstrap.js
|--|--|--myFile.js
|--|--tns_modules

####New structure:

|--app
|--|--bootstrap.js
|--|--myFile.js
|--|--tns_modules