Skip to content

hcloud-rust v0.21.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 10 Nov 08:06

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 from ListPricesResponsePricing.
  • BREAKING: Removed field included_traffic from ServerType.
  • BREAKING: Replaced ChangePrimaryIpProtectionRequest by Protection.
  • BREAKING: Replaced AddTargetRequestServer by ResourceId.
  • BREAKING: Enum ChangeReverseDnsEntryForPrimaryIpError renamed to ChangeReverseDnsRecordsForPrimaryIpError.
  • BREAKING: Struct AddTargetRequest renamed to LoadBalancerAddTarget.
  • BREAKING: Struct ChangeReverseDnsEntryForPrimaryIpParams renamed to ChangeReverseDnsRecordsForPrimaryIpParams.
  • BREAKING: Struct ChangeReverseDnsEntryForPrimaryIpResponse renamed to ChangeReverseDnsRecordsForPrimaryIpResponses.
  • BREAKING: Struct HealthStatus renamed to LoadBalancerTargetHealthStatus.
  • BREAKING: Struct SelectedTarget renamed to LoadBalancerSelectedTarget.
  • BREAKING: Struct Target renamed to LoadBalancerTarget.
  • BREAKING: Field add_target_request of AddTargetParams changed to body: Option<models::LoadBalancerAddTarget>.
  • BREAKING: Field change_primary_ip_protection_request of ChangePrimaryIpProtectionParams changed to body: Option<models::Protection>.
  • BREAKING: Field change_reverse_dns_entry_for_primary_ip_request of ChangeReverseDnsRecordsForPrimaryIpParams changed to body: Option<models::DnsPtr>.
  • Examples: Replace deprecated server type
  • Doc: Several docstring updates