Skip to content

build(deps): bump github.com/hetznercloud/hcloud-go/v2 from 2.44.0 to 2.45.0 - #983

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/go_modules/github.com/hetznercloud/hcloud-go/v2-2.45.0
Jul 21, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
dependabot/go_modules/github.com/hetznercloud/hcloud-go/v2-2.45.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 21, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/hetznercloud/hcloud-go/v2 from 2.44.0 to 2.45.0.

Release notes

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

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

[!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)
Changelog

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

v2.45.0

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

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/hetznercloud/hcloud-go/v2](https://github.com/hetznercloud/hcloud-go) from 2.44.0 to 2.45.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.44.0...v2.45.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jul 21, 2026
@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.44.0 ⏵ v2.45.072100100100100

View full report

@github-actions
github-actions Bot merged commit c89a320 into main Jul 21, 2026
11 checks passed
@dependabot
dependabot Bot deleted the dependabot/go_modules/github.com/hetznercloud/hcloud-go/v2-2.45.0 branch July 21, 2026 08:01
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants

⌂ 换网址