Skip to content

Releases: UpCloudLtd/upcloud-cli

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

v1.0.0

28 Apr 16:21
Compare
Choose a tag to compare

Changelog

259ed2d Add colors to some missing UUIDs (#74)
cf957a0 Doc: add a CI to auto generate commands documentation (#49)
70885fb Docs/polish command documentation (#63)
4956c8b Merge pull request #54 from UpCloudLtd/chore/changelog-unreleased
d05dfef Merge pull request #58 from UpCloudLtd/feat/improve-testing
4a25686 Merge pull request #61 from UpCloudLtd/refactor/runcommand-again
10b2c59 Merge pull request #64 from UpCloudLtd/fix/ip-address-assign-flag-description
7ebeabb Merge pull request #66 from UpCloudLtd/chore/add-missing-commands-examples
de43d24 Merge pull request #73 from UpCloudLtd/fix/enforce-client-timeout
21ac231 Set theme jekyll-theme-midnight
2929dfd chore(completion): add interface validation to completions
e837068 chore(doc): update documentation
80f8e76 chore(doc): update documentation
ad9382e chore(doc): update documentation
d9b0bd3 chore(doc): update documentation
ebb35fd chore(doc): update documentation
9fa1680 chore(doc): update documentation
151a7da chore(docs): add example for server storage attach with address flag
2e97364 chore(docs): add example for storage import command
c2878d1 chore(docs): add examples for firewall commands
c90ee72 chore(docs): add examples for ip commands
a45cc12 chore(docs): add examples for network commands
38f6772 chore(docs): add examples for network interface commands
12e551f chore(docs): add examples for router commands
c142c9a chore(docs): add examples for storage commands
b11df0b chore(storage): return proper error on import failure (#69)
b57e9ab chore/add api permission note to docs (#60)
e333d5c chore: add "Unreleased" section to CHANGELOG and fix link to 0.5.0 release
568745e chore: add v0.6.0 to CHANGELOG (#59)
4d860e5 chore: fix 0.6.0 release link in CHANGELOG.md
a7bc212 chore: fix various typos
a2e3506 chore: make sure resolver errors are actual errors
ad7d925 chore: remove outdated and unnecessary comments
5dd7b9e docs: add TODO to remember to maintain the custom bash completion function
d68e8da feat(flags/boolean): implement tristate boolean flags (#75)
0171b12 fix(client-timeout): change default timeout to no timeout and make sure go-api respects it
f051f4e fix(doc): add windows installation steps
5830a57 fix(docs): fix mac and zone flag descriptions for ip-address assign command
2f09e95 fix(docs): remove redundant newline character
dfd3fe6 fix(docs): remove unnecessary trailing new line
1dc7e5b fix(mockservice): add support for returning nil,error to mock requests
a9e0ee4 fix(scripts): use correct aur source
adf8bd1 fix(storage): size up os disk to the correct value (#71)
fe1a899 fix: improve completion helpers slightly
158946d refactor(runcommand): move executor initialization to top level in order to separate concerns better
1c43672 refactor(runcommand): separate rendering from executing
e5ef84e refactor(ui): remove handlecontext \o/
5ede0c3 refactor(ui): remove workqueue \o/
f5afab1 refactor: remove old, unused ipaddress caching/searching code
13bccb9 refactor: remove old, unused network caching/searching code
f3ae2ad test(completion): add testing for ip address completion
9dda463 test(completion): add testing for network completion
bf05410 test(completion): add testing for router, server and storage completion
7d51980 test(core): disable failing test
52c77e7 test(execute): add initial execution related tests
27cba9b test(output): improve output testing
d0cb86d test(resolver): add missing storage tests
f925a74 test(runcommand): improve runcommand testing
11bb1bc test: add completion helpers testing
99632b2 test: validate input configs (#67)

v0.6.0

16 Apr 14:38
9fc7819
Compare
Choose a tag to compare

Changelog

d8a3cdd Merge pull request #53 from UpCloudLtd/v0.5.0-release
1618acf Merge pull request #55 from UpCloudLtd/fix-root-cmd
90d1ccd Merge pull request #57 from UpCloudLtd/refactor/runcommand-again
9fc7819 feat(cd): use goreleaser (#56)
263b6bc fix(pre-commit): add missing golangci config file
f6390c9 fix(root): use default cobra behavious when called
59bba6e refactor(runcommand): move creation of service outside runcommand, to facilitate testing