We know you are excited to try them out, but before you upgrade, please note:

Titanium SDK 6.0.0 Beta is a MAJOR release that requires updates to your apps. Read through this blog post and all of the release notes BEFORE you upgrade.

Hyperloop 2.0.0 GA will only work with Titanium SDK 6.0.0 and above.

Hyperloop 1.2.8 GA is a patch release that includes new features, improvements and bug fixes. This version only supports up to Titanium SDK 5.5.1.

Breaking Changes

We introduced many great features and improvements with Titanium SDK 6.0.0. However, some of these changes are not compatible with features in previous releases. Below is a summary of the breaking changes as well as how to handle them.

Node.js

SDK 6.0.0 brings full Node.js support, so users can use NPM modules for Android and iOS platforms (TIMOB-16078). Node 4.2.0 is the new minimum supported version and 4.6.x is the maximum supported version. Please install or update Node.js accordingly.

Xcode

New, deprecated and removed APIs

We added, deprecated and removed 176+ APIs across iOS and Android. Please see this table to see how it affects your projects.

watchOS 1

As of SDK 6.0.0, the watchOS 1 template and all related code is no longer supported. See TIMOB-20083 for details.

Listen to androidback

For SDK 6.0.0, we changed how the override of a default behavior for the back button on Android works. This change requires apps using this version to override the back button to update their code when using calls like this:

Logging system and TCP ports

The new logging system uses a TCP port (TIMOB-23786). The port number is ALWAYS determined at build time, never at run time. This means that if you build two different Titanium apps, they cannot use the same port at the same time. There are a couple ways the tooling works to overcome this. See the Release Notes for details.

Rebuild Android Modules

V8 has been updated to the latest Long Term Support (LTS) release (TIMOB-19790). Android titanium modules must be rebuilt with this V8 in order for them to be supported on Titanium SDK 6.0.0.

You will need to update the android/manifest as follows:

Bump apiversion from 2 to 3.

Remove “armeabi” ABI from listing (keep “armeabi-v7a”).

Bump their module version (typically bump the major number since this is a backwards-incompatible change).

Update minsdk to 6.0.0.

Then rebuild the module.

Note, you may also need to edit the Java code to remove references to deprecate classes that have been removed in 6.0.0 (such as TiContext).

Other Notable Items in the Release

Here are a few more notable features and improvements of this release:

Ability to enable Multi-dex to avoid the 65k method limit during Android builds

Ability for apps using <use -jscore-framework> to use Studio debugger. On iOS, you will need to turn on true. Also, you can use Safari to debug your app.

Update Appcelerator Studio

Update Hyperloop

To use Hyperloop 1.2.8, you do not need to update Titanium SDK. You can update from the command line using:

appc new

To use Hyperloop 2.0.0, update to Titanium SDK 6.0.0, then update from the command line using:

appc new

NOTE: The above method only works using appc cli 6.0.0-61. Alternatively, entering appc config set lastUpdateCheckTiDownloads null before appc run will trigger modules download.

Report bugs

If you run into any issues that seem related to the updates, please report them on JIRA.

First, check if it’s a known issue you can watch. If you can’t find an existing ticket, then create one in the Appcelerator Community (AC) project and add as much relevant information as you can, including the release version you are using.

I’ve found a few bugs that I’d like to report but don’t seem to have the proper permissions to submit a new issue on JIRA (for Titanium). Is there a link someone could reply with or another preferred method/source for submitting customer/developer bug discovery?

=]

· Jason

Hans Knoechel

Posted October 21, 2016 @ 6:23 am

Hey Jason, thanks for your feedback! I’ve just sent you an email with some more infos.