- improve exception messages (#488)
- drop support for python 3.8 (#458)
- add equality checks to domains (#481)
- server public ipv4 and ipv6 properties are nullable (#455)
2.3.0 (2024-10-09)
2.2.1 (2024-08-19)
2.2.0 (2024-08-06)
- 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)
2.1.1 (2024-07-30)
- do not sleep before checking for the reloaded action status (#426) (3e0a85b)
- mark client retry backoff function as static (#429) (14ed130)
2.1.0 (2024-07-25)
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.
- add exponential and constant backoff function (#416) (fe7ddf6)
- deprecate
ServerTypeincluded_trafficproperty (#423) (3d56ac5) - use exponential backoff when retrying requests (#417) (f306073)
2.0.1 (2024-07-03)
assignee_typeis required when creating a primary ip (#409) (bce5e94)- clean unused arguments in the
Client.servers.rebuildmethod (#407) (6d33c3c) - details are optional in API errors (#411) (f1c6594)
- rename
trace_idvariable tocorrelation_id(#408) (66a0f54)
2.0.0 (2024-07-03)
- return full rebuild response in
Client.servers.rebuild(#406) - make
datacenterargument optional when creating a primary ip (#363) - remove deprecated
include_wildcard_architectureargument inIsosClient.get_listandIsosClient.get_all(#402) - make
Client.requesttriesa private argument (#399) - make
Client.poll_intervala private property (#398) - return empty dict on empty responses in
Client.request(#400) - remove deprecated
hcloud.hcloudmodule (#401) - move
hcloud.__version__.VERSIONtohcloud.__version__(#397)
- add
trace_idto API exceptions (#404) (8375261) - allow using a custom poll_interval function (#403) (93eb56b)
- make
Client.poll_intervala private property (#398) (d5f24db) - make
Client.requesttriesa private argument (#399) (428ea7e) - move
hcloud.__version__.VERSIONtohcloud.__version__(#397) (4e3f638), closes #234 - remove deprecated
hcloud.hcloudmodule (#401) (db37e63) - remove deprecated
include_wildcard_architectureargument inIsosClient.get_listandIsosClient.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)
- 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)
1.35.0 (2024-04-02)
1.34.0 (2024-03-27)
1.33.3 (2024-03-27)
- 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)
1.33.2 (2024-01-02)
- publish package to PyPI using OIDC auth (1a0e93b)
1.33.1 (2024-01-02)
- update dependency coverage to >=7.4,<7.5 (#348) (3ac5711)
- update dependency mypy to >=1.8,<1.9 (#343) (984022f)
- update pre-commit hook psf/black-pre-commit-mirror to v23.12.1 (#347) (2c24efe)
1.33.0 (2023-12-19)
- update actions/setup-python action to v5 (#335) (2ac252d)
- update dependency sphinx-rtd-theme to v2 (#330) (7cc4335)
- update pre-commit hook psf/black-pre-commit-mirror to v23.12.0 (#338) (38e4748)
- update pre-commit hook pycqa/isort to v5.13.0 (#336) (3244cfe)
- update pre-commit hook pycqa/isort to v5.13.1 (#337) (020a0ef)
- update pre-commit hook pycqa/isort to v5.13.2 (#339) (b46df8c)
1.32.0 (2023-11-17)
- update dependency mypy to >=1.7,<1.8 (#325) (7b59a2d)
- update pre-commit hook pre-commit/mirrors-prettier to v3.1.0 (#326) (213b661)
- update pre-commit hook psf/black-pre-commit-mirror to v23.10.1 (#322) (999afe3)
- update pre-commit hook psf/black-pre-commit-mirror to v23.11.0 (#324) (7b2a24e)
1.31.0 (2023-10-23)
1.30.0 (2023-10-13)
- update dependency mypy to >=1.6,<1.7 (#317) (d248bbd)
- update dependency pylint to v3 (#307) (277841d)
- update pre-commit hook asottile/pyupgrade to v3.14.0 (#308) (07a4513)
- update pre-commit hook asottile/pyupgrade to v3.15.0 (#312) (c544639)
- update pre-commit hook pre-commit/pre-commit-hooks to v4.5.0 (#313) (e51eaa9)
- update python docker tag to v3.12 (#309) (3a1ee67)
1.29.1 (2023-09-26)
1.29.0 (2023-09-25)
- add domain attribute type hints to bound models (#300) (6d46d06)
- firewalls: add
applied_to_resourcestoFirewallResource(#297) (55d2b20)
- update actions/checkout action to v4 (#295) (c02b446)
- update dependency sphinx to >=7.2.2,<7.3 (#291) (10234ea)
- update dependency sphinx to v7 (#211) (f635c94)
- update pre-commit hook asottile/pyupgrade to v3.11.0 (#298) (4bbd0cc)
- update pre-commit hook asottile/pyupgrade to v3.11.1 (#299) (2f9fcd7)
- update pre-commit hook asottile/pyupgrade to v3.13.0 (#301) (951dbf3)
- update pre-commit hook pre-commit/mirrors-prettier to v3.0.3 (#294) (381e336)
- update pre-commit hook psf/black to v23.9.1 (#296) (4374a7b)
1.28.0 (2023-08-17)
- add load balancer target health status field (#288) (5780418)
- implement resource actions clients (#252) (4bb9a97)
- update dependency coverage to >=7.3,<7.4 (#286) (a4df4fa)
- update dependency mypy to >=1.5,<1.6 (#284) (9dd5c81)
- update pre-commit hook pre-commit/mirrors-prettier to v3.0.2 (#287) (6bf03cb)
1.27.2 (2023-08-09)
1.27.1 (2023-08-08)
1.27.0 (2023-08-08)
- add global request timeout option (#271) (07a663f)
- reexport references in parent ressources modules (#256) (854c12b)
- the package is now typed (#265) (da8baa5)
- allow omitting
datacenterwhen creating a primary ip (#171) (4375dc6) - ineffective doc strings (#266) (bb34df9)
- invalid attribute in placement group (#258) (23b3607)
- update pre-commit hook asottile/pyupgrade to v3.10.1 (#261) (efa5780)
- update pre-commit hook pre-commit/mirrors-prettier to v3.0.1 (#269) (2239b0b)
- update pre-commit hook pycqa/flake8 to v6.1.0 (#260) (fd01384)
1.26.0 (2023-07-19)
1.25.0 (2023-07-14)
- add details to raise exceptions (#240) (cf64e54)
- move hcloud.hcloud module to hcloud._client (#243) (413472d)
- update pre-commit hook asottile/pyupgrade to v3.9.0 (#238) (0053ded)
- update pre-commit hook pre-commit/mirrors-prettier to v3 (#235) (047d4e1)
- update pre-commit hook psf/black to v23.7.0 (#239) (443bf26)
1.24.0 (2023-07-03)
1.23.1 (2023-06-30)
1.23.0 (2023-06-26)
1.22.0 (2023-06-22)
- adhere to PEP 517 (#213) (7a19add)
- bump required python version to >=3.7 (#198) (62d89f9)
- network: add field expose_routes_to_vswitch (#208) (5321182)
- setup exception hierarchy (#199) (8466645)
- update actions/setup-python action to v4 (#209) (aeee575)
- update actions/stale action to v8 (#210) (cb13230)
- update pre-commit hook asottile/pyupgrade to v3.7.0 (#205) (c46c5a4)
1.21.0 (2023-06-19)
- improve branding, design & fix warnings (#191) (47eb9f1)
- use venv for the dev setup (#196) (93f48ff)
1.20.0 (2023-05-12)
- docs: link to PrivateNet broken by @apricote in #177
- feat: add support for ARM APIs by @apricote in #182
- fix: remove unused future dependency by @apricote in #173
- chore: update tests to use released python-3.11 by @apricote in #175
- chore: prepare release 1.18.2 by @apricote in #174
## v1.18.1 (2022-10-25)
- Remove use of external mock module by @s-t-e-v-e-n-k in #162
- document installation path via conda-forge by @s-m-e in #149
- Drop # -- coding: utf-8 -- from files by @jonasdlindner in #154
- Simplify Requirement Constraints by @LKaemmerling in #163
- Add validation helper for Label Values/Keys by @LKaemmerling in #164
- Add primary IP support by @LKaemmerling in #160
- Feature: Add support for Load Balancer DNS PTRs
- Feature: Add support for Placement Groups
- Bugfix: Fix crash on extra fields in public_net response
- Improvement: Format code with black
- Feature: Add support for Firewall rule descriptions
-
Feature: Add support for Firewall Protocols ESP and GRE
-
Feature: Add support for Image Type APP
-
Feature: Add support for creating Firewalls with Firewalls
-
Feature: Add support for Label Selectors in Firewalls
-
Improvement: Improve handling of underlying TCP connections. Now for every client instance a single TCP connection is used instead of one per call.
-
Note: Support for Python 2.7 and Python 3.5 was removed
- Feature: Add support for managed Certificates
- Feature: Add support for Firewalls
- Feature: Add
primary_disk_sizetoServerDomain
- Feature: Add
include_deprecatedfilter toget_listandget_allonImagesClient - Feature: Add vSwitch support to
add_subnetonNetworksClient - Feature: Add subnet type constants to
NetworkSubnetdomain (NetworkSubnet.TYPE_CLOUD,NetworkSubnet.TYPE_VSWITCH)
- Bugfix: BoundLoadBalancer serialization failed when using IP targets
- Feature: Add
included_traffic,outgoing_trafficandingoing_trafficproperties to Load Balancer domain - Feature: Add
change_type-method toLoadBalancersClient - Feature: Add support for
LoadBalancerTargetLabelSelector - Feature: Add support for
LoadBalancerTargetLabelSelector
- Fix: Loosen up the requirements.
- Fix Load Balancer Client.
- Fix: Unify setting of request parameters within
get_listmethods.
- Feature: Add Load Balancers Attention: The Load Balancer support in v1.8.0 is kind of broken. Please use v1.8.1
- Feature: Add Certificates
- Feature: Add requests 2.23 support
- Feature: Add support for the optional 'networks' parameter on server creation.
- Feature: Add python 3.9 support
- Feature: Add subnet type
cloud
- Feature: Add 'created' property to SSH Key domain
- Fix: Remove ISODatetime Descriptor because it leads to wrong dates
- Fix: future dependency requirement was too strict
- Fix: python-dateutil dependency requirement was too strict
- Feature: Add missing
get_by_nameonFloatingIPsClient
- Fix: ServersClient.create_image fails when specifying the
labels - Feature: Add support for
nameon Floating IPs
-
Fix: Documentation for
NetworkRoutedomain was missing -
Fix:
requestsdependency requirement was to strict
-
Feature: Add
mac_addressto Server PrivateNet domain -
Feature: Add python 3.8 support
- Feature: Add status filter for servers, images and volumes
- Feature: Add 'created' property to Floating IP domain
- Feature: Add 'Networks' support
- Fix: BoundVolume.server server property now casted to the 'BoundServer'.
- Feature: Add
get_by_fingerprint-method for ssh keys - Fix: Create Floating IP with location raises an error because no action was given.
- Feature: Add
STATUS-constants for server and volume status
Fix: Ignore unknown fields in API response instead of raising an error
-
First stable release.
You can find the documentation under https://hcloud-python.readthedocs.io/en/latest/
- First release on GitHub.