Skip to content

Releases: HenningHolmDE/hcloud-rust

hcloud-rust v0.21.0

10 Nov 08:06
Compare
Choose a tag to compare

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

hcloud-rust v0.20.1

25 Oct 09:43
Compare
Choose a tag to compare

Changes in the release:

  • Remove default-tls as a default feature on reqwest to allow using features like rustls-tls without forcing default-tls as well. (#24)

hcloud-rust v0.20.0

09 Aug 16:03
Compare
Choose a tag to compare

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 of ChangeFloatingIpProtectionParams is now body: Option<models::Protection>.
  • BREAKING: Struct ChangeReverseDnsEntryForFloatingIpParams is renamed to ChangeReverseDnsRecordsForFloatingIpParams.
  • BREAKING: Field change_reverse_dns_entry_for_floating_ip_request of ChangeReverseDnsRecordsForFloatingIpParams is now body: Option<models::DnsPtr>.
  • BREAKING: Struct ChangeReverseDnsEntryForFloatingIpError is renamed to ChangeReverseDnsRecordsForFloatingIpError.
  • BREAKING: Function change_reverse_dns_entry_for_floating_ip is renamed to change_reverse_dns_records_for_floating_ip.
  • BREAKING: Field id of GetLoadBalancerTypeParams is now of type i64.
  • BREAKING: Field id of GetServerTypeParams is now of type i64.
  • BREAKING: Field meta of ApplyToResourcesResponse is removed.
  • BREAKING: Field server of AssignFloatingIpToServerRequest is now optional.
  • BREAKING: Struct ChangeReverseDnsEntryForFloatingIpResponse is renamed to ChangeReverseDnsRecordsForFloatingIpResponse.
  • BREAKING: Field apply_to of CreateFirewallRequest is now of type Option<Vec<models::FirewallResource>>.
  • BREAKING: Fields description and server of CreateFloatingIpRequest are now optional and nullable.
  • BREAKING: Field rules of Firewall is now of type Vec<models::RuleResponse>.
  • BREAKING: Field meta of list responses is no longer optional.
  • BREAKING: Field traffic of ListPricesResponsePricing is now of type Option<serde_json::Value> (always returning None according to API spec).
  • BREAKING: Field prices of ListPricesResponsePricingPrimaryIps is now of type Vec<models::PricePerTimeWithoutTraffic> (as PricePerTime now contains traffic information which is not available for primary IPs).
  • BREAKING: MetricsTimeSeriesValue is now an enum type.
  • BREAKING: Struct PricePerTime now contains fields included_traffic and price_per_tb_traffic.
  • BREAKING: Field meta of RemoveFromResourcesResponse is removed.
  • BREAKING: Fields description of ReplaceFloatingIpRequest are now optional and nullable.
  • BREAKING: Field port of Rule are now optional and nullable.
  • BREAKING: Field server_type of Server is now of type Box<models::ServerType>.
  • BREAKING: Field included_traffic: of ServerType is now optional (always returning None according to API spec).
  • BREAKING: Field meta of SetRulesResponse is removed.
  • BREAKING: Model types now implement Display instead of ToString.
  • Update crate dependencies
  • Use OpenAPI Generator version 7.7.0 for code generation
  • Doc: Substantial docstring updates

hcloud-rust v0.19.0

01 Feb 17:17
Compare
Choose a tag to compare

Update to current state of Hetzner's API description.

Changes in the release:

  • BREAKING: Field r#type of EnableRescueModeForServerRequest no longer supports Linux32.
  • BREAKING: Field deprecated of Iso has been removed.
  • Doc: Minor docstring updates

hcloud-rust v0.18.0

18 Dec 18:52
Compare
Choose a tag to compare

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 type f64.
  • BREAKING: Progress of Action type is now i32.
  • Use OpenAPI Generator version 7.1.0 for code generation
  • Doc: Minor docstring updates

hcloud-rust v0.17.0

22 Oct 17:33
Compare
Choose a tag to compare

Update to current state of Hetzner's API description.

Changes in the release:

  • BREAKING: Add deprecation field to Iso
    Note: The old string field deprecated is now considered deprecated.
  • BREAKING: Field type of Iso is now optional
  • BREAKING: Field algorithm of CreateLoadBalancerRequest is now optional
  • BREAKING: Field name of ReplaceVolumeRequest 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

25 Aug 08:28
Compare
Choose a tag to compare

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 and locations APIs.
  • Use OpenAPI Generator version 7.0.0 for code generation
  • Doc: Minor docstring updates

hcloud-rust v0.15.0

23 Jul 15:35
Compare
Choose a tag to compare

Update to current state of Hetzner's API description.

Changes in the release:

  • BREAKING: Add deprecation field to ServerType
    Note: The old boolean field deprecated is now considered deprecated.
  • BREAKING: Add expose_routes_to_vswitch to Network and Subnet
  • BREAKING: Add Alma variant to the OsFlavor 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

20 May 09:17
Compare
Choose a tag to compare

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 to ServerType, Image and Iso
  • BREAKING: Add included_traffic to ServerType
  • BREAKING: Rename AddTargetRequestIp to LoadBalancerTargetIp
  • 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

22 Oct 10:04
Compare
Choose a tag to compare

Update to current state of Hetzner's API description.

Changes in the release:

  • BREAKING: Type of HealthStatus.status is now Option<health_status::Status> instead of Option<String>
  • BREAKING: _type struct fields are renamed to ideomatic r#type
  • Code generation using OpenAPI Generator 6.2.0
  • Minor docstring changes