Skip to content

Commit 36670bd

Browse files
authored
chore(main): release v2.8.0 (#563)
<!-- section-start changelog --> ### DNS API Beta This release adds support for the new [DNS API](https://docs.hetzner.cloud/reference/cloud#dns). The DNS API is currently in **beta**, which will likely end on 10 November 2025. After the beta ended, it will no longer be possible to create new zones in the old DNS system. See the [DNS Beta FAQ](https://docs.hetzner.com/networking/dns/faq/beta) for more details. Future minor releases of this project may include breaking changes for features that are related to the DNS API. See the [DNS API Beta changelog](https://docs.hetzner.cloud/changelog#2025-10-07-dns-beta) for more details. **Examples** ```py resp = client.zones.create( name="example.com", mode="primary", labels={"key": "value"}, rrsets=[ ZoneRRSet( name="@", type="A", records=[ ZoneRecord(value="201.180.75.2", comment="server1") ], ) ], ) resp.action.wait_until_finished() zone = resp.zone ``` ### Features - add new `ip_range` param to load balancer `attach_to_network` (#562) - add new `ip_range` param to server `attach_to_network` (#561) - support the new DNS API (#568) ### Bug Fixes - source_ips property is optional in firewall rule (#567) <!-- section-end changelog --> --- <details> <summary><h4>PR by <a href="https://github.com/apricote/releaser-pleaser">releaser-pleaser</a> 🤖</h4></summary> 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. ~~~~rp-prefix ### DNS API Beta This release adds support for the new [DNS API](https://docs.hetzner.cloud/reference/cloud#dns). The DNS API is currently in **beta**, which will likely end on 10 November 2025. After the beta ended, it will no longer be possible to create new zones in the old DNS system. See the [DNS Beta FAQ](https://docs.hetzner.com/networking/dns/faq/beta) for more details. Future minor releases of this project may include breaking changes for features that are related to the DNS API. See the [DNS API Beta changelog](https://docs.hetzner.cloud/changelog#2025-10-07-dns-beta) for more details. **Examples** ```py resp = client.zones.create( name="example.com", mode="primary", labels={"key": "value"}, rrsets=[ ZoneRRSet( name="@", type="A", records=[ ZoneRecord(value="201.180.75.2", comment="server1") ], ) ], ) resp.action.wait_until_finished() zone = resp.zone ``` ~~~~ ### Suffix / End This will be added to the end of the release notes. ~~~~rp-suffix ~~~~ </details> Co-authored-by: Hetzner Cloud Bot <>
1 parent fe49a67 commit 36670bd

File tree

3 files changed

+46
-2
lines changed

3 files changed

+46
-2
lines changed

CHANGELOG.md

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

3+
## [v2.8.0](https://github.com/hetznercloud/hcloud-python/releases/tag/v2.8.0)
4+
5+
### DNS API Beta
6+
7+
This release adds support for the new [DNS API](https://docs.hetzner.cloud/reference/cloud#dns).
8+
9+
The DNS API is currently in **beta**, which will likely end on 10 November 2025. After the beta ended, it will no longer be possible to create new zones in the old DNS system. See the [DNS Beta FAQ](https://docs.hetzner.com/networking/dns/faq/beta) for more details.
10+
11+
Future minor releases of this project may include breaking changes for features that are related to the DNS API.
12+
13+
See the [DNS API Beta changelog](https://docs.hetzner.cloud/changelog#2025-10-07-dns-beta) for more details.
14+
15+
**Examples**
16+
17+
```py
18+
resp = client.zones.create(
19+
name="example.com",
20+
mode="primary",
21+
labels={"key": "value"},
22+
rrsets=[
23+
ZoneRRSet(
24+
name="@",
25+
type="A",
26+
records=[
27+
ZoneRecord(value="201.180.75.2", comment="server1")
28+
],
29+
)
30+
],
31+
)
32+
33+
resp.action.wait_until_finished()
34+
zone = resp.zone
35+
```
36+
37+
### Features
38+
39+
- add new `ip_range` param to load balancer `attach_to_network` (#562)
40+
- add new `ip_range` param to server `attach_to_network` (#561)
41+
- support the new DNS API (#568)
42+
43+
### Bug Fixes
44+
45+
- source_ips property is optional in firewall rule (#567)
46+
347
## [v2.7.0](https://github.com/hetznercloud/hcloud-python/releases/tag/v2.7.0)
448

549
[Server Types](https://docs.hetzner.cloud/reference/cloud#server-types) now depend on [Locations](https://docs.hetzner.cloud/reference/cloud#locations).

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.7.0" # x-releaser-pleaser-version
3+
__version__ = "2.8.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.7.0", # x-releaser-pleaser-version
10+
version="2.8.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)