Releases: HenningHolmDE/hcloud-rust
hcloud-rust v0.21.0
Update to current state of Hetzner's API description. This release includes several braking changes derived from upstream changes in the API.
Changes in the release:
- BREAKING: Removed field
traffic
fromListPricesResponsePricing
. - BREAKING: Removed field
included_traffic
fromServerType
. - BREAKING: Replaced
ChangePrimaryIpProtectionRequest
byProtection
. - BREAKING: Replaced
AddTargetRequestServer
byResourceId
. - BREAKING: Enum
ChangeReverseDnsEntryForPrimaryIpError
renamed toChangeReverseDnsRecordsForPrimaryIpError
. - BREAKING: Struct
AddTargetRequest
renamed toLoadBalancerAddTarget
. - BREAKING: Struct
ChangeReverseDnsEntryForPrimaryIpParams
renamed toChangeReverseDnsRecordsForPrimaryIpParams
. - BREAKING: Struct
ChangeReverseDnsEntryForPrimaryIpResponse
renamed toChangeReverseDnsRecordsForPrimaryIpResponses
. - BREAKING: Struct
HealthStatus
renamed toLoadBalancerTargetHealthStatus
. - BREAKING: Struct
SelectedTarget
renamed toLoadBalancerSelectedTarget
. - BREAKING: Struct
Target
renamed toLoadBalancerTarget
. - BREAKING: Field
add_target_request
ofAddTargetParams
changed tobody: Option<models::LoadBalancerAddTarget>
. - BREAKING: Field
change_primary_ip_protection_request
ofChangePrimaryIpProtectionParams
changed tobody: Option<models::Protection>
. - BREAKING: Field
change_reverse_dns_entry_for_primary_ip_request
ofChangeReverseDnsRecordsForPrimaryIpParams
changed tobody: Option<models::DnsPtr>
. - Examples: Replace deprecated server type
- Doc: Several docstring updates
hcloud-rust v0.20.1
Changes in the release:
- Remove
default-tls
as a default feature onreqwest
to allow using features likerustls-tls
without forcingdefault-tls
as well. (#24)
hcloud-rust v0.20.0
Update to current state of Hetzner's API description. This release includes a lot of braking changes derived from changes in the API.
Changes in the release:
- BREAKING: Field
change_floating_ip_protection_request
ofChangeFloatingIpProtectionParams
is nowbody: Option<models::Protection>
. - BREAKING: Struct
ChangeReverseDnsEntryForFloatingIpParams
is renamed toChangeReverseDnsRecordsForFloatingIpParams
. - BREAKING: Field
change_reverse_dns_entry_for_floating_ip_request
ofChangeReverseDnsRecordsForFloatingIpParams
is nowbody: Option<models::DnsPtr>
. - BREAKING: Struct
ChangeReverseDnsEntryForFloatingIpError
is renamed toChangeReverseDnsRecordsForFloatingIpError
. - BREAKING: Function
change_reverse_dns_entry_for_floating_ip
is renamed tochange_reverse_dns_records_for_floating_ip
. - BREAKING: Field
id
ofGetLoadBalancerTypeParams
is now of typei64
. - BREAKING: Field
id
ofGetServerTypeParams
is now of typei64
. - BREAKING: Field
meta
ofApplyToResourcesResponse
is removed. - BREAKING: Field
server
ofAssignFloatingIpToServerRequest
is now optional. - BREAKING: Struct
ChangeReverseDnsEntryForFloatingIpResponse
is renamed toChangeReverseDnsRecordsForFloatingIpResponse
. - BREAKING: Field
apply_to
ofCreateFirewallRequest
is now of typeOption<Vec<models::FirewallResource>>
. - BREAKING: Fields
description
andserver
ofCreateFloatingIpRequest
are now optional and nullable. - BREAKING: Field
rules
ofFirewall
is now of typeVec<models::RuleResponse>
. - BREAKING: Field
meta
of list responses is no longer optional. - BREAKING: Field
traffic
ofListPricesResponsePricing
is now of typeOption<serde_json::Value>
(always returningNone
according to API spec). - BREAKING: Field
prices
ofListPricesResponsePricingPrimaryIps
is now of typeVec<models::PricePerTimeWithoutTraffic>
(asPricePerTime
now contains traffic information which is not available for primary IPs). - BREAKING:
MetricsTimeSeriesValue
is now anenum
type. - BREAKING: Struct
PricePerTime
now contains fieldsincluded_traffic
andprice_per_tb_traffic
. - BREAKING: Field
meta
ofRemoveFromResourcesResponse
is removed. - BREAKING: Fields
description
ofReplaceFloatingIpRequest
are now optional and nullable. - BREAKING: Field
port
ofRule
are now optional and nullable. - BREAKING: Field
server_type
ofServer
is now of typeBox<models::ServerType>
. - BREAKING: Field
included_traffic:
ofServerType
is now optional (always returningNone
according to API spec). - BREAKING: Field
meta
ofSetRulesResponse
is removed. - BREAKING: Model types now implement
Display
instead ofToString
. - Update crate dependencies
- Use OpenAPI Generator version 7.7.0 for code generation
- Doc: Substantial docstring updates
hcloud-rust v0.19.0
Update to current state of Hetzner's API description.
Changes in the release:
- BREAKING: Field
r#type
ofEnableRescueModeForServerRequest
no longer supportsLinux32
. - BREAKING: Field
deprecated
ofIso
has been removed. - Doc: Minor docstring updates
hcloud-rust v0.18.0
Update to current state of Hetzner's API description.
Changes in the release:
- BREAKING:
load_balancers_api::update_service
now takes a
UpdateLoadBalancerService
type that does not require all fields. - BREAKING: Several integer types are now
i64
. - BREAKING: Geographical coordinates of
Location
type are now
of typef64
. - BREAKING: Progress of
Action
type is nowi32
. - Use OpenAPI Generator version 7.1.0 for code generation
- Doc: Minor docstring updates
hcloud-rust v0.17.0
Update to current state of Hetzner's API description.
Changes in the release:
- BREAKING: Add
deprecation
field toIso
Note: The old string fielddeprecated
is now considered deprecated. - BREAKING: Field
type
ofIso
is now optional - BREAKING: Field
algorithm
ofCreateLoadBalancerRequest
is now optional - BREAKING: Field
name
ofReplaceVolumeRequest
is now optional - Use OpenAPI Generator version 7.0.1 for code generation
- Doc: Remove note about missing vSwitch connection
- Doc: Specify unit of cookie_lifetime as seconds
- Doc: Clarify that resources are detached during server deletion
- Doc: Minor docstring updates
hcloud-rust v0.16.0
Update to current state of Hetzner's API description.
Changes in the release:
- BREAKING: Switch remaining IDs to i64
From September 1st 2023 on, Hetzner will start using 52 bits for IDs, so 32 bits types are no longer sufficient. Details are described in a deprecation notice on https://docs.hetzner.cloud/ . - BREAKING: Add support for query parameters and meta response (e.g. pagination) to
datacenters
andlocations
APIs. - Use OpenAPI Generator version 7.0.0 for code generation
- Doc: Minor docstring updates
hcloud-rust v0.15.0
Update to current state of Hetzner's API description.
Changes in the release:
- BREAKING: Add
deprecation
field toServerType
Note: The old boolean fielddeprecated
is now considered deprecated. - BREAKING: Add
expose_routes_to_vswitch
toNetwork
andSubnet
- BREAKING: Add
Alma
variant to theOsFlavor
enumeration to indicate AlmaLinux images - Add resource-specific action endpoints (e.g. /certificates/actions)
- Add example for querying the images API
- Doc: Fix the usage of the term "Resource ID" vs "Action ID"
- Doc: Minor docstring updates
hcloud-rust v0.14.0
Update to current state of Hetzner's API description.
Changes in the release:
- BREAKING: Represent nullable values which are not required by double options
(Option<Option<T>>
). - BREAKING: Add
architecture
toServerType
,Image
andIso
- BREAKING: Add
included_traffic
toServerType
- BREAKING: Rename
AddTargetRequestIp
toLoadBalancerTargetIp
- BREAKING: Switch IDs to
i64
On September 1st 2023, Hetzner will start using 52 bits for IDs, so 32 bits are no longer
sufficient. Details are described in a deprecation notice on https://docs.hetzner.cloud/ . - Use OpenAPI Generator version 6.6.0 for code generation
- Update docstrings
hcloud-rust v0.13.0
Update to current state of Hetzner's API description.
Changes in the release:
- BREAKING: Type of
HealthStatus.status
is nowOption<health_status::Status>
instead ofOption<String>
- BREAKING:
_type
struct fields are renamed to ideomaticr#type
- Code generation using OpenAPI Generator 6.2.0
- Minor docstring changes