Skip to content

chore(main): release v2.23.0#672

Merged
lukasmetzner merged 1 commit into
mainfrom
releaser-pleaser--branches--main
Jul 21, 2026
Merged

chore(main): release v2.23.0#672
lukasmetzner merged 1 commit into
mainfrom
releaser-pleaser--branches--main

Conversation

@hcloud-bot

@hcloud-bot hcloud-bot commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

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


PR by releaser-pleaser 🤖

If you want to modify the proposed release, add you overrides here. You can learn more about the options in the docs.

Release Notes

Prefix / Start

This will be added to the start of the release notes.

### 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)
```

Suffix / End

This will be added to the end of the release notes.

@hcloud-bot hcloud-bot added the rp-release::pending Release for this PR is pending label Jul 16, 2026
@hcloud-bot
hcloud-bot force-pushed the releaser-pleaser--branches--main branch 4 times, most recently from 70acfb1 to 2b44484 Compare July 21, 2026 12:18
@lukasmetzner
lukasmetzner force-pushed the releaser-pleaser--branches--main branch from 2b44484 to 64f2fd9 Compare July 21, 2026 12:29
@lukasmetzner
lukasmetzner merged commit 48f3424 into main Jul 21, 2026
11 checks passed
@lukasmetzner
lukasmetzner deleted the releaser-pleaser--branches--main branch July 21, 2026 12:30
@hcloud-bot hcloud-bot added rp-release::tagged Release for this PR is created and removed rp-release::pending Release for this PR is pending labels Jul 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rp-release::tagged Release for this PR is created

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants