Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jul 3, 2024

This PR contains the following updates:

Package Change Age Confidence
hcloud (changelog) ==1.31.0==2.13.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

hetznercloud/hcloud-python (hcloud)

v2.13.0

Compare Source

Features
  • add per primary ip actions list operations (#​608)
  • deprecate datacenter in primary ips and servers (#​609)

v2.12.0

Compare Source

Storage Box API Experimental

This release adds support for the Storage Box API.

The Storage Box integration will be introduced as an experimental feature. This experimental phase is expected to last at least until 12 January 2026. During this period, upcoming minor releases of the project may include breaking changes to features related to Storage Boxes.

This release includes all changes from the recent Storage Box API changelog entry.

Examples
response = client.storage_boxes.create(
    name="string",
    location=Location(name="fsn1"),
    storage_box_type=StorageBoxType(name="bx11"),
    labels={
        "environment": "prod",
        "example.com/my": "label",
        "just-a-key": "",
    },
    password="my-password",
    access_settings=StorageBoxAccessSettings(
        reachable_externally=False,
        samba_enabled=False,
        ssh_enabled=False,
        webdav_enabled=False,
        zfs_enabled=False,
    ),
    ssh_keys=[SSHKey(public_key="ssh-rsa AAAjjk76kgf...Xt")],
)

response.action.wait_until_finished()

storage_box = response.storage_box
Features
  • add update rrset records action to zone client (#​597)
  • add support for Storage Boxes (#​524)

v2.11.1

Compare Source

Bug Fixes
  • support reloading sub resource bound models (#​590)

v2.11.0

Compare Source

DNS API is now generally available

The DNS API is now generally available, as well as support for features in this project that are related to the DNS API.

To migrate existing zones to the new DNS API, see the DNS migration guide.

See the changelog for more details.

Features
  • DNS support is now generally available (#​581)

v2.10.0

Compare Source

Features
  • exp: add zone format txt record helper (#​578)
  • add server and load balancer private_net_for helper method (#​580)

v2.9.0

Compare Source

Features

v2.8.0

Compare Source

DNS API Beta

This release adds support for the new DNS API.

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 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 for more details.

Examples

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)

v2.7.0

Compare Source

Server Types now depend on Locations.

  • We added a new locations property to the Server Types resource. The new property defines a list of supported Locations and additional per Locations details such as deprecations information.

  • We deprecated the deprecation property from the Server Types resource. The property will gradually be phased out as per Locations deprecations are being announced. Please use the new per Locations deprecation information instead.

See our changelog for more details.

Upgrading

# Before
def validate_server_type(server_type: ServerType):
    if server_type.deprecation is not None:
        raise ValueError(f"server type {server_type.name} is deprecated")
# After
def validate_server_type(server_type: ServerType, location: Location):
    found = [o for o in server_type.locations if location.name == o.location.name]
    if not found:
        raise ValueError(
            f"server type {server_type.name} is not supported in location {location.name}"
        )

    server_type_location = found[0]

    if server_type_location.deprecation is not None:
        raise ValueError(
            f"server type {server_type.name} is deprecated in location {location.name}"
        )
Features
  • per location server types (#​558)

v2.6.0

Compare Source

Features
  • add category property to server type (#​549)
Bug Fixes
  • rename ClientEntityBase to ResourceClientBase (#​532)

v2.5.4

Compare Source

Bug Fixes
  • typo in LoadBalancerHealthCheckHttp class name (#​511)
  • equality for some domain classes (#​510)
  • use valid license identifier (SPDX) (#​514)

v2.5.3

Compare Source

Bug Fixes
  • invalid placement group id casting (#​501)
  • handle string id when checking has_id_or_name (#​504)

v2.5.2

Compare Source

Bug Fixes
  • listing page result always provide meta (#​496)

v2.5.1

Compare Source

Bug Fixes
  • missing slots and api_properties for FirewallResourceLabelSelector (#​492)

v2.5.0

Compare Source

Features
  • improve exception messages (#​488)

v2.4.0

Compare Source

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

Compare Source

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

v2.2.1

Compare Source

Bug Fixes

v2.2.0

Compare Source

Features
Bug Fixes

v2.1.1

Compare Source

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

Compare Source

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

v2.0.1

Compare Source

Bug Fixes

v2.0.0

Compare Source

⚠ 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

Compare Source

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

Compare Source

Features

v1.33.3

Compare Source

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)

v1.33.2

Compare Source

Bug Fixes
  • publish package to PyPI using OIDC auth (1a0e93b)

v1.33.0

Compare Source

Features
  • add metrics endpoint for load balancers and servers (#​331) (ee3c54f)
Bug Fixes
Dependencies

v1.32.0

Compare Source

Features
  • allow returning root_password in servers rebuild (#​276) (38e098a)
Dependencies
  • 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)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/hcloud-2.x branch from 677a687 to 03f1b33 Compare July 3, 2024 14:03
@renovate renovate bot force-pushed the renovate/hcloud-2.x branch 2 times, most recently from c350322 to a47511a Compare July 30, 2024 18:38
@renovate renovate bot force-pushed the renovate/hcloud-2.x branch from a47511a to 25007a4 Compare August 6, 2024 14:24
@renovate renovate bot force-pushed the renovate/hcloud-2.x branch from 25007a4 to c862708 Compare August 19, 2024 19:40
@renovate renovate bot force-pushed the renovate/hcloud-2.x branch from c862708 to f6ec365 Compare October 9, 2024 15:22
@renovate renovate bot force-pushed the renovate/hcloud-2.x branch from f6ec365 to 618ad68 Compare March 19, 2025 19:33
@renovate renovate bot force-pushed the renovate/hcloud-2.x branch 2 times, most recently from 697420e to 63c38ae Compare April 30, 2025 07:26
@renovate renovate bot force-pushed the renovate/hcloud-2.x branch from 63c38ae to c1793ee Compare May 23, 2025 11:43
@renovate renovate bot force-pushed the renovate/hcloud-2.x branch from c1793ee to 2aa3459 Compare June 10, 2025 16:53
@renovate renovate bot force-pushed the renovate/hcloud-2.x branch from 2aa3459 to a1c8a16 Compare July 9, 2025 14:11
@renovate renovate bot force-pushed the renovate/hcloud-2.x branch from a1c8a16 to 32853f5 Compare September 8, 2025 10:46
@renovate renovate bot force-pushed the renovate/hcloud-2.x branch from 32853f5 to 07d6ed1 Compare September 26, 2025 08:53
@renovate renovate bot force-pushed the renovate/hcloud-2.x branch 2 times, most recently from cc7e044 to bd5f04b Compare October 13, 2025 10:48
@renovate renovate bot force-pushed the renovate/hcloud-2.x branch 2 times, most recently from fb55864 to 627bd53 Compare November 10, 2025 16:15
@renovate renovate bot force-pushed the renovate/hcloud-2.x branch from 627bd53 to 9e3ef7c Compare November 14, 2025 19:30
@renovate renovate bot force-pushed the renovate/hcloud-2.x branch from 9e3ef7c to ba5826e Compare December 10, 2025 15:36
@renovate renovate bot force-pushed the renovate/hcloud-2.x branch from ba5826e to 5d3247d Compare December 19, 2025 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant