Update dependency hcloud to v2.23.0 #56

Merged
renovate merged 1 commit from renovate/hcloud-2.x into main 2026-07-21 15:09:13 +02:00
Collaborator

This PR contains the following updates:

Package Update Change
hcloud (changelog) minor ==2.21.0==2.23.0

Release Notes

hetznercloud/hcloud-python (hcloud)

v2.23.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 primary_ip.datacenter to use the location property instead, as shown below.

Before:

server = client.server.get_by_id(5)
print(server.datacenter)

primary_ip = client.primary_ip.get_by_id(5)
print(primary_ip.datacenter)

After:

server = client.server.get_by_id(5)
print(server.location)

primary_ip = client.primary_ip.get_by_id(5)
print(primary_ip.location)
Features

v2.22.0

Compare Source

Datacenters resource is now deprecated

The endpoints GET /v1/datacenters and GET /v1/datacenters/{id} are now deprecated and will be removed after 1 Oct. 2026. After this date, requests to these endpoints will return HTTP 410 Gone.

The DatacentersClient, Datacenter and related classes are now deprecated.

See the changelog for more details.

Features

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 has been generated by Mend Renovate.

This PR contains the following updates: | Package | Update | Change | |---|---|---| | [hcloud](https://github.com/hetznercloud/hcloud-python) ([changelog](https://github.com/hetznercloud/hcloud-python/blob/main/CHANGELOG.md)) | minor | `==2.21.0` → `==2.23.0` | --- ### Release Notes <details> <summary>hetznercloud/hcloud-python (hcloud)</summary> ### [`v2.23.0`](https://github.com/hetznercloud/hcloud-python/blob/HEAD/CHANGELOG.md#v2230) [Compare Source](https://github.com/hetznercloud/hcloud-python/compare/v2.22.0...v2.23.0) [Compare to previous version](https://github.com/hetznercloud/hcloud-python/compare/v2.22.0...v2.23.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 `primary_ip.datacenter` to use the `location` property instead, as shown below. **Before:** ```python server = client.server.get_by_id(5) print(server.datacenter) primary_ip = client.primary_ip.get_by_id(5) print(primary_ip.datacenter) ``` **After:** ```python server = client.server.get_by_id(5) print(server.location) primary_ip = client.primary_ip.get_by_id(5) print(primary_ip.location) ``` ##### Features - remove datacenter property from server and primary\_ip ([#&#8203;668](https://github.com/hetznercloud/hcloud-python/issues/668)) ([abdadf3](https://github.com/hetznercloud/hcloud-python/commit/abdadf3e7cc5d0edeb38f369955fa83f71b102e5)) - add deprecation info to load balancer type ([#&#8203;674](https://github.com/hetznercloud/hcloud-python/issues/674)) ([aeebcf8](https://github.com/hetznercloud/hcloud-python/commit/aeebcf8bd32df390163089a33c57815bb7214763)) ### [`v2.22.0`](https://github.com/hetznercloud/hcloud-python/blob/HEAD/CHANGELOG.md#v2220) [Compare Source](https://github.com/hetznercloud/hcloud-python/compare/v2.21.0...v2.22.0) ##### Datacenters resource is now deprecated The endpoints `GET /v1/datacenters` and `GET /v1/datacenters/{id}` are now deprecated and will be removed after 1 Oct. 2026. After this date, requests to these endpoints will return `HTTP 410 Gone`. The `DatacentersClient`, `Datacenter` and related classes are now deprecated. See the [changelog](https://docs.hetzner.cloud/changelog#2026-06-02-datacenters-deprecated) for more details. ##### Features - deprecate datacenters ([#&#8203;656](https://github.com/hetznercloud/hcloud-python/issues/656)) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, 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 has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMjQuMCIsInVwZGF0ZWRJblZlciI6IjQzLjI0Ny4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
renovate scheduled this pull request to auto merge when all checks succeed 2026-06-19 20:08:12 +02:00
renovate force-pushed renovate/hcloud-2.x from b8ba311830 to f1743f6382 2026-07-21 15:09:09 +02:00 Compare
renovate changed title from Update dependency hcloud to v2.22.0 to Update dependency hcloud to v2.23.0 2026-07-21 15:09:10 +02:00
renovate deleted branch renovate/hcloud-2.x 2026-07-21 15:09:14 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
secondhemd/shcloud!56
No description provided.