Skip to content

Commit 2d14dea

Browse files
author
Hetzner Cloud Bot
committed
chore(main): release v2.19.0
1 parent 09b3dcd commit 2d14dea

3 files changed

Lines changed: 30 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,33 @@
11
# Changelog
22

3+
## [v2.19.0](https://github.com/hetznercloud/hcloud-python/releases/tag/v2.19.0)
4+
5+
### Primary IPs `assignee_type` behavior change
6+
7+
In the create Primary IP call, the `assignee_type` argument is now only
8+
send when the `assignee_id` argument is set. The `assignee_type`
9+
argument will stop defaulting to 'server' in the near future, consider
10+
explicitly setting this argument when needed.
11+
12+
As of 1 August 2026, the behavior of the Primary IP `assignee_type`
13+
property will change, and will return `unassigned` when the Primary IP
14+
is not assigned (when `assignee_id` is `null`). The goal is to
15+
eventually assign Primary IPs to other resource types, not only to
16+
`server`.
17+
18+
See the
19+
[changelog](https://docs.hetzner.cloud/changelog#2026-04-27-primary-ips-will-return-unassigned)
20+
for more details.
21+
22+
In addition, the Primary IP request body `assignee_type` property of the operation [`POST /v1/primary_ips`](https://docs.hetzner.cloud/reference/cloud#tag/primary-ips/create_primary_ip) is now optional. Primary IPs created without `assignee_type` return `server` until 1 August 2026, after this date, its value will be `unassigned`.
23+
24+
See the [changelog](https://docs.hetzner.cloud/changelog#2026-04-27-primary-ips-make-assignee_type-optional)
25+
for more details.
26+
27+
### Features
28+
29+
- **primary-ip**: `assignee_type` behavior changed when creating a primary ip (#647)
30+
331
## [v2.18.0](https://github.com/hetznercloud/hcloud-python/releases/tag/v2.18.0)
432

533
### Available and recommended Server Types have been moved

hcloud/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
from __future__ import annotations
22

3-
__version__ = "2.18.0" # x-releaser-pleaser-version
3+
__version__ = "2.19.0" # x-releaser-pleaser-version

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
setup(
99
name="hcloud",
10-
version="2.18.0", # x-releaser-pleaser-version
10+
version="2.19.0", # x-releaser-pleaser-version
1111
keywords="hcloud hetzner cloud",
1212
description="Official Hetzner Cloud python library",
1313
long_description=readme,

0 commit comments

Comments
 (0)