- drop support for go 1.21 (#902)
- macOS binary not notarized (#868)
- drop support for go 1.21 (#902)
- macOS binary not notarized (#868)
1.48.0 (2024-10-25)
- allow auto-completing context flag (#861) (7495b14)
- primary-ip: allow setting auto-delete on create (#860) (b6aecb3), closes #855
- image: only use numerical IDs for label auto-completion (#865) (1d10d92)
- primary-ip: labels ignored in create command (#885) (7a17174), closes #883
1.47.0 (2024-08-30)
- allow deleting rDNS entries (#839) (129f51d), closes #814
- certificate: allow retrying managed certificate issuance (#847) (0223f7d)
- improve datacenter describe server types readability (#854) (fc0002c), closes #852
quiet
option sometimes only working as a flag (#846) (f7c9ac6)- image: only accept numerical ids for update, delete, label (#844) (7355571)
- load-balancer: show message if none of --server, --label-selector or --ip is set (#849) (2df45e0)
- primary-ip: change protection commands do not allow protection levels (#851) (697a87a)
1.46.0 (2024-07-25)
There will be a breaking change in the API regarding Traffic Prices and Server Type Included Traffic on 2024-08-05. This release implements the necessary changes for the CLI.
Until now, the hcloud server-type list
command had a column traffic
. This is no longer possible, because there is no single included traffic for a server type, and instead this depends on the location. We have set the field to -
and removed it from the default columns. The information is still available in hcloud server-type describe <server-type-name>
, now in the "Pricing" section of the output.
This also affects the JSON and YAML output of both hcloud server-type list
and hcloud server-type describe
as we use the API schema for this.
You can learn more about this change in our changelog.
- load-balancer-type: show traffic details for each location in describe output (5c9380c)
- server-type: show traffic details for each location in describe output (5c9380c)
- ineffective poll interval option (#822) (41aaa56)
- printing for server create with multiple networks (#824) (f3fcbd2)
- server-type: remove deprecated traffic column (5c9380c)
1.45.0 (2024-07-17)
- allow configuring default sort columns for each supported resource (#795) (f6877a1)
- better error messages on malformed option value (#798) (8c6fec9)
- config: ordering of list option values not preserved (#805) (1ac27bf)
- debug log is truncated if it already exists (#793) (c3d3a9f)
- firewall: wrong wording when firewall is removed from resource (#812) (9017a65), closes #809
1.44.2 (2024-07-01)
1.44.1 (2024-06-26)
1.44.0 (2024-06-20)
- delete multiple resources in parallel (#761) (f2fb321)
- improve toml formatting (#758) (eacb7dd)
- load-balancer: allow specifying health check options in add-service (#743) (2cd08b2), closes #742
- new action waiting progress (#749) (9e30f3f)
- new configuration system, config subcommand (#736) (d1c6678)
- server-type: add deprecated column to list command (#780) (906f864)
- server: add default-ssh-keys option (#759) (9b34d26)
- firewall: 'create --rules-file' not working with outbound rules (#752) (2f2be32), closes #750
- network list server count format (#783) (f69d261)
- track progress if the terminal width allows it (#768) (069fffe), closes #767
1.43.1 (2024-04-19)
- allow passing multiple args to server ssh command (#729) (d98aee5), closes #728
- creating firewall with rules not working correctly (64aeb23)
- firewall: missing error when not setting port for tcp rule (#734) (c5ad470)
- firewall: setting rules not working correctly (da1b684)
1.43.0 (2024-04-03)
- allow deletion of multiple resources at once (#719) (3b896fe)
- improve missing argument error messages (#711) (e7f9e74)
- server: allow JSON & YAML output in reset-password (#716) (373287b), closes #715
1.42.0 (2024-02-01)
- add global --quiet flag to hide non-error messages (#656) (25fcbbf), closes #644
- allow adding/removing multiple labels at once (#665) (919c446), closes #662
- group subcommands in command help (#675) (0cb271f)
- server: remove unsupported linux32 rescue type (#679) (5bb0350)
- refetch after creating managed certificate (#685) (4864553)
- server: fix typo in ip subcommand (#678) (c5e3f00)
- use --poll-interval flag (#660) (b9328a6)
1.41.1 (2023-12-21)
- allow multiple --type flags for metrics commands (#649) (69346f7), closes #642
- integer fields are displayed as floats when using create with o=yaml (#651) (2d42fcd)
- integer fields are displayed as floats when using describe with -o=yaml (#650) (ee4c51e), closes #638
- wording when metrics are not yet available (#639) (9298c46)
1.41.0 (2023-12-13)
- allow YAML output (#628) (87552d2)
- server: allow to filter list by server status (#629) (1cb51f2), closes #623
- make JSON/YAML outputs consistent (#622) (43944b8)
- server: properly format request-console JSON output (#626) (40641b6)
1.40.0 (2023-11-14)
- add warning messages to context commands (#605) (d84fe36), closes #588
- allow JSON output on resource creation (#609) (d7241fe), closes #470
- context: ask to use HCLOUD_TOKEN when creating new context (#582) (54e582a), closes #576
- pretty-print JSON output (#610) (ca4706f)
- print out IPs after they were created (#590) (0e0eaa8)
- "create" actions were not awaited in some cases (#589) (1c0e50a)
- image: backup is suggested as type in update command (#603) (6ea4695)
- inconsistent formatting in "describe" commands (#593) (b70dfe3)
- network: create prints success to stderr instead of stdout (#587) (0a4c361)
- primary-ip: list does now allow to output IP column (#594) (ee8e6ed), closes #591
- primary-ip: updating the name resets auto-delete (#604) (292f6c4)
- static resource list commands only return first 50 entries (#592) (7e511d9)
1.39.0 (2023-10-25)
- add --enable-protection flag to "create" commands (#567) (e313e69)
- add "all list" command to list all resources in the project (6d3b064)
- iso: allow to filter list by type (public, private) (#573) (140cbc3)
- primary-ip: enable/disable-protection accept levels as arguments (#564) (b11e223)
- server: add --enable-backup flag to "create" command (#568) (15adee0)
- server: add --wait flag to "shutdown" command (#569) (3ce048c)
- floating-ip: list command only returns first 50 entries (#574) (f3fa881)
- image: list does not parse "type" flag correctly (#578) (9a0487a)
- list outputs null instead of empty array when listing in JSON (#579) (93bed7e)
1.38.3 (2023-10-16)
1.38.2 (2023-10-13)
- build: create release from previous candidates (cf6eb47)
1.38.2-rc.0 (2023-10-13)
1.38.1 (2023-10-13)
- build: goreleaser failed building binaries for release (8e4cd29)
1.38.0 (2023-10-12)
- build with Go 1.21 (#543) (368bfae)
- iso: support deprecation info API (#555) (2b0a0fa)
- load-balancer: Add health status to list output (#542) (272cc63)
1.37.0 (2023-08-17)
- allow formatting a volume without automounting it (#530) (a435c9a)
- upgrade to hcloud-go v2 (#512) (e2df229)
- make image subcommand descriptions consistent (#519) (34beff0)
- output: ID column could not be selected (#520) (7d5594b)
- primary-ip: assignee-id was not correctly passed when creating the IP (#506) (8c027b6)
- server: show actual progress on image-create (a2f0874)
1.36.0 (2023-06-22)
1.35.0 (2023-06-13)
1.34.1 (2023-06-01)
1.34.0 (2023-05-15)
1.33.2 (2023-05-08)
- fix: crash on server create with missing server type by @apricote in #469
Full Changelog: https://github.com/hetznercloud/cli/compare/v1.33.0...v1.33.1
Affordable, sustainable & powerful! 🚀You can now get one of our Arm64 CAX servers to optimize your operations while minimizing your costs! Discover Ampere’s efficient and robust Arm64 architecture and be ready to get blown away with its performance. 😎
Learn more: https://www.hetzner.com/news/arm64-cloud
- test: fix gitlab test setup by @apricote in #466
- fix: send debug output to stderr by @apricote in #467
- feat: add support for ARM APIs by @apricote in #468
Full Changelog: https://github.com/hetznercloud/cli/compare/v1.32.0...v1.33.0
- Adding "loadbalancer" as an alias to the "load-balancer" command by @cedi in #424
- feat(primary-ip): add and remove labels by @apricote in #435
- feat(server): return password on rebuild by @apricote in #460
- fix(placement-group): invalid json response #464 by @apricote in #465
- Adding "loadbalancer" as an alias to the "load-balancer" command by @cedi in #424
- feat(primary-ip): add and remove labels by @apricote in #435
- chore: remove unused hcapi.CertificateClient by @samcday in #441
- chore: remove unused hcapi.PrimaryIPClient by @samcday in #442
- chore: remove unused hcapi.DataCenterClient by @samcday in #443
- chore: migrate hcapi.ISOClient usage to hcapi2 by @samcday in #444
- Adding a .devcontainer configuration for usage in GitHub Codespaces by @cedi in #419
- chore: replace hcapi.ImageClient usage with hcapi2 by @samcday in #445
- chore: replace hcapi.LocationClient usage with hcapi2 by @samcday in #446
- fix: improve unset version specifier by @apricote in #447
- Bump golang.org/x/net from 0.2.0 to 0.7.0 by @dependabot in #448
- chore: remove unused hcapi.PlacementGroupClient by @samcday in #450
- chore: migrate hcapi.SSHKeyClient usages to hcapi2 by @samcday in #449
- chore: migrate hcapi.VolumeClient usage to hcapi2 by @samcday in #451
- chore: replace hcapi.FloatingIPClient usages with hcapi2 by @samcday in #452
- chore: migrate hcapi.FirewallClient usages to hcapi2 by @samcday in #454
- chore: migrate hcapi.NetworkClient usages to hcapi2 by @samcday in #453
- chore: replace hcapi.LoadBalancerClient usages with hcapi2 by @samcday in #455
- chore: replace hcapi.ServerClient usages with hcapi2 by @samcday in #456
- chore(deps): update module github.com/hetznercloud/hcloud-go to v1.41.0 by @apricote in #459
- feat(server): return password on rebuild by @apricote in #460
- fix(placement-group): invalid json response #464 by @apricote in #465
Full Changelog: https://github.com/hetznercloud/cli/compare/v1.31.1...v1.32.0
- ci: fix issue where release pipeline fails and no assets are produced by @apricote in #430
- fix(ci): race-condition in signing macos binaries by @apricote in #433
Full Changelog: https://github.com/hetznercloud/cli/compare/v1.31.0...v1.31.1
- server/list: Add missing PlacementGroup to JSON by @tomsiewert in #416
- Update the toml library to the latest version by @cedi in #422
- Adding an age column to the cli, closes #417 by @cedi in #420
- feat(completion): read network zones from API by @apricote in #426
- @cedi made their first contribution in #422
Full Changelog: https://github.com/hetznercloud/cli/compare/v1.30.4...v1.30.5
- chore: update hcloud-go to v1.37.0 by @apricote in #413
- fix: primary-ip list returns max 50 items by @apricote in #415
- @apricote made their first contribution in #414
Full Changelog: https://github.com/hetznercloud/cli/compare/v1.30.3...v1.30.4
- Fix hcloud server-type describe completion by @LKaemmerling in #407
- Improve hcloud server ssh command to use IPv6 automatically if no IPv… by @LKaemmerling in #406
Full Changelog: https://github.com/hetznercloud/cli/compare/v1.30.2...v1.30.3
Full Changelog: https://github.com/hetznercloud/cli/compare/v1.30.1...v1.30.2
- Fix hcloud server ssh with flexible network options by @LKaemmerling in #396
Full Changelog: https://github.com/hetznercloud/cli/compare/v1.30.0...v1.30.1
- Add Alpine Linux to third-party packages by @firefly-cpp in #387
- Add Fedora to the list of third-party providers by @wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf in #388
- fix(readme): correct messed-up columns ... by @wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf in #389
- Remove freebsd64 rescue system type by @LKaemmerling in #391
- Remove Third-party packages Table by @LKaemmerling in #392
- Add Primary IP Support by @LKaemmerling in #393
- @firefly-cpp made their first contribution in #387
- @wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf made their first contribution in #388
Full Changelog: https://github.com/hetznercloud/cli/compare/v1.29.5...v1.30.0
- Fix: Use the correct object to return in case of created_from flag by @4ND3R50N in #385
- @4ND3R50N made their first contribution in #385
Full Changelog: https://github.com/hetznercloud/cli/compare/v1.29.4...v1.29.5
Full Changelog: https://github.com/hetznercloud/cli/compare/v1.29.0...v1.29.4
- Fix installation instructions by @fhofherr in #368
- Fix missing new line on hcloud describe command by @LKaemmerling in #380
- Use Go 1.18 for building & testing by @LKaemmerling in #381
- Trim and lowercase for column selectors by @gadelkareem in #375
- @gadelkareem made their first contribution in #375
Full Changelog: https://github.com/hetznercloud/cli/compare/v1.29.0...v1.29.1
- Add support for network zone
us-east
- Build with Go 1.17
The binary for Apple Silicon is omitted for this release because of issues with the Apple Notary Service.
- 4410fb4 Fix panic on iso & location list as json (#361)
- 94b5d5f Move RDNS Commands to RDNS Client (#357)
- 3d7078a Add support for LB DNS PTRs (#355)
- eee45a9 Remove no longer used build scripts (#353)
- 4b8ed4d Placement groups (#352)
- 2ab6137 Fix firewall description
- 01180ad Update hcloud-go to 1.29.1
- b4c1d1b Add description field to firewall rules
- caa9bf2 Fix pagination of list commands (#347)
- 687f623 internal/cmd: Remove redundant DescribeJSON from JSONSchema (#345)
- 830d0bc Add support for App images (#344)
- ac23982 Fix changelog generation
This release contains a major refactoring of the code and is marked as alpha. We recommend using the latest stable release, but feel free to test this release and report bugs if you find something.
- 08da869 Add Support for Firewall Protocol GRE & ESP (#331)
- 234dd6d Implement Firewall resource label selector (#328)
- 5ea977e5dda83022d701e056157f7e218c7674c6 Support getting Firewalls by label selector (#327)
- bb30002002cd2c8af6b20269eff549d09f7204a5 server: Add ability to get traffic as column (#325)
- 8d0f07e802cebf6df44daa3ad8933cebe489a8d1 firewall: Add empty slices for respective direction instead of nil-slices (#324)
- 4e97f5c Add Powershell completion (#316)
- b93bb4fe2716a34d79504e588d90f55dc8cf8ab9 Fix output option broke with last release (#315)
- 7969d5b Add support for managed certificates
- 5442833 The cli normalized the given CIDRs by default, so when a user entered 10.0.0.1/8 (as a sample) the cli normalized it to 10.0.0.0/8 silent. After this MR we now validate that the given IP is the start of the CIDR block (e.g. 10.0.0.0/8). (#304)
- 6c04c99 Specify timeout on release jobs
- afd597adb2e7bda63cd497546a7ecbb1186307cb Implement Firewall support (#301)
- 67ba0adc61faf4ce4696626abb0c322029f6240d Update to Go 1.16 and support Apple Silicon (darwin/arm64) (#298)
- 178bf96 Add vswitch integration (#283)
- 9d209c0 Update to cobra 1.1.1 (#282)
- d5d2fec Update hcloud-go to 1.22.0 and expose correct disk size for resized without disk server (#269)
- 5049b00 Add handling for deprecated Images (#263)
- be48b5e Use go 1.15 (#267)
- ad3a564 Improve/Rewrite Shell completions (#266)
- 290c168 hcloud server describe use correct unit for traffic counter (#259)
- c1bd46c Implement Label Selector and IP target support (#258)
- d5a31ce Expose the new traffic fields and add load-balancer change-type command (#256)
- Add pricing per location to load-balancer-type describe and server-type describe (#254)
- 5fc1464 Fix context list nil pointer when no active context was given. (#252)
- 8245b2f Add (required) to help text of all required args (#253)
- 03c3c82 Fix typos (#251)
- 506c1b1 added instructions for completion with antigen in zsh. (#240)
- 5d6f1bb Add command to request a VNC console (#238)
- 50a7de3 Add support for Load Balancers and Certificates (#245)
- 196557e Show Server Type CPU Type on server-type list, server-type describe and server describe (#244)
- b2d33f1 Allow the created field to be within the list responses (#237)
- 3bc0379 Fix completion of server name on hcloud server ssh (#233)
- cc8786c Update to go 1.14 (#234)
- 8c32195 Add missing labels to hcloud server list -o json response (#231)
- eef73ac Bugfix: Add private_net to server list json response (#229)
- 613eafc Add option to label servers, volumes, images, floating ips and ssh keys on creation (#227)
- 0ff7a1b Add JSON output option to all hcloud list commands (#225)
- 381f133 Switch Build and Release System to Github Actions (#223)
- 85e971e Add stale bot (#221)
- Expose server’s MAC address in networks on
hcloud server describe
- Add support for names to Floating IP commands
- Make
--ip-range
onhcloud network add-subnet
optional - Add debug mode (use
HCLOUD_DEBUG
andHCLOUD_DEBUG_FILE
) - Add
hcloud server ip
command - Expose
Created
onhcloud floating-ip|image|ssh-key|volume describe
- Refactor progressbar and add loading animation for running actions
- Show server name instead of ID on
hcloud floating-ip|volume|image list
- Add support for networks
- Add support for executing commands via
hcloud server ssh <server> <command>
- Make overriding context via
HCLOUD_CONTEXT
work - Add support for JSON and Go template output
- Add support for multiple user data files
- Add length validation for API token on
hcloud context create
- Add
active
column to context list onhcloud context list
- Add support for automounting and formatting volumes
- Fix creating a volume when server is specified by its name
- Deprecate and ignore the
--window
flag onhcloud server enable-backup
- Add output columns
type|labels|volumes|protection
tohcloud server list
- Add output columns
labels|protection
tohcloud volume list
- Add output column
labels
tohcloud image list
- Add output column
labels
tohcloud floating-ip list
- Add output column
labels
tohcloud ssh-key list
- Fix formatting issue on
hcloud volume list
andhcloud volume describe
- Add support for volumes
- Add
--start-after-create
flag tohcloud server create
command
- Add
hcloud ssh-key update
command - Add
-u/--user
and-p/--port
flags tohcloud server ssh
command - Add
hcloud server set-rdns
command - Add
hcloud floating-ip set-rdns
command
- Add type filter flag
-t
/--type
toimage list
command - Expose labels of servers, Floating IPs, images, and SSH Keys
- Add
hcloud {server|ssh-key|image|floating-ip} {add-label|remove-label}
commands
- Fix invalid formatting of integers in
hcloud * list
commands
- Show IP address upon creating a server
- Add
--poll-interval
flag for controlling the polling interval (for example for action progress updates)
- Add
hcloud server ssh
command to open an SSH connection to the server
- Document
-o
flag for controlling output formatting - Add commands
enable-protection
anddisable-protection
for images, Floating IPs, and servers
- Show progress for every action
- Show datacenter in
server list
andserver describe
- Only poll action progress every 500ms (instead of every 100ms)
- Document
HCLOUD_TOKEN
and make it work when there is no active context
- Print dates in local time
- Do not echo token when creating a context
- Add
--user-data-from-file
flag tohcloud server create
command
- Update hcloud library to v1.2.0 fixing rate limit check
- Show image information in
hcloud server describe
- Auto-activate created context on
hcloud context create
- Fix
hcloud version
not showing correct version