Skip to content

Releases: tidev/alloy

1.16.2

15 Jun 08:56
Compare
Choose a tag to compare

1.16.2 (2021-06-15)

Bug Fixes

  • compile: don't create widget sourcemaps if sourcemaps are disabled (b1259b1)

1.16.1

08 Jun 14:28
Compare
Choose a tag to compare

1.16.1 (2021-06-08)

Bug Fixes

  • compile: generate source maps for lib files in widgets (ba8d4c2)

1.16.0

03 Mar 10:46
Compare
Choose a tag to compare

1.16.0 (2021-03-03)

Features

  • support using OptionBar (93c2df1)

1.15.4

04 Jan 18:04
Compare
Choose a tag to compare

1.15.4 (2021-01-04)

Bug Fixes

  • compile: allow TabGroup as child of a NavigationWindow (#1067) (d837e76)

1.15.3

23 Nov 11:05
Compare
Choose a tag to compare

1.15.3 (2020-11-23)

Bug Fixes

  • improve check around whether widget is only tag in the view (#1035) (7e4c3d6)

Release 1.7.8

15 Sep 22:26
Compare
Choose a tag to compare

Alloy 1.7.8 is a minor release that includes new features and multiple bug fixes. Alloy 1.7.8 is shipped with Appcelerator Core Package v5.0.0.

See the Full list of Issues that were addressed in Release 1.7.8.

New Features

Track Event Listeners on a View-Controller

Alloy now tracks all Titanium event listeners set in XML, for example, <Button onClick="myFn">. Use the following APIs to manipulate the tracked event listeners:

Use a Test Application to Create a New Alloy Project

Add the --testapp <PATH_TO_TESTAPP> option to the alloy new command to create a new project based off an Alloy test application.

Pass the option the relative path to the test application after the alloy/test/apps path.

For example, if you want to use the picker test application, run alloy new --testapp ui/picker from a skeleton Titanium project.

Copy, Move or Delete View-Controllers

Add CLI commands to copy, move or delete view-controllers from the project, which includes the controller, XML and TSS files.

  • alloy copy <controller_name> <copy_name>: Copy a view-controller
  • alloy move <controller_name> <new_name>: Rename a view-controller
  • alloy delete <controller_name>: Delete a view-controller
Themes Enhancement

Themes now support i18n, lib and platform folders for theme-specific localized assets, CommonJS modules and platform-specific assets, respectively.

TSS and XML Markup Enhancements
  • Support setting XML attributes to Alloy.CFG and Alloy.Globals values.
  • Support the module attribute in the Alloy element to set a default module attribute for all elements in the XML view.
  • Support <CommandBar/> as a child tag of the <Window> object to add a command bar to a Window. Add an <Items/> tag as a child of the CommandBar element, then add <AppBarButton/>, <AppBarToggleButton/> and <AppBarSeparator/> tags as children of the Items element to add buttons to the command bar. Only supports the Windows platform.
  • Support <AttributedString/> tag as a child of the Label, TextArea and TextField elements to set the attributeString property, and the <AttributedHintText/> tag as a child of the TextField element to set the attributedHintText property.
  • SearchView element is now implicitly assigned to the Ti.UI.Android namespace, that is, <SearchView/> is the same as <SearchView ns="Ti.UI.Android"/>.
  • Support in custom queries to use local functions defined in the controller and arguments passed to the Alloy.createController() method. To reference arguments passed to the controller, use the $.args variable. Previously, you could only reference properties and functions in the Alloy.Globals namespace. For details, see Custom Query Styles.
Widget Enhancements

Widgets now support the i18n directory for localized assets.

API Changes

New APIs
API Type Note
Alloy.Controller.addListener method Add a tracked event listener to a view proxy object.
Alloy.Controller.getListener method Retrieve tracked event listeners.
Alloy.Controller.removeListener method Remove tracked event listeners.

Release 1.7.6

04 Sep 21:01
Compare
Choose a tag to compare
Built by SCMTrigger. See https://jenkins.appcelerator.org/job/alloy/1…

…7/ for more information.

Changes:
5d95a50 bump version
e154fcf Merge pull request #716 from feons/ALOY-1301
17a5b9f [ALOY-1301] Updated CHANGELOG
d5509f3 Merge pull request #715 from feons/CLI-768
027de22 [CLI-768] Alloy app fails to build on Windows with error "Alloy compiler failed"

Release 1.6.2

16 Sep 16:37
Compare
Choose a tag to compare

Alloy 1.6.2 is a patch release addressing high-priority issues from previous releases. Alloy 1.6.2 is shipped with Appcelerator CLI Core Package v4.0.2.

Fixed Issues

  • ALOY-1272: Building an Alloy project with
    the Titanium CLI on Windows fails