Skip to content

deps: update module github.com/hetznercloud/hcloud-go/v2 to v2.45.0#1298

Merged
lukasmetzner merged 1 commit into
mainfrom
renovate/github.com-hetznercloud-hcloud-go-v2-2.x
Jul 21, 2026
Merged

deps: update module github.com/hetznercloud/hcloud-go/v2 to v2.45.0#1298
lukasmetzner merged 1 commit into
mainfrom
renovate/github.com-hetznercloud-hcloud-go-v2-2.x

Conversation

@renovate

@renovate renovate Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

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

Release Notes

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

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 was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from a team as a code owner July 20, 2026 19:49
@renovate

renovate Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor Author

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

  • 6 additional dependencies were updated

Details:

Package Change
golang.org/x/crypto v0.52.0 -> v0.54.0
golang.org/x/net v0.55.0 -> v0.57.0
golang.org/x/sync v0.20.0 -> v0.22.0
golang.org/x/sys v0.45.0 -> v0.47.0
golang.org/x/term v0.43.0 -> v0.45.0
golang.org/x/text v0.37.0 -> v0.40.0

@lukasmetzner
lukasmetzner merged commit cab143f into main Jul 21, 2026
10 checks passed
@lukasmetzner
lukasmetzner deleted the renovate/github.com-hetznercloud-hcloud-go-v2-2.x branch July 21, 2026 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant