Skip to content

Releases: tsuru/tsuru-client

tsuru 0.15.3

07 Apr 19:49
Compare
Choose a tag to compare

tsuru 0.15.3 contains a bug fix in the app-shell command, so now it supports TLS-enabled targets (tsuru/tsuru#1148).

tsuru 0.15.2

12 Mar 18:00
Compare
Choose a tag to compare

tsuru 0.15.2 introduces some enhancements and bug fixes, along with Windows support. Here's a full list of what's new:

tsuru 0.15.1

02 Mar 21:41
Compare
Choose a tag to compare

tsuru 0.15.1 fixes a bug in the app-shell command, allowing users to choose which unit they wanna open a shell (tsuru/tsuru#1114).

It also introduces some improvements to existing commands:

  • help is now unified, users can call tsuru help command, tsuru command --help or tsuru command -h and get the same output, with the command description and flags (tsuru/tsuru#1102);
  • whenever the user gets an authorization error (either because he/she doesn't have a token or because the token expired), tsuru will automatically invoke the command "login" (tsuru/tsuru#526).

tsuru 0.15.0

24 Feb 19:54
Compare
Choose a tag to compare

tsuru 0.15.0 matches the 0.10.0 release of tsuru server.

New commands

  • app-deploy: fix the behavior of the command when there's only one directory as parameter, using the given directory as the current directory in the generated tar archive (tsuru/tsuru#1105)
  • app-deploy-list: displays the list of the deployments of the specified application
  • app-deploy-rollback: rolls back the application version to one of the deployments displayed in the app-deploy-list command
  • app-shell: now non-admin users can also establish a shell with one of the applications units. The unit can be specified by the user, when not specified, tsuru will take a random unit

Improvements to existing commands

  • app-info: display the application plan
  • key-remove: asks for confirmation before removing the given key
  • plan-list: display information about the router. Starting on tsuru-server 0.10.0, it's now possible to have multiple routers, and each plan can specify a router. The plan-list command was changed to handle this new behavior
  • platform-list: platforms are now displayed in alphabetical order

General Improvements

  • implement fuzzy matching and suggest commands when user types an unknown commands (thanks Marc Abramowitz)
  • add -v flag to all commands, which defines the verbosity level (1 or 2), printing the requests and responses sent by the client (thanks Marc Abramowitz)
  • include summary in command list when running help or checking the list of commands (thanks Marc Abramowitz)
  • add support for reading the token from the environment variable TSURU_TOKEN (related to tsuru/tsuru#750)
  • improve rendering of tables to support coloring and no word-wrapping
  • generate HTML documentation automatically from command description, so now the documentation at the webpage matches the documentation that the user sees in the command line
  • documentation is now hosted at https://tsuru-client.readthedocs.org

Removed commands

All commands that were deprecated in the 0.13.0 release are now removed from tsuru:

Removed command New command
bind service-bind
unbind service-unbind
deploy app-deploy
start app-start
stop app-stop
restart app-restart
run app-run
swap app-swap
log app-log
add-cname cname-add
remove-cname cname-remove

Backwards incompatible changes

tsuru-client now requires Go 1.4 or greater. Users compiling from source need to ensure that they have at least Go 1.4.

tsuru 0.14.1

23 Dec 11:39
Compare
Choose a tag to compare

tsuru 0.14.1 fixes a bug in the internal process of registering commands, allowing offline commands (tsuru/tsuru#953).

tsuru 0.14.0

03 Dec 17:23
Compare
Choose a tag to compare

tsuru 0.14.0 matches the 0.9.0 release of tsuru server.

New commands

  • key-list: displays a list of SSH public keys registered in the user's account
  • autoscale-enable: enables app auto scaling
  • autoscale-disable: disables app auto scaling
  • autoscale-config: configures app auto scaling, providing parameters like the metric, threshold, increase and decrease steps, and other stuff that may be configured in for auto scaling applications

Improvements to existing commands

  • key-add: now the user needs to define the name of the key, and there's no implicit key file anymore, the user always need to specify the path to the file. The command below would upload the file ~/.ssh/id_rsa.pub and tsuru-server would name it as [user-email]-[counter]:
$ tsuru key-add # old way
$ tsuru key-add my-favorite-key ~/.ssh/id_rsa.pub
  • key-remove: now that the user can define the name of the key, he/she can remove keys specifying their names
  • app-swap: improve error reporting for incompatible apps, now we specify the kind of incompatibility that the user is facing in the swap call

tsuru 0.13.2

24 Oct 00:18
Compare
Choose a tag to compare

tsuru 0.13.2 includes a bug fix in the handle of authentication schemes (tsuru/tsuru#953).

tsuru 0.13.1

21 Oct 20:42
Compare
Choose a tag to compare

tsuru 0.13.1 fixes a bug that prevented deprecated commands from parsing flags (tsuru/tsuru#952).

tsuru 0.13.0

21 Oct 17:02
Compare
Choose a tag to compare

tsuru 0.13.0 matches the 0.8.0 release of tsuru server, introducing mainly the capability of choosing plans in app creation.

New commands

  • plan-list: displays a list of available plans that can be used when creating a new app

Improvements to existing commands

  • support for specifying the application plan in the app-create command, using the -p/--plan flag
  • support for specifying the target of tsuru via environment variable. Users can now use the environment variable TSURU_TARGET, instead of only the ~/.tsuru_target file. The environment variable has precedence over the file. The command below will always use "http://myserver:8080" as the target:
$ TSURU_TARGET=http://myserver:8080 tsuru app-list

Renamed commands

In order to follow the command name convention, we've renamed some commands to match the style -. The old commands still work, but emit a deprecation warning. Here is the list of commands renamed:

Old name New name
bind service-bind
unbind service-unbind
deploy app-deploy
start app-start
stop app-stop
restart app-restart
run app-run
swap app-swap
log app-log
add-cname cname-add
remove-cname cname-remove

tsuru 0.12.0

24 Sep 19:50
Compare
Choose a tag to compare

tsuru 0.12.0 matches the 0.7.0 release of the tsuru server.

New commands

  • tsuru deploy is a new command that will upload the code to the tsuru server, instead of using git push for deployments (tsuru/tsuru#874)
  • tsuru app-set-team-owner is a new command that allows the user to change the team that owns an application, as long as the user is one of the members of the new team (tsuru/tsuru#894)

Improvements

  • Multiple cnames: now it’s possible to have multiple cnames in an application using tsuru add-cname. You can remove multiple cnames with tsuru remove-cname. The old commands set-cname and unset-cname were removed (tsuru/tsuru#677).
  • tsuru swap will now warn the user when two apps are incompatible, and ask for confirmation. Two apps are incompatible if they don't use the same platform or don't have the same amount of units. Users can use -f/--force to skip confirmation (tsuru/tsuru#582)
  • tables are now "responsible", using the entire terminal for displaying items

Bug fixes

  • tsuru run now reports the proper exit status when the remote command fails (tsuru/tsuru#832)