23technologies / gardener-extension-provider-hcloud

Gardener Extension for Hetzner Cloud provider
Other
14 stars 2 forks source link

Update module github.com/hetznercloud/hcloud-go/v2 to v2.13.1 #102

Closed 23t-machine-user closed 2 months ago

23t-machine-user commented 7 months ago

This PR contains the following updates:

Package Type Update Change
github.com/hetznercloud/hcloud-go/v2 require minor v2.7.0 -> v2.13.1

Release Notes

hetznercloud/hcloud-go (github.com/hetznercloud/hcloud-go/v2) ### [`v2.13.1`](https://redirect.github.com/hetznercloud/hcloud-go/releases/tag/v2.13.1) [Compare Source](https://redirect.github.com/hetznercloud/hcloud-go/compare/v2.13.0...v2.13.1) ##### Bug Fixes - `invalid_input` API errors may not return details ([#​507](https://redirect.github.com/hetznercloud/hcloud-go/issues/507)) ([ca78af2](https://redirect.github.com/hetznercloud/hcloud-go/commit/ca78af2af8acd375460c0f9705ea9d62d5ee1cc4)) ### [`v2.13.0`](https://redirect.github.com/hetznercloud/hcloud-go/releases/tag/v2.13.0) [Compare Source](https://redirect.github.com/hetznercloud/hcloud-go/compare/v2.12.0...v2.13.0) ##### Features - **network:** add new network zone ap-southeast ([#​501](https://redirect.github.com/hetznercloud/hcloud-go/issues/501)) ([a79a06b](https://redirect.github.com/hetznercloud/hcloud-go/commit/a79a06b0dda182e968a7a6e5cef9a4181414f29e)) ##### Bug Fixes - update `NetworkSubnetType` constants ([#​499](https://redirect.github.com/hetznercloud/hcloud-go/issues/499)) ([ce497fe](https://redirect.github.com/hetznercloud/hcloud-go/commit/ce497fe89ccd9cccd8dc84ccd854427484fdd031)) ### [`v2.12.0`](https://redirect.github.com/hetznercloud/hcloud-go/releases/tag/v2.12.0) [Compare Source](https://redirect.github.com/hetznercloud/hcloud-go/compare/v2.11.0...v2.12.0) ##### API Changes for Traffic Prices and Server Type Included Traffic There will be a breaking change in the API regarding Traffic Prices and Server Type Included Traffic on 2024-08-05. This release marks the affected fields as `Deprecated`. Please check if this affects any of your code and switch to the replacement fields where necessary. You can learn more about this change in [our changelog](https://docs.hetzner.cloud/changelog#2024-07-25-cloud-api-returns-traffic-information-in-different-format). ##### Upgrading ##### Server Type Included Traffic If you were using the field `hcloud.ServerType.IncludedTraffic`, you can now get the information through `hcloud.ServerType.Pricings`: ```go func main() { // previous includedTraffic := serverType.IncludedTraffic // now locationOfInterest := "fsn1" var includedTraffic uint64 for _, price := range serverType.Pricings { if price.Location.Name == locationOfInterest { includedTraffic = price.IncludedTraffic break } } } ``` ##### Traffic Prices If you were using the field `hcloud.Pricing.Traffic`, you can now get the information through `hcloud.Pricing.ServerTypes` or `hcloud.Pricing.LoadBalancerTypes`: ```go func main() { // previous trafficPrice := pricing.Traffic // now serverTypeOfInterest := "cx22" locationOfInterest := "fsn1" var trafficPrice hcloud.Price for _, serverTypePricings := range pricing.ServerTypes { if serverTypePricings.ServerType.Name == serverTypeOfInterest { for _, price := range serverTypePricings { if price.Location.Name == locationOfInterest { trafficPrice = price.PerTBTraffic break } } } } } ``` ##### Features - add jitter in the client default retry exponential backoff ([#​492](https://redirect.github.com/hetznercloud/hcloud-go/issues/492)) ([6205076](https://redirect.github.com/hetznercloud/hcloud-go/commit/6205076b89350bdbf08bc6b771a1d1267a3ac422)) - add new `WithPollOpts` client option ([#​493](https://redirect.github.com/hetznercloud/hcloud-go/issues/493)) ([2c1a2d6](https://redirect.github.com/hetznercloud/hcloud-go/commit/2c1a2d65596bcbe282ff004c1a9da89950e754df)) - allow checking multiple errors codes in `IsError` ([#​491](https://redirect.github.com/hetznercloud/hcloud-go/issues/491)) ([af59ab8](https://redirect.github.com/hetznercloud/hcloud-go/commit/af59ab846665abd735c9717eb2a47c0a8c79776d)) - **load-balancer-type:** new traffic price fields ([94e0f44](https://redirect.github.com/hetznercloud/hcloud-go/commit/94e0f44d269fdb5138485a6e69dae9105690e4b0)) - **pricing:** mark traffic field as deprecated ([94e0f44](https://redirect.github.com/hetznercloud/hcloud-go/commit/94e0f44d269fdb5138485a6e69dae9105690e4b0)) - **server-type:** mark included traffic field as deprecated ([94e0f44](https://redirect.github.com/hetznercloud/hcloud-go/commit/94e0f44d269fdb5138485a6e69dae9105690e4b0)) - **server-type:** new traffic price fields ([94e0f44](https://redirect.github.com/hetznercloud/hcloud-go/commit/94e0f44d269fdb5138485a6e69dae9105690e4b0)) ### [`v2.11.0`](https://redirect.github.com/hetznercloud/hcloud-go/releases/tag/v2.11.0) [Compare Source](https://redirect.github.com/hetznercloud/hcloud-go/compare/v2.10.2...v2.11.0) ##### Features - add truncated exponential backoff with full jitter ([#​459](https://redirect.github.com/hetznercloud/hcloud-go/issues/459)) ([fd1f46c](https://redirect.github.com/hetznercloud/hcloud-go/commit/fd1f46cc35e61dde1e524399eef88c38a757636e)) - allow configuring retry options ([#​488](https://redirect.github.com/hetznercloud/hcloud-go/issues/488)) ([2db9575](https://redirect.github.com/hetznercloud/hcloud-go/commit/2db95753e2c826aeafa3bd9b864e95efd89ace7f)) - **exp:** add sliceutil package ([#​489](https://redirect.github.com/hetznercloud/hcloud-go/issues/489)) ([f4ad6bc](https://redirect.github.com/hetznercloud/hcloud-go/commit/f4ad6bc93ff5017dda1b71a1606b67a79b56eb57)) - **exp:** rename `*utils` package to `*util` ([#​487](https://redirect.github.com/hetznercloud/hcloud-go/issues/487)) ([19da475](https://redirect.github.com/hetznercloud/hcloud-go/commit/19da4759f4cbee7ed94ed6996350b45650f8b0b9)) - respect cancelled contexts during retry sleep ([#​470](https://redirect.github.com/hetznercloud/hcloud-go/issues/470)) ([756f605](https://redirect.github.com/hetznercloud/hcloud-go/commit/756f605c97ac570adec531a479fc61c1ed27ab72)) - retry requests when the api gateway errors ([#​470](https://redirect.github.com/hetznercloud/hcloud-go/issues/470)) ([756f605](https://redirect.github.com/hetznercloud/hcloud-go/commit/756f605c97ac570adec531a479fc61c1ed27ab72)) - retry requests when the network timed out ([#​470](https://redirect.github.com/hetznercloud/hcloud-go/issues/470)) ([756f605](https://redirect.github.com/hetznercloud/hcloud-go/commit/756f605c97ac570adec531a479fc61c1ed27ab72)) - retry requests when the rate limit was reached ([#​470](https://redirect.github.com/hetznercloud/hcloud-go/issues/470)) ([756f605](https://redirect.github.com/hetznercloud/hcloud-go/commit/756f605c97ac570adec531a479fc61c1ed27ab72)) ##### Bug Fixes - **exp:** set capacity for each batch ([#​490](https://redirect.github.com/hetznercloud/hcloud-go/issues/490)) ([57f53c1](https://redirect.github.com/hetznercloud/hcloud-go/commit/57f53c1dca54ee79a33bab35740e7de7ece3b75f)) ### [`v2.10.2`](https://redirect.github.com/hetznercloud/hcloud-go/releases/tag/v2.10.2) [Compare Source](https://redirect.github.com/hetznercloud/hcloud-go/compare/v2.10.1...v2.10.2) ##### Bug Fixes - **exp:** allow request path matching in the want function ([#​475](https://redirect.github.com/hetznercloud/hcloud-go/issues/475)) ([267879b](https://redirect.github.com/hetznercloud/hcloud-go/commit/267879b78989ae870d581e9c929105ff76c60fb0)) ### [`v2.10.1`](https://redirect.github.com/hetznercloud/hcloud-go/releases/tag/v2.10.1) [Compare Source](https://redirect.github.com/hetznercloud/hcloud-go/compare/v2.10.0...v2.10.1) ##### Bug Fixes - **exp:** configure response headers before sending them ([#​473](https://redirect.github.com/hetznercloud/hcloud-go/issues/473)) ([07d4a35](https://redirect.github.com/hetznercloud/hcloud-go/commit/07d4a356dec0e2f44a6f3eec1ea3affec8932c22)) ### [`v2.10.0`](https://redirect.github.com/hetznercloud/hcloud-go/releases/tag/v2.10.0) [Compare Source](https://redirect.github.com/hetznercloud/hcloud-go/compare/v2.9.0...v2.10.0) ##### Features - **exp:** add envutils package ([#​466](https://redirect.github.com/hetznercloud/hcloud-go/issues/466)) ([a7636bd](https://redirect.github.com/hetznercloud/hcloud-go/commit/a7636bdcf5e4d55860f40da684c64cb72f8ddc03)) - **exp:** add labelutils with selector ([#​465](https://redirect.github.com/hetznercloud/hcloud-go/issues/465)) ([1a55a7e](https://redirect.github.com/hetznercloud/hcloud-go/commit/1a55a7ed65bffdbf73000ffcf1ef22c9e55650f8)) - **exp:** add mock utils package ([#​460](https://redirect.github.com/hetznercloud/hcloud-go/issues/460)) ([92f7c62](https://redirect.github.com/hetznercloud/hcloud-go/commit/92f7c624edfc76e06abe8c9c60e9c78d4b28f12f)) - **exp:** rename `AppendNextActions` to `AppendNext` ([#​452](https://redirect.github.com/hetznercloud/hcloud-go/issues/452)) ([9b6239a](https://redirect.github.com/hetznercloud/hcloud-go/commit/9b6239ad188e601f22bc28e0072603c07fea201c)) - filter out nil actions in action waiter ([#​464](https://redirect.github.com/hetznercloud/hcloud-go/issues/464)) ([4fc9a40](https://redirect.github.com/hetznercloud/hcloud-go/commit/4fc9a4039d45071124a435121642ca396a8237c0)) ##### Bug Fixes - nil check against the embedded `http.Response` ([#​469](https://redirect.github.com/hetznercloud/hcloud-go/issues/469)) ([46e489a](https://redirect.github.com/hetznercloud/hcloud-go/commit/46e489a1782e8477d1c5a234dc203fa356c2a583)) ### [`v2.9.0`](https://redirect.github.com/hetznercloud/hcloud-go/releases/tag/v2.9.0) [Compare Source](https://redirect.github.com/hetznercloud/hcloud-go/compare/v2.8.0...v2.9.0) ##### Features - **exp:** add `AppendNextActions` function ([#​440](https://redirect.github.com/hetznercloud/hcloud-go/issues/440)) ([b07d7ad](https://redirect.github.com/hetznercloud/hcloud-go/commit/b07d7adf0bb08dd372f1f6ff630d16af8cb1265c)) - **exp:** add ssh key functions ([#​441](https://redirect.github.com/hetznercloud/hcloud-go/issues/441)) ([d766e96](https://redirect.github.com/hetznercloud/hcloud-go/commit/d766e96e2220b069a0a8067a3249afe48cf68b2e)) ##### Bug Fixes - **exp:** rename to `sshutils` package name ([#​450](https://redirect.github.com/hetznercloud/hcloud-go/issues/450)) ([6d4100d](https://redirect.github.com/hetznercloud/hcloud-go/commit/6d4100dbceb9a43a66bad3ce91cee039198130c3)) ### [`v2.8.0`](https://redirect.github.com/hetznercloud/hcloud-go/releases/tag/v2.8.0) [Compare Source](https://redirect.github.com/hetznercloud/hcloud-go/compare/v2.7.2...v2.8.0) ##### Features - **error:** show internal correlation id in error messages ([#​411](https://redirect.github.com/hetznercloud/hcloud-go/issues/411)) ([6c96d19](https://redirect.github.com/hetznercloud/hcloud-go/commit/6c96d19dacde736b52abd7b8fc8879c8f721f23b)) - implement actions waiter ([#​407](https://redirect.github.com/hetznercloud/hcloud-go/issues/407)) ([1e3fa70](https://redirect.github.com/hetznercloud/hcloud-go/commit/1e3fa7033d8a1cea1c0a9007a6255798979f0771)) - require Go >= 1.21 ([#​424](https://redirect.github.com/hetznercloud/hcloud-go/issues/424)) ([d4f4000](https://redirect.github.com/hetznercloud/hcloud-go/commit/d4f40009016c3ed5bb14ef9ae16bcf6aefa90fee)) ##### Bug Fixes - improve error message format with correlation id ([#​430](https://redirect.github.com/hetznercloud/hcloud-go/issues/430)) ([013477f](https://redirect.github.com/hetznercloud/hcloud-go/commit/013477f4227bdc69f376d8f13a875b09c32171f6)) ### [`v2.7.2`](https://redirect.github.com/hetznercloud/hcloud-go/releases/tag/v2.7.2) [Compare Source](https://redirect.github.com/hetznercloud/hcloud-go/compare/v2.7.1...v2.7.2) ##### Bug Fixes - creating firewall with rules not working correctly ([#​412](https://redirect.github.com/hetznercloud/hcloud-go/issues/412)) ([43b2bab](https://redirect.github.com/hetznercloud/hcloud-go/commit/43b2bab8c82cab276c07e9deb9f4e422e10ccc82)) ### [`v2.7.1`](https://redirect.github.com/hetznercloud/hcloud-go/releases/tag/v2.7.1) [Compare Source](https://redirect.github.com/hetznercloud/hcloud-go/compare/v2.7.0...v2.7.1) ##### Bug Fixes - setting firewall rules not working correctly ([#​405](https://redirect.github.com/hetznercloud/hcloud-go/issues/405)) ([16daea0](https://redirect.github.com/hetznercloud/hcloud-go/commit/16daea0dfb32a5e2b8a71fce88d1c897cd4134eb))

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



This PR has been generated by Renovate Bot.

23t-machine-user commented 5 months ago

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

Details:

Package Change
github.com/prometheus/client_golang v1.19.0 -> v1.19.1