Skip to content

Releases: hetznercloud/hcloud-python

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

v1.35.0

02 Apr 17:10
14eeb69
Compare
Choose a tag to compare

1.35.0 (2024-04-02)

Features

  • add include_deprecated option when fetching images by name (#375) (6d86f86)

Bug Fixes

  • raise warnings for the ImagesClient.get_by_name deprecation (#376) (b24de80)

v1.34.0

27 Mar 14:53
2e9c5fc
Compare
Choose a tag to compare

1.34.0 (2024-03-27)

Features

  • add has_id_or_name to DomainIdentityMixin (#373) (8facaf6)

v1.33.3

27 Mar 09:29
6651b60
Compare
Choose a tag to compare

1.33.3 (2024-03-27)

Bug Fixes

  • invalid type for load balancer private network property (#372) (903e92f)

Dependencies

  • update codecov/codecov-action action to v4 (#359) (a798979)
  • update dependency mypy to >=1.9,<1.10 (#368) (4b9328c)
  • update dependency pylint to >=3,<3.2 (#364) (d71d17f)
  • update dependency pytest to >=8,<8.2 (#366) (8665dcf)
  • update dependency pytest to v8 (#357) (f8f756f)
  • update dependency pytest-cov to v5 (#371) (04a6a42)
  • update dependency watchdog to v4 (#360) (cb8d383)
  • update pre-commit hook asottile/pyupgrade to v3.15.1 (#362) (dd2a521)
  • update pre-commit hook asottile/pyupgrade to v3.15.2 (3d02ad7)
  • update pre-commit hook psf/black-pre-commit-mirror to v24 (#356) (b46397d)
  • update pre-commit hook psf/black-pre-commit-mirror to v24.1.1 (#358) (7e4645e)
  • update pre-commit hook psf/black-pre-commit-mirror to v24.2.0 (#361) (5b56ace)
  • update pre-commit hook psf/black-pre-commit-mirror to v24.3.0 (3bbac5d)
  • update pre-commit hook pycqa/flake8 to v7 (#354) (66a582f)
  • update pypa/gh-action-pypi-publish action to v1.8.12 (#365) (55db255)
  • update pypa/gh-action-pypi-publish action to v1.8.14 (#367) (0cb615f)