Releases: UpCloudLtd/upcloud-cli
Releases · UpCloudLtd/upcloud-cli
v2.7.1
Fixed
- Updated examples of
kubernetes create
command to use valid plans.
v2.7.0
Added
- Add
ip
andnet
as aliases toip-address
andnetwork
commands, respectively. - Add Labels table to
loadbalancer show
,network show
,router show
,server show
, andstorage show
outputs. - Add
kubernetes plans
command for listing available plans. - Add
--plan
argument tokubernetes create
command for selecting cluster plan. - Add
--wait
flag tokubernetes create
command for waiting created cluster to reach running state.
v2.6.0
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 ofkubernetes create
andserver network-interface create
. - Support also network name as input for
--network
argument ofkubernetes create
andserver 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
Added
- Print warning about unknown resource state before exiting when execution is interrupted with SIGINT.
- Add
kubernetes nodegroup create
,kubernetes nodegroup scale
, andkubernetes 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 anddatabase properties <DB type> show
command to show database property details.
Changed
- Remove custom bash completion logic and replace it with
completion
command provided bycobra
. 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
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
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
whenupctl
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 ingo.mod
, this enables installing v2 versions of CLI withgo install
.
v2.2.0
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 tostderr
.
v2.1.0
Added
- Add
--wait
flag tostorage import
andstorage templatise
commands to wait until storage is inonline
state. - In JSON and YAML output of
storage import
: information on target storage is now available understorage
key.
Fixed
- In human output of
storage list
: capitalize zone column header and color storage state similarly than instorage 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
Added
- Add
database delete
command. - Add
loadbalancer delete
command. - Add
Access
field tostorage show
output. - Add fields
argument
andresource
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 beboot_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 inservers
list instead ofserver
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.