# Appcelerator CLI 7.1.0.GA - 13 August 2019
Appcelerator CLI 7.1.0.GA is a minor release that includes new features, improvements, and bug fixes. This release also brings full support for Node 10 to the Appcelerator CLI.
As of this release, CLI 7.0.x will not be supported six months (2020-02-13) from 7.1.0.GA's release date. See Axway Appcelerator Deprecation Policy and Nominal Lifetimes documents for details.
# Component versions
The following components are shipped with CLI 7.1.0:
Alloy | 1.14.0 |
API Builder | 3.2.13 |
Cloud CLI | 2.1.0 |
Titanium CLI | 5.2.1 |
Daemon | 1.1.3 |
# New features
ALOY-1316 (opens new window) - Support use of $.args.* in any XML attribute or TSS property
- Values passed in at creation of a view can now be used as values in TSS and XML. For example, if the name property was passed in at creation it can be used on a label like
<Label text="$.args.foo" />
- Values passed in at creation of a view can now be used as values in TSS and XML. For example, if the name property was passed in at creation it can be used on a label like
ALOY-1632 (opens new window) - Allow importing a custom template during alloy new
- A custom template directory can be provided to the alloy new command
alloy new . /path/to/template
. This can also be done via the appc cli using the--template
option onappc new
command.
- A custom template directory can be provided to the alloy new command
ALOY-1646 (opens new window) - Allow platform xml namespaces to be used with xml attributes in Alloy
- Attributes set in XML can now be assigned per platform by using the platform name as a prefix. For example:
<Label ios:text="Hello iOS!" android:text="Hello Android!" />
- Attributes set in XML can now be assigned per platform by using the platform name as a prefix. For example:
ALOY-1363 (opens new window) - Add support to set object properties in XML
- Previously the only way to set object properties (like
font.fontFamily
for a Label) was to use TSS. You can now use dot.notation in XML. For example:<Label font.fontFamily="Roboto">Hello</Label>
- Previously the only way to set object properties (like
# Improvements
ALOY-1505 (opens new window) - Add ability to pass cancel attribute to Option element for OptionDialog
- Added ability to pass cancel attribute to
<Option>
element
- Added ability to pass cancel attribute to
ALOY-1612 (opens new window) - CLI: Be able to use Alloy source-maps in Safari Debugger / Chrome Dev-Tools
- Debugging Alloy applications in Chrome (for Android) or Safari (for iOS) can now be performed on iOS
ALOY-1648 (opens new window) - Include BackboneJS v1.4.0
- Updated BackboneJS to version 1.4.0
ALOY-1652 (opens new window) - CLI: Improve handling of missing directories and files in alloy new
- When providing an invalid template directory via the
alloy new
command, it now provides better clarification as to what is missing
- When providing an invalid template directory via the
ALOY-1682 (opens new window) - Alloy: MomentJS upgrading to v2.24.0
- Updated MomentJS to version 2.24.0
ALOY-1683 (opens new window) - Alloy: UnderscoreJS upgrading to v1.9.1
- Updated UnderscoreJS to version 1.9.1
CLI-1346 (opens new window) - Improve the CLI install flow
- Improved install process to reduce CLI install time
CLI-1349 (opens new window) - Support passing a custom template directory to alloy new command
- Added support for passing a custom template directory to
alloy new
command
- Added support for passing a custom template directory to
# Fixed issues
ALOY-1535 (opens new window) - iOS: Warning message thrown when using
<View>
in<AlertDialog>
(Android-only)ALOY-1653 (opens new window) - Runtime error on Android when using optiondialog and not declaring destructive or cancel properties
ALOY-1684 (opens new window) - Calling sort for a collection does not call the dataFunction as of backbone 1.1.2 and above
ALOY-1690 (opens new window) - Sourcemaps not being generated for files under lib
ALOY-1691 (opens new window) - Source maps reports incorrect "file" value"
CLI-1233 (opens new window) - If you build appc-cli with NPM 3.X and Node 6.10.3, then you will get ""listener" argument must be a function"" when creating a mobile project
CLI-1330 (opens new window) - appc use --prerelease -o json will try to download version json
CLI-1331 (opens new window) - Prompting for project details during arrow app creation broken on Node 10 on Windows
CLI-1340 (opens new window) - Login error when using Node 10 in Windows
# Known issues
ALOY-1696 (opens new window) - CLI: Unable to see project files in Chrome debugger on Windows
- Debugging in Chrome on Windows does not resolve the project correctly. Workaround: use Studio to debug.