Skip to content

build(deps): bump github.com/hetznercloud/hcloud-go/v2 from 2.50.0 to 2.52.0 - #1186

Merged
cdalar merged 1 commit into
mainfrom
dependabot/go_modules/github.com/hetznercloud/hcloud-go/v2-2.52.0
Oct 21, 2026
Merged

cdalar merged 1 commit into
mainfrom
dependabot/go_modules/github.com/hetznercloud/hcloud-go/v2-2.52.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Bumps github.com/hetznercloud/hcloud-go/v2 from 2.50.0 to 2.52.0.

Release notes

Sourced from github.com/hetznercloud/hcloud-go/v2's releases.

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 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

  • allow creating load balancers with primary ips (#932) (b092899)
  • delete load balancer now returns an action (#932) (b092899)

v2.51.0

Features

  • deprecate "token_readonly" error code (#930) (010d5c5)
Changelog

Sourced from github.com/hetznercloud/hcloud-go/v2's changelog.

v2.52.0

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

  • allow creating load balancers with primary ips (#932) (b092899)
  • delete load balancer now returns an action (#932) (b092899)

v2.51.0

Compare to previous version

Features

  • deprecate "token_readonly" error code (#930) (010d5c5)
Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Oct 9, 2026
@cdalar
cdalar enabled auto-merge (squash) October 9, 2026 07:53
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedgolang/​github.com/​hetznercloud/​hcloud-go/​v2@​v2.50.0 ⏵ v2.52.072 +1100100100100

View full report

@cdalar cdalar added the triage:light-review Laya triage: docs or dependency bump label Oct 12, 2026
Bumps [github.com/hetznercloud/hcloud-go/v2](https://github.com/hetznercloud/hcloud-go) from 2.50.0 to 2.52.0.
- [Release notes](https://github.com/hetznercloud/hcloud-go/releases)
- [Changelog](https://github.com/hetznercloud/hcloud-go/blob/main/CHANGELOG.md)
- [Commits](hetznercloud/hcloud-go@v2.50.0...v2.52.0)

---
updated-dependencies:
- dependency-name: github.com/hetznercloud/hcloud-go/v2
  dependency-version: 2.52.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/github.com/hetznercloud/hcloud-go/v2-2.52.0 branch from 7fbe98f to 233e757 Compare October 21, 2026 16:16
@cdalar
cdalar merged commit 8264e0e into main Oct 21, 2026
7 checks passed
@dependabot
dependabot Bot deleted the dependabot/go_modules/github.com/hetznercloud/hcloud-go/v2-2.52.0 branch October 21, 2026 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code triage:light-review Laya triage: docs or dependency bump

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

⌂ 换网址