Skip to content

Releases: hetznercloud/hcloud-python

v2.5.1

30 Apr 07:00
f7a5e18
Compare
Choose a tag to compare

Bug Fixes

  • missing slots and api_properties for FirewallResourceLabelSelector (#492)

v2.5.0

25 Apr 09:54
6a4d982
Compare
Choose a tag to compare

Features

  • improve exception messages (#488)

v2.4.0

19 Mar 15:24
b4bbb31
Compare
Choose a tag to compare

Features

  • drop support for python 3.8 (#458)
  • add equality checks to domains (#481)

Bug Fixes

  • server public ipv4 and ipv6 properties are nullable (#455)

v2.3.0

09 Oct 12:52
55e4513
Compare
Choose a tag to compare

2.3.0 (2024-10-09)

Features

Bug Fixes

  • change floating ip labels type to dict[str, str] (#444) (1f6da4e)

v2.2.1

19 Aug 18:39
2fd2915
Compare
Choose a tag to compare

2.2.1 (2024-08-19)

Bug Fixes

v2.2.0

06 Aug 12:38
1894278
Compare
Choose a tag to compare

2.2.0 (2024-08-06)

Features

  • retry requests when the api gateway errors (#430) (f63ac8b)
  • retry requests when the api returns a conflict error (#430) (f63ac8b)
  • retry requests when the network timed outs (#430) (f63ac8b)
  • retry requests when the rate limit was reached (#430) (f63ac8b)

Bug Fixes

v2.1.1

30 Jul 17:36
3799a6e
Compare
Choose a tag to compare

2.1.1 (2024-07-30)

Bug Fixes

  • do not sleep before checking for the reloaded action status (#426) (3e0a85b)
  • mark client retry backoff function as static (#429) (14ed130)

Documentation

v2.1.0

25 Jul 11:16
9215daa
Compare
Choose a tag to compare

2.1.0 (2024-07-25)

API Changes for Traffic Prices and Server Type Included Traffic

There will be a breaking change in the API regarding Traffic Prices and Server Type Included Traffic on 2024-08-05. This release marks the affected fields as Deprecated. Please check if this affects any of your code and switch to the replacement fields where necessary.

You can learn more about this change in our changelog.

Features

  • add exponential and constant backoff function (#416) (fe7ddf6)
  • deprecate ServerType included_traffic property (#423) (3d56ac5)
  • use exponential backoff when retrying requests (#417) (f306073)

v2.0.1

03 Jul 11:38
8257ec9
Compare
Choose a tag to compare

2.0.1 (2024-07-03)

Bug Fixes

  • assignee_type is required when creating a primary ip (#409) (bce5e94)
  • clean unused arguments in the Client.servers.rebuild method (#407) (6d33c3c)
  • details are optional in API errors (#411) (f1c6594)
  • rename trace_id variable to correlation_id (#408) (66a0f54)

v2.0.0

03 Jul 09:18
cf08842
Compare
Choose a tag to compare

2.0.0 (2024-07-03)

Upgrade notes: https://hcloud-python.readthedocs.io/en/stable/upgrading.html#upgrading-to-v2

⚠ BREAKING CHANGES

  • return full rebuild response in Client.servers.rebuild (#406)
  • make datacenter argument optional when creating a primary ip (#363)
  • remove deprecated include_wildcard_architecture argument in IsosClient.get_list and IsosClient.get_all (#402)
  • make Client.request tries a private argument (#399)
  • make Client.poll_interval a private property (#398)
  • return empty dict on empty responses in Client.request (#400)
  • remove deprecated hcloud.hcloud module (#401)
  • move hcloud.__version__.VERSION to hcloud.__version__ (#397)

Features

  • add trace_id to API exceptions (#404) (8375261)
  • allow using a custom poll_interval function (#403) (93eb56b)
  • make Client.poll_interval a private property (#398) (d5f24db)
  • make Client.request tries a private argument (#399) (428ea7e)
  • move hcloud.__version__.VERSION to hcloud.__version__ (#397) (4e3f638), closes #234
  • remove deprecated hcloud.hcloud module (#401) (db37e63)
  • remove deprecated include_wildcard_architecture argument in IsosClient.get_list and IsosClient.get_all (#402) (6b977e2)
  • return empty dict on empty responses in Client.request (#400) (9f46adb)
  • return full rebuild response in Client.servers.rebuild (#406) (1970d84)

Bug Fixes

  • make datacenter argument optional when creating a primary ip (#363) (ebef774)

Dependencies

  • update dependency coverage to >=7.5,<7.6 (#386) (5660691)
  • update dependency mypy to >=1.10,<1.11 (#387) (35c933b)
  • update dependency myst-parser to v3 (#385) (9f18270)
  • update dependency pylint to >=3,<3.3 (#391) (4a6f005)
  • update dependency pytest to >=8,<8.3 (#390) (584a36b)
  • update dependency sphinx to >=7.3.4,<7.4 (#383) (69c2e16)
  • update pre-commit hook asottile/pyupgrade to v3.16.0 (0ce5fbc)
  • update pre-commit hook pre-commit/pre-commit-hooks to v4.6.0 (5ef25ab)
  • update pre-commit hook psf/black-pre-commit-mirror to v24.4.0 (0941fbf)
  • update pre-commit hook psf/black-pre-commit-mirror to v24.4.1 (fec08c5)
  • update pre-commit hook psf/black-pre-commit-mirror to v24.4.2 (#389) (2b2e21f)
  • update pre-commit hook pycqa/flake8 to v7.1.0 (3bc651d)

Documentation