fix(deps): update module github.com/hetznercloud/hcloud-go/v2 to v2.47.0 #5

Open
botaniker wants to merge 1 commit from renovate/github.com-hetznercloud-hcloud-go-v2-2.x into main
Collaborator

This PR contains the following updates:

Package Change Age Confidence
github.com/hetznercloud/hcloud-go/v2 v2.44.0v2.47.0 age confidence

Release Notes

hetznercloud/hcloud-go (github.com/hetznercloud/hcloud-go/v2)

v2.47.0

Compare Source

Compare to previous version

Features

v2.46.0

Compare Source

Compare to previous version

Features

v2.45.0

Compare Source

Compare to previous version

Removed deprecated Datacenter property from Server and PrimaryIP

Removed the deprecated Datacenter property from the Server and PrimaryIP resources. Since the property was already removed from the Hetzner Cloud API, we do not consider this a breaking change (see changelog entry).

[!IMPORTANT]
Action required: Please update all code that accesses Server.Datacenter or PrimaryIP.Datacenter to use the Location property instead, as shown below.

Before:

server, _, _ := client.Server.GetByID(ctx, 42)
fmt.Println(server.Datacenter.Location.Name)

primaryIP, _, _ := client.PrimaryIP.GetByID(ctx, 7)
fmt.Println(primaryIP.Datacenter.Location.Name)

After:

server, _, _ := client.Server.GetByID(ctx, 42)
fmt.Println(server.Location.Name)

primaryIP, _, _ := client.PrimaryIP.GetByID(ctx, 7)
fmt.Println(primaryIP.Location.Name)
Features
  • action: add missing ActionResourceType constants (#​862) (77a6fae)
  • remove datacenter property from server and primary_ip (#​890) (298cccc)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot. The local configuration can be found in the SI Renovate Bot repository.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [github.com/hetznercloud/hcloud-go/v2](https://github.com/hetznercloud/hcloud-go) | `v2.44.0` → `v2.47.0` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fhetznercloud%2fhcloud-go%2fv2/v2.47.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fhetznercloud%2fhcloud-go%2fv2/v2.44.0/v2.47.0?slim=true) | --- ### Release Notes <details> <summary>hetznercloud/hcloud-go (github.com/hetznercloud/hcloud-go/v2)</summary> ### [`v2.47.0`](https://github.com/hetznercloud/hcloud-go/blob/HEAD/CHANGELOG.md#v2470) [Compare Source](https://github.com/hetznercloud/hcloud-go/compare/v2.46.0...v2.47.0) [Compare to previous version](https://github.com/hetznercloud/hcloud-go/compare/v2.46.0...v2.47.0) ##### Features - **exp**: add LoadBalancerTypeMessage to deprecationutil ([#&#8203;899](https://github.com/hetznercloud/hcloud-go/issues/899)) ([f5928f8](https://github.com/hetznercloud/hcloud-go/commit/f5928f8db9736b735c06bd9375c76e59cbdbd86a)) - **metadata**: add user agent header ([#&#8203;866](https://github.com/hetznercloud/hcloud-go/issues/866)) ([b8a6787](https://github.com/hetznercloud/hcloud-go/commit/b8a6787a9d41c69b280542c3d43dbf0d62090d1e)) ### [`v2.46.0`](https://github.com/hetznercloud/hcloud-go/blob/HEAD/CHANGELOG.md#v2460) [Compare Source](https://github.com/hetznercloud/hcloud-go/compare/v2.45.0...v2.46.0) [Compare to previous version](https://github.com/hetznercloud/hcloud-go/compare/v2.45.0...v2.46.0) ##### Features - add deprecation info to load balancer type ([#&#8203;896](https://github.com/hetznercloud/hcloud-go/issues/896)) ([0bb30b2](https://github.com/hetznercloud/hcloud-go/commit/0bb30b2d7536e047da670b4b75f16c6a6c394a78)) ### [`v2.45.0`](https://github.com/hetznercloud/hcloud-go/blob/HEAD/CHANGELOG.md#v2450) [Compare Source](https://github.com/hetznercloud/hcloud-go/compare/v2.44.0...v2.45.0) [Compare to previous version](https://github.com/hetznercloud/hcloud-go/compare/v2.44.0...v2.45.0) ##### Removed deprecated Datacenter property from Server and PrimaryIP Removed the deprecated Datacenter property from the Server and PrimaryIP resources. Since the property was already removed from the Hetzner Cloud API, we do not consider this a breaking change (see [changelog entry](https://docs.hetzner.cloud/changelog#2026-07-01-removing-datacenters)). > \[!IMPORTANT] > **Action required:** Please update all code that accesses `Server.Datacenter` or `PrimaryIP.Datacenter` to use the `Location` property instead, as shown below. **Before:** ```go server, _, _ := client.Server.GetByID(ctx, 42) fmt.Println(server.Datacenter.Location.Name) primaryIP, _, _ := client.PrimaryIP.GetByID(ctx, 7) fmt.Println(primaryIP.Datacenter.Location.Name) ``` **After:** ```go server, _, _ := client.Server.GetByID(ctx, 42) fmt.Println(server.Location.Name) primaryIP, _, _ := client.PrimaryIP.GetByID(ctx, 7) fmt.Println(primaryIP.Location.Name) ``` ##### Features - **action**: add missing ActionResourceType constants ([#&#8203;862](https://github.com/hetznercloud/hcloud-go/issues/862)) ([77a6fae](https://github.com/hetznercloud/hcloud-go/commit/77a6faebba23c605f04ef4ab0b026402b9132ed1)) - remove datacenter property from server and primary\_ip ([#&#8203;890](https://github.com/hetznercloud/hcloud-go/issues/890)) ([298cccc](https://github.com/hetznercloud/hcloud-go/commit/298cccc5077eb6f93bd0706427aaf37911efb7e6)) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). The local configuration can be found in the [SI Renovate Bot repository](https://git.shivering-isles.com/shivering-isles/infrastructure-gitops/src/branch/main/apps/k8s01/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yODguMCIsInVwZGF0ZWRJblZlciI6IjQzLjI4OC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Author
Collaborator

ℹ️ 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):

  • 3 additional dependencies were updated

Details:

Package Change
golang.org/x/net v0.55.0 -> v0.57.0
golang.org/x/sys v0.45.0 -> v0.47.0
golang.org/x/text v0.37.0 -> v0.40.0
### ℹ️ 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): - 3 additional dependencies were updated Details: | **Package** | **Change** | | :------------------ | :--------------------- | | `golang.org/x/net` | `v0.55.0` -> `v0.57.0` | | `golang.org/x/sys` | `v0.45.0` -> `v0.47.0` | | `golang.org/x/text` | `v0.37.0` -> `v0.40.0` |
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/github.com-hetznercloud-hcloud-go-v2-2.x:renovate/github.com-hetznercloud-hcloud-go-v2-2.x
git switch renovate/github.com-hetznercloud-hcloud-go-v2-2.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff renovate/github.com-hetznercloud-hcloud-go-v2-2.x
git switch renovate/github.com-hetznercloud-hcloud-go-v2-2.x
git rebase main
git switch main
git merge --ff-only renovate/github.com-hetznercloud-hcloud-go-v2-2.x
git switch renovate/github.com-hetznercloud-hcloud-go-v2-2.x
git rebase main
git switch main
git merge --no-ff renovate/github.com-hetznercloud-hcloud-go-v2-2.x
git switch main
git merge --squash renovate/github.com-hetznercloud-hcloud-go-v2-2.x
git switch main
git merge --ff-only renovate/github.com-hetznercloud-hcloud-go-v2-2.x
git switch main
git merge renovate/github.com-hetznercloud-hcloud-go-v2-2.x
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
sheogorath/hcloud-dynfw!5
No description provided.