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.