Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27233] Titanium CLI v5 deprecation notices

GitHub Issuen/a
TypeStory
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2020-02-10T21:39:32.000+0000
Affected Version/sn/a
Fix Version/sRelease 9.0.0
ComponentsTooling
Labelscb-tooling
ReporterChris Barber
AssigneeChris Barber
Created2019-07-10T17:00:37.000+0000
Updated2020-02-14T15:07:49.000+0000

Description

Titanium has 3 essential CLI's: Appc CLI, Titanium CLI, and Alloy CLI. The Appc CLI and Alloy CLI will be deprecated. The Titanium CLI will be re-imagined to include the platform specific functionality in Appc CLI as an add-on and Alloy CLI as a Titanium CLI command. As apart of this effort, the following CLI's and compabilities will be deprecated:

Titanium CLI

* End of support for Node 8 and older ** TIMOB-27250 ** Effective Titanium SDK 9 ** Node 12 being the recommended ** Node 10.13.0 being the minimum supported (though the actual technical minimum is 10.2.0) ** Notice added to Titanium CLI v5 and displayed only if Node version < 10.2 * End of support for non-build,clean Titanium CLI (v5.x or older) plugins ** Effective Titanium SDK 10 ** Plugins must be ported to Appc Daemon plugins and new hook system * End of support for ALL Titanium CLI (v5.x or older) ** Effective Titanium SDK 11 ** Notice added to Titanium CLI for specific commands when output is text (not JSON) ** NON-BUILD plugins must be ported to Appc Daemon plugins ** Note: build-related plugins must be continue to be written as Titanium CLI v5 plugins * End of support for ti setup, ti module, and ti plugin commands? ** Effective Titanium SDK 10 ** Notice added to Titanium CLI v5 for these commands when output is text (not JSON) ** Command will not likely be replaced in Titanium CLI v6

Appc CLI

* End of Life for Appc CLI ** Effective Appc CLI 9 ** End of Support sometime in 2020, possibly around Titanium SDK 10... notify to switch to Titanium CLI v6 ** Notice added to Appc CLI for specific commands when output is text (not JSON) ** Users must switch to Titanium CLI v6

Alloy CLI

* End of Life for the Alloy CLI ** Effective Titanium SDK 10? ** Notice added to Alloy CLI ** Users must switch to ti alloy to create models, etc

Comments

  1. Ewan Harris 2019-07-15

    * Commands will not be replaced in Titanium CLI v6 - this is kinda wrong for ti module right? Don't we have the info buried in the titanium plugin somewhere, so I think we wanna point people there? * End of Life for the Alloy CLI - Basically EOL today anyways - Used by Studio as well as the editor plugins for a variety of interactions. Also should EOL and EOS be switched? How can we still support something that's been EOL'd
  2. Chris Barber 2019-07-15

    To my knowledge, nothing calls ti module and ti plugin because A) they don't provide much useful information and B) were never completed. Those commands were intended to list, install, and remove modules/plugins (e.g. a scoped package manager). Studio and plugins that call the Appc CLI will be in the same boat as those that call Alloy. They will all need to be updated. I agree the EOS vs EOL is confusing. I pulled the terminology from Microsoft and they've never been wrong before. :)
  3. Chris Barber 2020-02-10

    We have decided to announce this for now in the 9.0.0 SDK release notes. We will add more deprecation notices in the various CLI's as apart of TIMOB-27255 once we fully design the replacement hook system and a migration plan.
  4. Samir Mohammed 2020-02-14

    Closing ticket as all tickets related to this story are now closed.

JSON Source