Appcelerator Blog

The Leading Resource for All Things Mobile

GA Release of Titanium SDK 5.2.1 and CLI 5.2.1 including Alloy 1.8.2

1 Flares 1 Flares ×

We are happy to announce the immediate availability of the Titanium SDK 5.2.1 and the Appcelerator CLI 5.2.1, which includes an update from Alloy 1.7.33 to 1.8.2.

We’d like to thank the Appcelerator Community members who contributed to this release as well as those who have tested the RC from last week.

Noteworthy Changes

Some things you might like:

  • ALOY-1356 / ALOY-1357 – Added support for <LivePhotoView> and <MenuPopup>.
  • ALOY-86 Added support for distributing Alloy widgets via NPM.
  • ALOY-1360 Added support for defining controller baseController in XML.
  • ALOY-1365 Improve how Alloy works with i18n and platform folders. (blog post)
  • ALOY-1254 Support model transform() method for collection-view binding.
  • ALOY-1352 The dpToPX() and pxToDP() methods of the measurement builtin now supports HD Retina iOS.
  • TIMOB-16355Ti.UI.TableView.separatorInsets has been split into tableSeparatorInsets (for header and footer) and rowSeparatorInsets.
  • TIMOB-20405Ti.UI.Tab.iconInsets introduced in 5.2.0.GA now calculate bottom and right for you.
  • TIMOB-20453 – The regression in 5.2.0.GA that caused a (by default) black blink between the launch image and first window has been fixed.
  • TIMOB-19165 – Cannot style links in Attributed Strings has been fixed.
  • Several improvements to the MySQL, Composite and MongoDB Arrow Connectors.
  • CLI-687 You can now base a new Alloy project on an existing test app with the --testapp option:
    appc new -t titanium -i com.appc.picker -n AlloyPicker --testapp ui/picker

Known Issue

  • TIMOB-20627 – App rejected by Apple due to use of the nativeObject API.

Release Notes

For more details see the following links:

Update from Appcelerator Studio

Make sure you have the update type to Stable Release and check for updates.

Update from the command line

Both the Appcelerator CLI Installer and the Core Package have been updated.

To update these and also get Titanium SDK 5.2.1 from the command line:

[sudo] npm install -g appcelerator
appc setup

Update stand-alone Alloy CLI

The Appcelerator CLI Core Package 5.2.1 includes Titanium CLI 5.0.6 (2016-01-14) and an update from Alloy 1.7.33 to 1.8.2. If you are using the global stand-alone Titanium and Alloy CLIs you can update to the latest versions from the command line:

[sudo] npm install -g titanium alloy

Reporting 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 (INBOX) (AC) project and include as much relevant information as you can.

You can leave general comments as a reply to this blog post.

1 Flares Twitter 0 Facebook 0 Google+ 0 LinkedIn 1 Email -- 1 Flares ×

2 Comments

  1. Joao

    Hello,
    Since this release I’m not able to work with the Alloy model binding.
    I trie to install Alloy 1.8.5 but I keep seeing 1.8.2 after execute the command “appc alloy -version”.
    Can you help me with this?

    • Could I be correct that you installed Alloy 1.8.5 via [sudo] npm i -g alloy but build your app using appc run? The AppC CLI uses an embedded version of Alloy (appc alloy -v) which is 1.8.2 for AppC CLI 5.2.1. We’ll release 5.2.2 with Alloy 1.8.5 (or 6) next week.

Comments are closed.

Sign up for updates!

Become a mobile leader. Take the first step to scale mobile innovation throughout your enterprise.
Get in touch
computer and tablet showing Appcelerator software
Start free, grow from there.
1 Flares Twitter 0 Facebook 0 Google+ 0 LinkedIn 1 Email -- 1 Flares ×