Skip to content

Bump github.com/hetznercloud/hcloud-go/v2 from 2.44.0 to 2.46.0 - #64

Open
dependabot[bot] wants to merge 2 commits into
masterfrom
dependabot/go_modules/github.com/hetznercloud/hcloud-go/v2-2.46.0
Open

Bump github.com/hetznercloud/hcloud-go/v2 from 2.44.0 to 2.46.0#64
dependabot[bot] wants to merge 2 commits into
masterfrom
dependabot/go_modules/github.com/hetznercloud/hcloud-go/v2-2.46.0

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

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

Release notes

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

v2.46.0

Features

  • add deprecation info to load balancer type (#896) (0bb30b2)

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

Compare to previous version

Features

  • add deprecation info to load balancer type (#896) (0bb30b2)

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
  • 897b2d0 chore(main): release v2.46.0 (#897)
  • ade470b ci: ignore unpublished github release from lychee check (#898)
  • 0bb30b2 feat: add deprecation info to load balancer type (#896)
  • 3ba8c30 chore(main): release v2.45.0 (#885)
  • 9d1ec61 deps: update golang.org/x/ (#893)
  • 9418bbc deps: update github actions (#895)
  • 5a83b28 deps: update pre-commit hook prettier to v3.9.5 (#894)
  • 298cccc feat: remove datacenter property from server and primary_ip (#890)
  • 03ab1fa deps: update go toolchain directive to v1.26.5 (#892)
  • 41b4e80 deps: update pre-commit hook prettier to v3.9.4 (#889)
  • Additional commits viewable in compare view

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

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependency Issues relating to or blocked by dependencies label Jul 27, 2026
@costela

costela commented Jul 27, 2026

Copy link
Copy Markdown
Owner

@copilot adapt the code for the dependency bump

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependency Issues relating to or blocked by dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants