Skip to content

Releases: UpCloudLtd/upcloud-cli

v2.7.1

16 May 18:24
ca702ff
Compare
Choose a tag to compare

Fixed

  • Updated examples of kubernetes create command to use valid plans.

v2.7.0

02 May 13:43
51e1b76
Compare
Choose a tag to compare

Added

  • Add ip and net as aliases to ip-address and network commands, respectively.
  • Add Labels table to loadbalancer show, network show, router show, server show, and storage show outputs.
  • Add kubernetes plans command for listing available plans.
  • Add --plan argument to kubernetes create command for selecting cluster plan.
  • Add --wait flag to kubernetes create command for waiting created cluster to reach running state.

v2.6.0

14 Mar 15:00
ab9dbb9
Compare
Choose a tag to compare

Added

  • The upctl container image now includes jq tool for parsing values from JSON output.
  • Add node-group states to kubernetes show output.
  • Add completions for --network argument of kubernetes create and server network-interface create.
  • Support also network name as input for --network argument of kubernetes create and server network-interface create

Changed

  • Completions will now only suggest private networks as arguments because names or UUIDs of public or utility networks are often not valid arguments.

v2.5.0

15 Feb 13:03
c24a121
Compare
Choose a tag to compare

Added

  • Print warning about unknown resource state before exiting when execution is interrupted with SIGINT.
  • Add kubernetes nodegroup create, kubernetes nodegroup scale, and kubernetes nodegroup delete commands (EXPERIMENTAL)
  • Added support for all shell completions provided by cobra.
  • Add database properties <DB type> command to list database properties for given database type and database properties <DB type> show command to show database property details.

Changed

  • Remove custom bash completion logic and replace it with completion command provided by cobra. To do this while supporting args with whitespace, whitespace in completions is replaced with non-breaking spaces.

Fixed

  • In database show: parse database version from metadata instead of properties. This enables displaying redis version instead of <nil>.

v2.4.0

19 Dec 08:13
2ff60a3
Compare
Choose a tag to compare

Added

  • Add kubernetes create, kubernetes config, kubernetes delete, kubernetes list, kubernetes show, kubernetes versions commands (EXPERIMENTAL)
  • Add loadbalancer plans command for listing available LB plans

v2.3.0

11 Nov 09:19
dfefd8b
Compare
Choose a tag to compare

Added

  • Complete available types for database plans.
  • Suppress positional argument filename completion for commands without specific completions.
  • In database list output: if database has no title, database name is displayed in the title cell instead of leaving the cell empty, similarly than in the hub.
  • Version information is parsed from BuildInfo when upctl binary was built without specifying -ldflags to define value for .../config.Version.
  • Use alpine as base image for upcloud/upctl container image. This adds sh and other OS tools to the image and thus makes it more suitable for usage in CI systems.

Fixed

  • Remove debug leftover print from IP address completions.
  • Added /v2 postfix to module name in go.mod, this enables installing v2 versions of CLI with go install.

v2.2.0

17 Oct 08:24
Compare
Choose a tag to compare

Added

  • Include runtime operating system and architecture in version command output.
  • Include instructions for defining credentials and API access in upctl --help output.

Fixed

  • Fix commands in server delete usage examples.
  • Tune human output so that normal output is directed to stdout. Progess and error messages are still outputted to stderr.

v2.1.0

07 Sep 10:50
Compare
Choose a tag to compare

Added

  • Add --wait flag to storage import and storage templatise commands to wait until storage is in online state.
  • In JSON and YAML output of storage import: information on target storage is now available under storage key.

Fixed

  • In human output of storage list: capitalize zone column header and color storage state similarly than in storage show.
  • In human output of storage import: output UUID of created storage, instead of storage import operation. No UUID is outputted if existing storage was used.

v2.0.0

30 Aug 12:53
Compare
Choose a tag to compare

Added

  • Add database delete command.
  • Add loadbalancer delete command.
  • Add Access field to storage show output.
  • Add fields argument and resource to JSON and YAML error outputs.

Changed

  • Breaking: Human output, including errors, is written to stderr instead of stdout.
  • Refactor progress logging. This changes the appearance of progress logs. See UpCloudLtd / progress for the new implementation.

Fixed

  • Breaking: Set non-zero exit code if command execution fails.
  • Breaking: Render servers IP addresses as array of objects, instead of previous pretty-printed string, in JSON and YAML outputs of server show.
  • Breaking: Use key names from json field tag also in YAML output to have equal key names in JSON and YAML outputs. For example, bootorder key in server details will now be boot_order also in YAML output. As a side-effect data-types are limited to those supported by JSON. For example, timestamps will be presented as (double-quoted) strings. In addition, if command targets multiple resources, YAML output will now be a list, similarly than in JSON output, instead of previous multiple YAML documents.
  • Breaking: In JSON and YAML output, storage show lists attached servers in servers list instead of server string.
  • Breaking: In JSON and YAML output, network show lists DHCP DNS values in list instead of string.
  • On network show, output server details as unknown instead of outputting an error, if fetching server details fails. This allows displaying network details for networks that contain a load balancer.
  • Progress logging to non TTY output uses now 100 as text width instead of 0.

v1.5.1

15 Jul 08:55
Compare
Choose a tag to compare

Fixed

  • On server create, mount OS disk by default on virtio bus. Previously default OS storage address was not explicit and varyed depending on template type.
  • Disable colors if user has set NO_COLOR environment variable to non-empty value.