Skip to content

Releases: UpCloudLtd/upcloud-cli

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.

v1.5.0

05 Jul 09:32
Compare
Choose a tag to compare

Added

  • Add --show-ip-addresses flag to server list command to optionally include IP addresses in command output.
  • Add database connection list, database connection cancel, database start, and database stop commands.

Changed

  • Make --family parameter of server firewall create command optional to allow editing the default rules.
  • Update cobra to v1.5.0 and refactor required flag validation code. This affects validation error messages.

Fixed

  • Complete shell input with uppercase letters (e.g., Cap to CapitalizedName will now work)
  • Display UUID of created template in storage templatise output.

v1.4.0

15 Jun 11:29
Compare
Choose a tag to compare

Added

  • Add database list, database show,database plans, and database types commands.
  • Add loadbalancer list and loadbalancer show commands.
  • Add db and lb aliases to database and loadbalancer, respectively.

Changed

  • Color server state in server list output similarly than in server show output.
  • Update Go version to 1.18
  • Update upcloud-go-api to v4.8.0

v1.3.0

17 May 12:33
Compare
Choose a tag to compare

Added

  • Add zone list command that lists available zones.
  • Add --wait flag to server create and server stop commands to wait until server is in started and stopped state, respectively.

Changed

  • Update upcloud-go-apito v4.5.2

Fixed

  • Do not display usage if execution fails because of missing credentials
  • Mark error and warning livelogs finished when they will not be updated anymore: this stops the timer in the end of the row and stops livelog from refreshing these lines.

v1.2.0

02 May 07:54
b769781
Compare
Choose a tag to compare

Added

  • Include UUID (or address) of created resource in create command output
  • storage modify command now accepts enable-filesystem-autoresize flag. When that flag is set upctl will attempt to resize partition and filesystem after storage size has been modified.

Changed

  • New go-api version v4.5.0

Fixed

  • Improved errors relating to argument resolver failures
  • Print version info, instead of missing credentials error, when runnning upctl version without credentials
  • Disable colors when outputting in JSON or YAML format
  • Display both public and private addresses in server create output
  • Render livelog messages of commands which execution takes less than render tick interval

v1.1.3

24 Feb 14:55
Compare
Choose a tag to compare

Changelog

  • 75359de chore(doc): update documentation
  • 9ea0f2b fix: storage command attached-to-server key overrides zone (#104)

v1.1.2

21 Jan 09:49
Compare
Choose a tag to compare

Changelog

v1.1.1

30 Sep 08:57
2e79978
Compare
Choose a tag to compare

Changelog

6fb5f0a Merge pull request #98 from UpCloudLtd/fix-otp-password-defaults
2e79978 Merge pull request #99 from UpCloudLtd/v1.1.1
de5553c chore(doc): update documentation
51cf4de chore(doc): update documentation
22d5f47 chore(doc): update documentation
975d0f4 chore(style): changed linter requirements
2ee7c51 docs(readme): "infomation" spelling fix
edc6d0e feat(server): parity between server create and network-interface create commands (#93)
2b9482a fix(server): default to not create a password, but do so when password delivery method is chosen
acd8a6b fix(version): Publish v1.1.1

Docker images

  • docker pull upcloud/upctl:v1.1.1
  • docker pull upcloud/upctl:1
  • docker pull upcloud/upctl:1.1

v1.1.0

03 Jun 10:16
4d8041c
Compare
Choose a tag to compare

Changelog

13f93a0 Dockerfile and build step in makefile
457e3ad Goreleaser: new deploy for Docker images (#82)
d80a283 Merge pull request #46 from UpCloudLtd/feat/debug-flag
d0d29c3 Merge pull request #70 from UpCloudLtd/refactor/clean-up-import
df71c06 Merge pull request #79 from UpCloudLtd/docker-build
6c8db73 Merge pull request #81 from UpCloudLtd/fix/yaml-parsing-error
5034e75 Merge pull request #84 from UpCloudLtd/chore/server-list-typo
0ac2aea Merge pull request #85 from UpCloudLtd/docs/current-dir
6d582fc Merge pull request #89 from UpCloudLtd/fix/router-detach
bdeb620 Merge pull request #90 from UpCloudLtd/version-1.1
5e58506 Merge pull request #91 from UpCloudLtd/fix/ci
4d8041c Merge pull request #92 from UpCloudLtd/fix/freebsd-build
65629ef Version 1.1.0
e293a87 chore(ci): fix aur publisher
7e90bae chore(doc): update documentation
836da8a chore(doc): update documentation
b0319f4 chore(doc): update documentation
4455870 chore(doc): update documentation
b5ae2ba chore(doc): update documentation
c387208 chore(doc): update documentation
eee3a6b chore(doc): update documentation
b3c65af chore(doc): update documentation
64781bb chore(gh/workflow): filter test triggering (#88)
7047208 chore(goreleaser): filter changelog commits (#87)
0337940 chore(lint): enhance linter list (#86)
7210c40 chore(makefile): add freebsd to build-all and update comments
c8a7078 chore(makefile): align columns
bdd31ae chore(storage/import): update windows error string in tests
59a7a28 chore: add freebsd building to makefile and readme
f8bae24 chore: change color -> colour all over
95f6218 chore: clean up imports
e06adff chore: finish up rebasing to master
1e1078a chore: fix imports
2c30550 chore: fix typo in "upctl server list" example
a45188f chore: reorganize imports
ee1da7a ci(publish): fix typo that broke publishing
2e42b59 docs(README): remove mention of current directory for config
7205adf docs(changelog): add more details to 1.1.0 changelog
f3015c7 docs(changelog): add new version tag links
5336765 docs(changelog): fix unreleased version tag link
11e0c2e docs(core/logging): clarify some comments
e265087 docs(network/modify): improve help texts for router attach/detach
2f1dc76 docs(readme): update the debian example
6a50cb3 docs: improve comment
6cc0045 feat(executor/logging): add logging to executor
1487128 feat(output/log): dont show any logs if debug mode is not on.
6e48f01 feat(runcommand): add worker argument to the contexted executor too
7c60ce6 feat(storage/import): DRY up handling of the status updates with local and remote files
afcf9ea feat: add debug flag option. log viper config at service load.
49241d3 feat: add debug logging to commandRunE in runcommand.go
fd3bd26 feat: implement initial terminal width support (#78)
6951363 fix(config/load): improve error message when loading invalid YAML
8c1f327 fix(config/logging): log viper settings flume-style
69be5f5 fix(config/logging): sanitize password before logging it
0c27f5c fix(executor/logging): drop Info and Error methods, we don't really need more than just one level of logging
c0cfc69 fix(import/windows): fix parsing of source-location on Windows
d953994 fix(logging/flume): always add caller, independent of debugflag
341b415 fix(logging/flume): drop colors from logs
fddc599 fix(network/router): update go-api and implement router attaching and detaching
34d12df fix(output): disable color output if stdout is not a terminal (eg. we're piping somewhere)
acb523f fix(output/log): output debug logs to stderr, to allow --json > file and friends to still work with it
2456ad5 fix(output/log): use ltsv (labeled tab-separated values, see http://ltsv.org) as the log encoding when colours are disabled or stderr is not a terminal (eg. piped somewhere)
7d109e5 fix(runcommand): respect command-related maxexecutions, again. oops.
f5f158d fix(storage/import): actually return the parsed url.. oops
5110cca fix(storageimport): clean up local file importing to have less foxholes
eaa69c4 fix(terminal): build terminal helpers in freebsd as well
b444ceb fix: create flume logger in individual pckg lvl and add caller to logs
3c9a382 fix: logging the viper config log and rename debug pckg to log
3b94869 fix: remove log pckg and use flume out of the box
f94de39 refactor(config/color): refactor --color to --force-colour and --no-colour
7eafa0a refactor(executor/logging): use Debug and Info instead of LogDebug and LogInfo and add Error for more consistency with flume
a1d9ecc refactor(runcommand/logging): clarify logging and use a context-specific logger in runcommand
a749551 refactor(storage/import): move storage uuid to local scope
e288f03 refactor(storage/import): refactor --wait to --no-wait, as --wait is the default behaviour
35f8983 refactor(storage/import): separate more concerns and clarify the business logic bits
24f2c21 refactor(storageimport): separate local and remote upload to their own methods
2825c45 test(executor): improve contexted executor testing
fa673d1 test(storage/import): add unit testing for parsing input
7c6ff18 test(storageimport): test not found errors correctly on windows
0e632a8 testing(import): fix and improve tests

Docker images

  • docker pull upcloud/upctl:latest
  • docker pull upcloud/upctl:v1.1.0
  • docker pull upcloud/upctl:1
  • docker pull upcloud/upctl:1.1