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

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.0 → v2.53.0 age confidence

Release Notes

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

v2.53.0

Compare Source

Compare to previous version

Features
Bug Fixes
  • exp: improve invalid json syntax err in mockutil (#​941) (c5fa307)
  • bump minimal go version to 1.26.10 to mitigate CVE-2026-111943 (#​950) (52131c8)

v2.52.0

Compare Source

Compare to previous version

Load Balancers can now be created with existing Primary IPs

Primary IPs, which were previously available exclusively for Servers, are now also available for Load Balancers. When creating a Load Balancer, you can assign an existing Primary IP instead of having an IP address allocated automatically. Currently, you cannot change the Primary IP once the Load Balancer has been created.

To support this change, we added the new public_net property to the request body of the endpoint POST /load_balancers, with the following child properties:

  • public_net.ipv4: ID of an IPv4 Primary IP to assign to the Load Balancer.
  • public_net.ipv6: ID of an IPv6 Primary IP to assign to the Load Balancer.

If you omit a property, a new Primary IP of that version is allocated for the Load Balancer, as before.

A Primary IP can currently only be assigned when the Load Balancer is created. It stays assigned for the entire lifetime of the Load Balancer.

Related to https://docs.hetzner.cloud/changelog#2026-10-05-load-balancers-can-use-existing-primary-ips.

Deleting a Load Balancer now returns an Action

[!IMPORTANT]
Please update all code that accesses LoadBalancerClient.Delete to use LoadBalancerClient.DeleteWithResult method instead.

As part of our work on supporting existing Primary IPs for Load Balancers, deleting a Load Balancer is now tracked with an Action.

The endpoint DELETE /load_balancers/{id} now returns a 201 status code with an Action in the response body, instead of a 204 status code with an empty response body.

You can use the returned Action to track the progress of the deletion.

Related to https://docs.hetzner.cloud/changelog#2026-10-05-delete-load-balancer-returns-action.

Features

v2.51.0

Compare Source

Compare to previous version

Features

v2.50.0

Compare Source

Compare to previous version

Features
  • load-balancer: add health check diagnostic details (#​928) (8470cf0)

v2.49.0

Compare Source

Compare to previous version

Features

v2.48.0

Compare Source

Compare to previous version

Features

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.53.0` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fhetznercloud%2fhcloud-go%2fv2/v2.53.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fhetznercloud%2fhcloud-go%2fv2/v2.44.0/v2.53.0?slim=true) | --- ### Release Notes <details> <summary>hetznercloud/hcloud-go (github.com/hetznercloud/hcloud-go/v2)</summary> ### [`v2.53.0`](https://github.com/hetznercloud/hcloud-go/blob/HEAD/CHANGELOG.md#v2530) [Compare Source](https://github.com/hetznercloud/hcloud-go/compare/v2.52.0...v2.53.0) [Compare to previous version](https://github.com/hetznercloud/hcloud-go/compare/v2.52.0...v2.53.0) ##### Features - support for go1.27 and drop go1.25 ([#&#8203;935](https://github.com/hetznercloud/hcloud-go/issues/935)) ([8e49e87](https://github.com/hetznercloud/hcloud-go/commit/8e49e8751a0925f5bb54ad45961493cd4ad808fb)) ##### Bug Fixes - **exp**: improve invalid json syntax err in mockutil ([#&#8203;941](https://github.com/hetznercloud/hcloud-go/issues/941)) ([c5fa307](https://github.com/hetznercloud/hcloud-go/commit/c5fa30783c58fd56e2984e145754489b34062470)) - bump minimal go version to 1.26.10 to mitigate CVE-2026-111943 ([#&#8203;950](https://github.com/hetznercloud/hcloud-go/issues/950)) ([52131c8](https://github.com/hetznercloud/hcloud-go/commit/52131c87f301053eef0b94513fb5bc61fdcd1fe1)) ### [`v2.52.0`](https://github.com/hetznercloud/hcloud-go/blob/HEAD/CHANGELOG.md#v2520) [Compare Source](https://github.com/hetznercloud/hcloud-go/compare/v2.51.0...v2.52.0) [Compare to previous version](https://github.com/hetznercloud/hcloud-go/compare/v2.51.0...v2.52.0) ##### Load Balancers can now be created with existing Primary IPs Primary IPs, which were previously available exclusively for Servers, are now also available for Load Balancers. When creating a Load Balancer, you can assign an [existing Primary IP](https://docs.hetzner.cloud/reference/cloud#tag/primary-ips/list_primary_ips) instead of having an IP address allocated automatically. Currently, you cannot change the Primary IP once the Load Balancer has been created. To support this change, we added the new `public_net` property to the request body of the endpoint [POST /load_balancers](https://docs.hetzner.cloud/reference/cloud#tag/load-balancers/create_load_balancer), with the following child properties: - `public_net.ipv4`: ID of an IPv4 Primary IP to assign to the Load Balancer. - `public_net.ipv6`: ID of an IPv6 Primary IP to assign to the Load Balancer. If you omit a property, a new Primary IP of that version is allocated for the Load Balancer, as before. A Primary IP can currently only be assigned when the Load Balancer is created. It stays assigned for the entire lifetime of the Load Balancer. Related to <https://docs.hetzner.cloud/changelog#2026-10-05-load-balancers-can-use-existing-primary-ips>. ##### Deleting a Load Balancer now returns an Action > \[!IMPORTANT] > Please update all code that accesses [`LoadBalancerClient.Delete`](https://pkg.go.dev/github.com/hetznercloud/hcloud-go/v2@v2.51.0/hcloud#LoadBalancerClient.Delete) to use [`LoadBalancerClient.DeleteWithResult`](https://pkg.go.dev/github.com/hetznercloud/hcloud-go/v2@v2.52.0/hcloud#LoadBalancerClient.DeleteWithResult) method instead. As part of our work on supporting [existing Primary IPs for Load Balancers](https://docs.hetzner.cloud/changelog#2026-10-05-load-balancers-can-use-existing-primary-ips), deleting a Load Balancer is now tracked with an Action. The endpoint [DELETE /load_balancers/{id}](https://docs.hetzner.cloud/reference/cloud#tag/load-balancers/delete_load_balancer) now returns a 201 status code with an Action in the response body, instead of a 204 status code with an empty response body. You can use the returned Action to track the progress of the deletion. Related to <https://docs.hetzner.cloud/changelog#2026-10-05-delete-load-balancer-returns-action>. ##### Features - allow creating load balancers with primary ips ([#&#8203;932](https://github.com/hetznercloud/hcloud-go/issues/932)) ([b092899](https://github.com/hetznercloud/hcloud-go/commit/b092899312800809f5afdb4a670314eeaaacc51c)) - delete load balancer now returns an action ([#&#8203;932](https://github.com/hetznercloud/hcloud-go/issues/932)) ([b092899](https://github.com/hetznercloud/hcloud-go/commit/b092899312800809f5afdb4a670314eeaaacc51c)) ### [`v2.51.0`](https://github.com/hetznercloud/hcloud-go/blob/HEAD/CHANGELOG.md#v2510) [Compare Source](https://github.com/hetznercloud/hcloud-go/compare/v2.50.0...v2.51.0) [Compare to previous version](https://github.com/hetznercloud/hcloud-go/compare/v2.50.0...v2.51.0) ##### Features - deprecate "token_readonly" error code ([#&#8203;930](https://github.com/hetznercloud/hcloud-go/issues/930)) ([010d5c5](https://github.com/hetznercloud/hcloud-go/commit/010d5c508e494901dc6b79d98ccb23086586d995)) ### [`v2.50.0`](https://github.com/hetznercloud/hcloud-go/blob/HEAD/CHANGELOG.md#v2500) [Compare Source](https://github.com/hetznercloud/hcloud-go/compare/v2.49.0...v2.50.0) [Compare to previous version](https://github.com/hetznercloud/hcloud-go/compare/v2.49.0...v2.50.0) ##### Features - **load-balancer**: add health check diagnostic details ([#&#8203;928](https://github.com/hetznercloud/hcloud-go/issues/928)) ([8470cf0](https://github.com/hetznercloud/hcloud-go/commit/8470cf0fea40e107d58f3cd7105c7c1d39c775cd)) ### [`v2.49.0`](https://github.com/hetznercloud/hcloud-go/blob/HEAD/CHANGELOG.md#v2490) [Compare Source](https://github.com/hetznercloud/hcloud-go/compare/v2.48.0...v2.49.0) [Compare to previous version](https://github.com/hetznercloud/hcloud-go/compare/v2.48.0...v2.49.0) ##### Features - list network members ([#&#8203;923](https://github.com/hetznercloud/hcloud-go/issues/923)) ([bfb335a](https://github.com/hetznercloud/hcloud-go/commit/bfb335ab1dac2dd1d3e618499ea28881cf2f8218)) ### [`v2.48.0`](https://github.com/hetznercloud/hcloud-go/blob/HEAD/CHANGELOG.md#v2480) [Compare Source](https://github.com/hetznercloud/hcloud-go/compare/v2.47.0...v2.48.0) [Compare to previous version](https://github.com/hetznercloud/hcloud-go/compare/v2.47.0...v2.48.0) ##### Features - add deprecation info to image ([#&#8203;919](https://github.com/hetznercloud/hcloud-go/issues/919)) ([575d0a3](https://github.com/hetznercloud/hcloud-go/commit/575d0a3d50947be24c9c42598c09fa73d42e0bc7)) ### [`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:eyJjcmVhdGVkSW5WZXIiOiI0NC41MC4yIiwidXBkYXRlZEluVmVyIjoiNDQuMTY3LjUiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->
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):

  • 10 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.25.0 -> 1.26.10
github.com/klauspost/compress v1.18.0 -> v1.20.1
github.com/prometheus/client_golang v1.23.2 -> v1.25.0
github.com/prometheus/client_model v0.6.2 -> v0.6.3
github.com/prometheus/common v0.66.1 -> v0.72.0
github.com/prometheus/procfs v0.16.1 -> v0.22.0
go.yaml.in/yaml/v2 v2.4.2 -> v2.4.4
golang.org/x/net v0.55.0 -> v0.61.0
golang.org/x/sys v0.45.0 -> v0.49.0
golang.org/x/text v0.37.0 -> v0.43.0
google.golang.org/protobuf v1.36.8 -> v1.36.12
### ℹ️ 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): - 10 additional dependencies were updated - The `go` directive was updated for compatibility reasons Details: | **Package** | **Change** | | :------------------------------------ | :---------------------- | | `go` | `1.25.0` -> `1.26.10` | | `github.com/klauspost/compress` | `v1.18.0` -> `v1.20.1` | | `github.com/prometheus/client_golang` | `v1.23.2` -> `v1.25.0` | | `github.com/prometheus/client_model` | `v0.6.2` -> `v0.6.3` | | `github.com/prometheus/common` | `v0.66.1` -> `v0.72.0` | | `github.com/prometheus/procfs` | `v0.16.1` -> `v0.22.0` | | `go.yaml.in/yaml/v2` | `v2.4.2` -> `v2.4.4` | | `golang.org/x/net` | `v0.55.0` -> `v0.61.0` | | `golang.org/x/sys` | `v0.45.0` -> `v0.49.0` | | `golang.org/x/text` | `v0.37.0` -> `v0.43.0` | | `google.golang.org/protobuf` | `v1.36.8` -> `v1.36.12` |
botaniker force-pushed renovate/github.com-hetznercloud-hcloud-go-v2-2.x from 924a6fe207 to e6ca7d0220 2026-10-23 06:03:03 +00:00 Compare
botaniker changed title from fix(deps): update module github.com/hetznercloud/hcloud-go/v2 to v2.52.0 to fix(deps): update module github.com/hetznercloud/hcloud-go/v2 to v2.53.0 2026-10-23 06:03:05 +00:00
This pull request can be merged automatically.
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!50
No description provided.