Commit cab143f
authored
deps: update module github.com/hetznercloud/hcloud-go/v2 to v2.45.0 (#1298)
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://redirect.github.com/hetznercloud/hcloud-go)
| `v2.44.0` → `v2.45.0` |

|

|
---
### Release Notes
<details>
<summary>hetznercloud/hcloud-go
(github.com/hetznercloud/hcloud-go/v2)</summary>
###
[`v2.45.0`](https://redirect.github.com/hetznercloud/hcloud-go/blob/HEAD/CHANGELOG.md#v2450)
[Compare
Source](https://redirect.github.com/hetznercloud/hcloud-go/compare/v2.44.0...v2.45.0)
[Compare to previous
version](https://redirect.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
([#​862](https://redirect.github.com/hetznercloud/hcloud-go/issues/862))
([77a6fae](https://redirect.github.com/hetznercloud/hcloud-go/commit/77a6faebba23c605f04ef4ab0b026402b9132ed1))
- remove datacenter property from server and primary\_ip
([#​890](https://redirect.github.com/hetznercloud/hcloud-go/issues/890))
([298cccc](https://redirect.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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/hetznercloud/hcloud-cloud-controller-manager).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNzIuNCIsInVwZGF0ZWRJblZlciI6IjQzLjI3Mi40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent 555df14 commit cab143f
2 files changed
Lines changed: 21 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
| 125 | + | |
124 | 126 | | |
125 | 127 | | |
126 | 128 | | |
| |||
300 | 302 | | |
301 | 303 | | |
302 | 304 | | |
| 305 | + | |
| 306 | + | |
303 | 307 | | |
304 | 308 | | |
305 | 309 | | |
| |||
324 | 328 | | |
325 | 329 | | |
326 | 330 | | |
| 331 | + | |
| 332 | + | |
327 | 333 | | |
328 | 334 | | |
329 | 335 | | |
| |||
337 | 343 | | |
338 | 344 | | |
339 | 345 | | |
| 346 | + | |
| 347 | + | |
340 | 348 | | |
341 | 349 | | |
342 | 350 | | |
| |||
353 | 361 | | |
354 | 362 | | |
355 | 363 | | |
| 364 | + | |
| 365 | + | |
356 | 366 | | |
357 | 367 | | |
358 | 368 | | |
| |||
363 | 373 | | |
364 | 374 | | |
365 | 375 | | |
| 376 | + | |
| 377 | + | |
366 | 378 | | |
367 | 379 | | |
368 | 380 | | |
| |||
375 | 387 | | |
376 | 388 | | |
377 | 389 | | |
| 390 | + | |
| 391 | + | |
378 | 392 | | |
379 | 393 | | |
380 | 394 | | |
| |||
0 commit comments