Releases: hetznercloud/cli
v1.64.1
v1.64.0
Primary IPs assignee_type behavior change
When creating a Primary IP with the primary-ip command, the --assignee-type flag will be required together with the --assignee-id flag. Using the default value (server) for the --assignee-type flag is deprecated. Consider explicitly setting the --assignee-type flag.
As of 1 August 2026, the behavior of the Primary IP assignee_type property will change, and will return unassigned when the Primary IP is not assigned (when assignee_id is null). The goal is to eventually assign Primary IPs to other resource types, not only to server.
See the changelog for more details.
In addition, the Primary IP request body assignee_type property of the operation POST /v1/primary_ips is now optional. Primary IPs created without assignee_type return server until 1 August 2026, after this date, its value will be unassigned.
See the changelog for more details.
Features
- primary-ip:
--assignee-typeis optional when creating a Primary IP (#1395)
v1.63.0
Available and recommended Server Types have been moved
- The Server Types list in
hcloud datacenter describeis deprecated and will not be displayed anymore after 2026-10-01. The two commands below should be used for this purpose instead. hcloud server-type describenow shows anAvailableandRecommendedvalue for each location.hcloud server-type listnow has additional columnslocation_availableandlocation_recommended.
See the changelog for more details.
Features
- datacenter, server-type: move available and recommended to server_type (#1384)
v1.62.2
v1.62.1
v1.62.0
Features
- build .deb and .rpm release files (#1311)
- primary-ip: new flag to specify assignee-type on primary-ip create (#1348)
- increase default poll interval for long running actions (#1364)
- server-type: add
locationto list table default columns (#1340) - server-type: remove
storage_typefrom list table default columns (#1340) - allow listing contexts as json/yaml (#1352)
- add --long flag to version command (#1353)
Bug Fixes
- suppress trailing spaces in tables (#1355)
v1.61.0
v1.60.0
Storage Box Subaccounts are no longer identified by username
Storage Box Subaccounts now have a name property, allowing users to specify custom names for their Subaccounts.
More importantly, Storage Box Subaccounts (<subaccount>) are now identified by id or name, instead of by id or username.
hcloud storage-box subaccount describe <storage-box> <subaccount>
-hcloud storage-box subaccount describe my-storage-box u1337-sub1
+hcloud storage-box subaccount describe my-storage-box my-subaccountExisting Subaccounts have been updated to use their username as name value.
See our changelog for more details.
Features
v1.59.0
Deprecation of datacenter attribute for Primary IPs and Servers
The datacenter attribute is deprecated in the Primary IPs and Servers API resources and will be removed after 1 July 2026. See https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters for more details.
The location attribute already exists for Servers, and was added for Primary IPs.
Therefor the datacenter attribute is deprecated in favor of the location attribute in the following commands:
hcloud server createhcloud server describehcloud server listhcloud primary-ip createhcloud primary-ip describehcloud primary-ip list
In list commands, the datacenter columns is not longer shown by default, and is replaced with the location column.
Features
- server,primary-ip: deprecate datacenter (#1278)