1
0
Fork 0
mirror of https://github.com/ansible-collections/hetzner.hcloud.git synced 2026-02-04 16:11:49 +00:00
Commit graph

87 commits

Author SHA1 Message Date
Jonas L.
907a7fd73c
fix: firewall idempotency with ipv6 addresses (#722)
##### SUMMARY

Always use the canonical address representation when checking if rules
changed.


Fixes #708
2025-10-31 14:45:06 +01:00
Hetzner Cloud Bot
5a40520a9c
chore(main): release 6.0.0 (#715)
🤖 I have created a release *beep* *boop*
---


##
[6.0.0](https://github.com/ansible-collections/hetzner.hcloud/compare/5.4.0...6.0.0)
(2025-10-28)


### ⚠ BREAKING CHANGES

* drop support for ansible-core 2.17
([#713](https://github.com/ansible-collections/hetzner.hcloud/issues/713))
* drop support for Python 3.9
([#712](https://github.com/ansible-collections/hetzner.hcloud/issues/712))

### Features

* drop support for ansible-core 2.17
([#713](https://github.com/ansible-collections/hetzner.hcloud/issues/713))
([27d3250](27d3250689))
* drop support for Python 3.9
([#712](https://github.com/ansible-collections/hetzner.hcloud/issues/712))
([7009617](700961762f))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2025-10-30 12:41:49 +01:00
renovate[bot]
a64fbec0f1
chore(deps): update dependency hcloud to v2.9.0 (#710)
This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| [hcloud](https://redirect.github.com/hetznercloud/hcloud-python)
([changelog](https://redirect.github.com/hetznercloud/hcloud-python/blob/main/CHANGELOG.md))
| `2.8.0` -> `2.9.0` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/hcloud/2.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/hcloud/2.8.0/2.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>hetznercloud/hcloud-python (hcloud)</summary>

###
[`v2.9.0`](https://redirect.github.com/hetznercloud/hcloud-python/blob/HEAD/CHANGELOG.md#v290)

[Compare
Source](https://redirect.github.com/hetznercloud/hcloud-python/compare/v2.8.0...v2.9.0)

##### Features

- support python 3.14
([#&#8203;566](https://redirect.github.com/hetznercloud/hcloud-python/issues/566))
- drop support for python 3.9
([#&#8203;574](https://redirect.github.com/hetznercloud/hcloud-python/issues/574))

</details>

---

### 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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/ansible-collections/hetzner.hcloud).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNDMuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE0My4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2025-10-27 12:10:52 +01:00
Hetzner Cloud Bot
4ab8e915ae
chore(main): release 5.4.0 (#699)
🤖 I have created a release *beep* *boop*
---


##
[5.4.0](https://github.com/ansible-collections/hetzner.hcloud/compare/5.3.1...5.4.0)
(2025-10-07)


### Features

* support the new DNS API
([#703](https://github.com/ansible-collections/hetzner.hcloud/issues/703))
([adddef5](adddef5fc0))


### Bug Fixes

* add experimental features maturity
([#698](https://github.com/ansible-collections/hetzner.hcloud/issues/698))
([1251ee0](1251ee0e6f))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2025-10-07 11:07:55 +02:00
Jonas L.
adddef5fc0
feat: support the new DNS API (#703)
Add support for the new [DNS
API](https://docs.hetzner.cloud/reference/cloud#dns).

The DNS API is currently in **beta**.

See the [DNS API beta
changelog](https://docs.hetzner.cloud/changelog#2025-10-07-dns-beta) for
more details.
2025-10-07 11:04:00 +02:00
Jonas L.
b8bec66906
chore(deps): update dependency hcloud to v2.8.0 (#702)
##### SUMMARY

Bump hcloud-python the v2.8.0
2025-10-07 10:29:20 +02:00
Jonas L.
1251ee0e6f
fix: add experimental features maturity (#698)
##### SUMMARY

Allow to specify the maturity of the experimental product.

##### ISSUE TYPE

- Bugfix Pull Request
2025-09-29 18:10:07 +02:00
Hetzner Cloud Bot
728c8b4b25
chore(main): release 5.3.1 (#697)
🤖 I have created a release *beep* *boop*
---


##
[5.3.1](https://github.com/ansible-collections/hetzner.hcloud/compare/5.3.0...5.3.1)
(2025-09-29)


### Bug Fixes

* also check server type deprecation after server creation
([#696](https://github.com/ansible-collections/hetzner.hcloud/issues/696))
([c4dc19c](c4dc19c675))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2025-09-29 15:04:22 +02:00
Jonas L.
c4dc19c675
fix: also check server type deprecation after server creation (#696)
##### SUMMARY

Because the location of a server is not mandatory for creating a server,
we must also check server type deprecation after server creation.

##### ISSUE TYPE

- Bugfix Pull Request


##### COMPONENT NAME
server
2025-09-29 14:34:54 +02:00
Hetzner Cloud Bot
2864379079
chore(main): release 5.3.0 (#695)
🤖 I have created a release *beep* *boop*
---


##
[5.3.0](https://github.com/ansible-collections/hetzner.hcloud/compare/5.2.0...5.3.0)
(2025-09-26)


### Features

* per location server types
([#692](https://github.com/ansible-collections/hetzner.hcloud/issues/692))
([826e6a5](826e6a5309))
* return server type category
([#687](https://github.com/ansible-collections/hetzner.hcloud/issues/687))
([3d809cb](3d809cbc6f))


### Bug Fixes

* wait for floating ip assign action
([#694](https://github.com/ansible-collections/hetzner.hcloud/issues/694))
([c3ec5d1](c3ec5d1dcc))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2025-09-26 12:51:32 +02:00
Jonas L.
826e6a5309
feat: per location server types (#692)
[Server Types](https://docs.hetzner.cloud/reference/cloud#server-types)
now depend on
[Locations](https://docs.hetzner.cloud/reference/cloud#locations).

- We added a new `locations` property to the [Server
Types](https://docs.hetzner.cloud/reference/cloud#server-types)
resource. The new property defines a list of supported
[Locations](https://docs.hetzner.cloud/reference/cloud#locations) and
additional per
[Locations](https://docs.hetzner.cloud/reference/cloud#locations)
details such as deprecations information.

- We deprecated the `deprecation` property from the [Server
Types](https://docs.hetzner.cloud/reference/cloud#server-types)
resource. The property will gradually be phased out as per
[Locations](https://docs.hetzner.cloud/reference/cloud#locations)
deprecations are being announced. Please use the new per
[Locations](https://docs.hetzner.cloud/reference/cloud#locations)
deprecation information instead.

See our
[changelog](https://docs.hetzner.cloud/changelog#2025-09-24-per-location-server-types)
for more details.

**Upgrading**

```yaml
---
- name: Validate server type
  hosts: localhost
  connection: local
  tasks:
    - name: Fetch server type info
      hetzner.hcloud.server_type_info:
        name: cx22
      register: server_type

    - name: Ensure server type exists
      ansible.builtin.assert:
        fail_msg: server type does not exists
        that:
          - server_type.hcloud_server_type_info | count == 1

    - name: Ensure server type is not deprecated
      ansible.builtin.assert:
        fail_msg: server type is deprecated
        that:
          - server_type.hcloud_server_type_info[0].deprecation is none
```

```yaml
---
- name: Validate server type
  hosts: localhost
  connection: local
  tasks:
    - name: Fetch location info
      hetzner.hcloud.location_info:
        name: fsn1
      register: location

    - name: Fetch server type info
      hetzner.hcloud.server_type_info:
        name: cx22
      register: server_type

    - name: Ensure server type exists
      ansible.builtin.assert:
        fail_msg: server type does not exists
        that:
          - server_type.hcloud_server_type_info | count == 1

    - name: Extract server type location info
      ansible.builtin.set_fact:
        server_type_location: >
          {{
            server_type.hcloud_server_type_info[0].locations
            | selectattr("name", "eq", location.hcloud_location_info[0].name)
            | first
          }}

    - name: Ensure server type is not deprecated
      ansible.builtin.assert:
        fail_msg: server type is deprecated in location
        that:
          - server_type_location.deprecation is none
```
2025-09-26 11:50:05 +02:00
renovate[bot]
4caf3e67f4
chore(deps): update dependency hcloud to v2.7.0 (#693)
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs
from Renovate will soon appear from 'Mend'. Learn more
[here](https://redirect.github.com/renovatebot/renovate/discussions/37842).

This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| [hcloud](https://redirect.github.com/hetznercloud/hcloud-python)
([changelog](https://redirect.github.com/hetznercloud/hcloud-python/blob/main/CHANGELOG.md))
| `2.6.0` -> `2.7.0` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/hcloud/2.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/hcloud/2.6.0/2.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>hetznercloud/hcloud-python (hcloud)</summary>

###
[`v2.7.0`](https://redirect.github.com/hetznercloud/hcloud-python/blob/HEAD/CHANGELOG.md#v270)

[Compare
Source](https://redirect.github.com/hetznercloud/hcloud-python/compare/v2.6.0...v2.7.0)

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

- We added a new `locations` property to the [Server
Types](https://docs.hetzner.cloud/reference/cloud#server-types)
resource. The new property defines a list of supported
[Locations](https://docs.hetzner.cloud/reference/cloud#locations) and
additional per
[Locations](https://docs.hetzner.cloud/reference/cloud#locations)
details such as deprecations information.

- We deprecated the `deprecation` property from the [Server
Types](https://docs.hetzner.cloud/reference/cloud#server-types)
resource. The property will gradually be phased out as per
[Locations](https://docs.hetzner.cloud/reference/cloud#locations)
deprecations are being announced. Please use the new per
[Locations](https://docs.hetzner.cloud/reference/cloud#locations)
deprecation information instead.

See our
[changelog](https://docs.hetzner.cloud/changelog#2025-09-24-per-location-server-types)
for more details.

**Upgrading**

```py
```

</details>

---

### 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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/ansible-collections/hetzner.hcloud).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xMzAuMSIsInVwZGF0ZWRJblZlciI6IjQxLjEzMC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2025-09-26 10:51:34 +02:00
renovate[bot]
923057c7b6
chore(deps): update dependency hcloud to v2.6.0 (#686)
This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| [hcloud](https://redirect.github.com/hetznercloud/hcloud-python)
([changelog](https://redirect.github.com/hetznercloud/hcloud-python/blob/main/CHANGELOG.md))
| `2.5.4` -> `2.6.0` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/hcloud/2.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/hcloud/2.5.4/2.6.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>hetznercloud/hcloud-python (hcloud)</summary>

###
[`v2.6.0`](https://redirect.github.com/hetznercloud/hcloud-python/blob/HEAD/CHANGELOG.md#v260)

[Compare
Source](https://redirect.github.com/hetznercloud/hcloud-python/compare/v2.5.4...v2.6.0)

##### Features

- add category property to server type
([#&#8203;549](https://redirect.github.com/hetznercloud/hcloud-python/issues/549))

##### Bug Fixes

- rename `ClientEntityBase` to `ResourceClientBase`
([#&#8203;532](https://redirect.github.com/hetznercloud/hcloud-python/issues/532))

</details>

---

### 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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/ansible-collections/hetzner.hcloud).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45MS4xIiwidXBkYXRlZEluVmVyIjoiNDEuOTEuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2025-09-08 12:44:47 +02:00
Hetzner Cloud Bot
bf678c47fb
chore(main): release 5.2.0 (#656)
🤖 I have created a release *beep* *boop*
---


##
[5.2.0](https://github.com/ansible-collections/hetzner.hcloud/compare/5.1.0...5.2.0)
(2025-08-14)


### Features

* allow renaming a volume
([#683](https://github.com/ansible-collections/hetzner.hcloud/issues/683))
([8c8a52c](8c8a52ceed))
* warn when experimental features are used
([#669](https://github.com/ansible-collections/hetzner.hcloud/issues/669))
([36053c7](36053c7ee8))


### Bug Fixes

* add `volume_attachment` module to meta
([#655](https://github.com/ansible-collections/hetzner.hcloud/issues/655))
([e6e4ce1](e6e4ce1d5f))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2025-08-14 15:43:34 +02:00
Jonas L.
36053c7ee8
feat: warn when experimental features are used (#669)
##### SUMMARY

- Document how users can learn about experimental features.
- Document how developers can release experimental features.
- Log a warning when experimental features are being used.

##### ISSUE TYPE

- Feature Pull Request
2025-07-21 11:03:31 +02:00
renovate[bot]
192139e000
chore(deps): update dependency hcloud to v2.5.4 (#668)
This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| [hcloud](https://redirect.github.com/hetznercloud/hcloud-python)
([changelog](https://redirect.github.com/hetznercloud/hcloud-python/blob/main/CHANGELOG.md))
| `2.5.3` -> `2.5.4` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/hcloud/2.5.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/hcloud/2.5.3/2.5.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>hetznercloud/hcloud-python (hcloud)</summary>

###
[`v2.5.4`](https://redirect.github.com/hetznercloud/hcloud-python/blob/HEAD/CHANGELOG.md#v254)

[Compare
Source](https://redirect.github.com/hetznercloud/hcloud-python/compare/v2.5.3...v2.5.4)

##### Bug Fixes

- typo in `LoadBalancerHealthCheckHttp` class name
([#&#8203;511](https://redirect.github.com/hetznercloud/hcloud-python/issues/511))
- equality for some domain classes
([#&#8203;510](https://redirect.github.com/hetznercloud/hcloud-python/issues/510))
- use valid license identifier (SPDX)
([#&#8203;514](https://redirect.github.com/hetznercloud/hcloud-python/issues/514))

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

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

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/ansible-collections/hetzner.hcloud).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4yMy4yIiwidXBkYXRlZEluVmVyIjoiNDEuMjMuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2025-07-10 10:31:55 +02:00
Hetzner Cloud Bot
f86cdf460b
chore(main): release 5.1.0 (#653)
🤖 I have created a release *beep* *boop*
---


##
[5.1.0](https://github.com/ansible-collections/hetzner.hcloud/compare/5.0.1...5.1.0)
(2025-06-11)


### Features

* allow recreating ssh key when public key in the API does not match
([#634](https://github.com/ansible-collections/hetzner.hcloud/issues/634))
([4fc2003](4fc2003f30))


### Bug Fixes

* ensure returned resource ids are integers
([#651](https://github.com/ansible-collections/hetzner.hcloud/issues/651))
([579b34e](579b34e754))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2025-06-11 10:24:40 +02:00
renovate[bot]
ba0a419db3
chore(deps): update dependency hcloud to v2.5.3 (#649)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [hcloud](https://redirect.github.com/hetznercloud/hcloud-python)
([changelog](https://redirect.github.com/hetznercloud/hcloud-python/blob/main/CHANGELOG.md))
| `2.5.2` -> `2.5.3` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/hcloud/2.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/hcloud/2.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/hcloud/2.5.2/2.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/hcloud/2.5.2/2.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>hetznercloud/hcloud-python (hcloud)</summary>

###
[`v2.5.3`](https://redirect.github.com/hetznercloud/hcloud-python/blob/HEAD/CHANGELOG.md#v253)

[Compare
Source](https://redirect.github.com/hetznercloud/hcloud-python/compare/v2.5.2...v2.5.3)

##### Bug Fixes

- invalid placement group id casting
([#&#8203;501](https://redirect.github.com/hetznercloud/hcloud-python/issues/501))
- handle string id when checking has_id_or_name
([#&#8203;504](https://redirect.github.com/hetznercloud/hcloud-python/issues/504))

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

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

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/ansible-collections/hetzner.hcloud).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC40OC41IiwidXBkYXRlZEluVmVyIjoiNDAuNDguNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2025-06-10 20:36:03 +02:00
Amirhossein Shaerpour
4fc2003f30
feat: allow recreating ssh key when public key in the API does not match (#634)
##### SUMMARY

- Log a warning when the provided public key does not match one in the
API.
- When the public key does not match the one in the API, allow
recreating the SSH Key in the API using the ``force=true`` argument.


Closes: #578 

##### ISSUE TYPE
- Feature Pull Request

##### COMPONENT NAME
<!--- Write the short name of the module, plugin, task or feature below
-->
`ssh_key`

##### ADDITIONAL INFORMATION
In Hetzner API, we do not have any public_key change endpoint and only
updating names and labels are allowed.
For public_key The only way is removing and re-creating. `force` option
allows users to do re-creation if needed.

---------

Co-authored-by: jo <ljonas@riseup.net>
2025-06-03 17:43:54 +02:00
renovate[bot]
4b2fd4b160
chore(deps): update dependency hcloud to v2.5.2 (#639)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [hcloud](https://redirect.github.com/hetznercloud/hcloud-python)
([changelog](https://redirect.github.com/hetznercloud/hcloud-python/blob/main/CHANGELOG.md))
| `2.5.1` -> `2.5.2` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/hcloud/2.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/hcloud/2.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/hcloud/2.5.1/2.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/hcloud/2.5.1/2.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>hetznercloud/hcloud-python (hcloud)</summary>

###
[`v2.5.2`](https://redirect.github.com/hetznercloud/hcloud-python/blob/HEAD/CHANGELOG.md#v252)

[Compare
Source](https://redirect.github.com/hetznercloud/hcloud-python/compare/v2.5.1...v2.5.2)

##### Bug Fixes

- listing page result always provide meta
([#&#8203;496](https://redirect.github.com/hetznercloud/hcloud-python/issues/496))

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

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

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/ansible-collections/hetzner.hcloud).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4xNi4wIiwidXBkYXRlZEluVmVyIjoiNDAuMTYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2025-05-23 11:32:39 +02:00
Hetzner Cloud Bot
4e5e65abcc
chore(main): release 5.0.1 (#638)
🤖 I have created a release *beep* *boop*
---


##
[5.0.1](https://github.com/ansible-collections/hetzner.hcloud/compare/5.0.0...5.0.1)
(2025-05-21)


### Bug Fixes

* remove deprecated force_upgrade argument
([#637](https://github.com/ansible-collections/hetzner.hcloud/issues/637))
([88f84e7](88f84e7d7c))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2025-05-21 17:48:04 +02:00
Hetzner Cloud Bot
ac1b8bdbf7
chore(main): release 5.0.0 (#613)
🤖 I have created a release *beep* *boop*
---


##
[5.0.0](https://github.com/ansible-collections/hetzner.hcloud/compare/4.3.0...5.0.0)
(2025-05-21)


### ⚠ BREAKING CHANGES

* do not detach volume if `server` is not provided
([#632](https://github.com/ansible-collections/hetzner.hcloud/issues/632))
* prevent host variable name collision with ansible reserved names
([#617](https://github.com/ansible-collections/hetzner.hcloud/issues/617))
* drop support for ansible-core 2.16
([#612](https://github.com/ansible-collections/hetzner.hcloud/issues/612))
* drop support for ansible-core 2.15
([#611](https://github.com/ansible-collections/hetzner.hcloud/issues/611))

### Features

* add volume_attachment module
([#622](https://github.com/ansible-collections/hetzner.hcloud/issues/622))
([c37cdf0](c37cdf0bc6))
* allow renaming a server
([#619](https://github.com/ansible-collections/hetzner.hcloud/issues/619))
([e59e787](e59e787d99))
* drop support for ansible-core 2.15
([#611](https://github.com/ansible-collections/hetzner.hcloud/issues/611))
([92f1354](92f135456f))
* drop support for ansible-core 2.16
([#612](https://github.com/ansible-collections/hetzner.hcloud/issues/612))
([140d150](140d1508cc))
* drop support for python 3.8
([#615](https://github.com/ansible-collections/hetzner.hcloud/issues/615))
([b82e18f](b82e18ffbd))


### Bug Fixes

* do not detach volume if `server` is not provided
([#632](https://github.com/ansible-collections/hetzner.hcloud/issues/632))
([e8fda35](e8fda3557c))
* prevent host variable name collision with ansible reserved names
([#617](https://github.com/ansible-collections/hetzner.hcloud/issues/617))
([5de425c](5de425c90c))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2025-05-21 17:06:52 +02:00
renovate[bot]
913c975219
chore(deps): update dependency hcloud to v2.5.1 (#631)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [hcloud](https://redirect.github.com/hetznercloud/hcloud-python)
([changelog](https://redirect.github.com/hetznercloud/hcloud-python/blob/main/CHANGELOG.md))
| `2.5.0` -> `2.5.1` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/hcloud/2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/hcloud/2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/hcloud/2.5.0/2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/hcloud/2.5.0/2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>hetznercloud/hcloud-python (hcloud)</summary>

###
[`v2.5.1`](https://redirect.github.com/hetznercloud/hcloud-python/blob/HEAD/CHANGELOG.md#v251)

[Compare
Source](https://redirect.github.com/hetznercloud/hcloud-python/compare/v2.5.0...v2.5.1)

##### Bug Fixes

- missing slots and api_properties for FirewallResourceLabelSelector
([#&#8203;492](https://redirect.github.com/hetznercloud/hcloud-python/issues/492))

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

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

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/ansible-collections/hetzner.hcloud).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yNjQuMCIsInVwZGF0ZWRJblZlciI6IjM5LjI2NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2025-04-30 14:44:26 +02:00
renovate[bot]
cf220a229f
chore(deps): update dependency hcloud to v2.5.0 (#626) 2025-04-28 12:55:16 +02:00
renovate[bot]
fd8a7c4453
chore(deps): update dependency hcloud to v2.4.0 (#609) 2025-03-24 20:13:38 +01:00
Hetzner Cloud Bot
3bf8d7d21e
chore(main): release 4.3.0 (#604)
🤖 I have created a release *beep* *boop*
---


##
[4.3.0](https://github.com/ansible-collections/hetzner.hcloud/compare/4.2.2...4.3.0)
(2025-03-21)


### Features

* add new `created` state for idempotent server creation
([#606](https://github.com/ansible-collections/hetzner.hcloud/issues/606))
([4534cf6](4534cf6b9d))


### Bug Fixes

* only update load balancer service when changed
([#603](https://github.com/ansible-collections/hetzner.hcloud/issues/603))
([6956596](6956596fd2))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2025-03-21 14:47:22 +01:00
Hetzner Cloud Bot
098883454c
chore(main): release 4.2.2 (#571)
🤖 I have created a release *beep* *boop*
---


##
[4.2.2](https://github.com/ansible-collections/hetzner.hcloud/compare/4.2.1...4.2.2)
(2024-11-22)


### Bug Fixes

* improve unknown certificate error in `load_balancer_service`
([#570](https://github.com/ansible-collections/hetzner.hcloud/issues/570))
([fe3bfa9](fe3bfa9020))
* only rebuild existing servers, skip rebuild if it was just created
([#581](https://github.com/ansible-collections/hetzner.hcloud/issues/581))
([06718d0](06718d0db0))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-11-22 13:51:01 +01:00
renovate[bot]
d9f49144bc
chore(deps): update dependency hcloud to v2.3.0 (#567) 2024-10-10 13:03:44 +02:00
Hetzner Cloud Bot
8503764dd0
chore(main): release 4.2.1 (#562)
🤖 I have created a release *beep* *boop*
---


##
[4.2.1](https://github.com/ansible-collections/hetzner.hcloud/compare/4.2.0...4.2.1)
(2024-09-23)


### Bug Fixes

* **server:** timeout in server creation when waiting on next actions
([#561](https://github.com/ansible-collections/hetzner.hcloud/issues/561))
([98e9c52](98e9c52c74))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-09-23 09:08:39 +02:00
Hetzner Cloud Bot
9cce39cf56
chore(main): release 4.2.0 (#551)
🤖 I have created a release *beep* *boop*
---


##
[4.2.0](https://github.com/ansible-collections/hetzner.hcloud/compare/4.1.0...4.2.0)
(2024-08-30)


### Features

* compute load balancer targets status using a filter
([#550](https://github.com/ansible-collections/hetzner.hcloud/issues/550))
([fce8bc9](fce8bc9bb9))


### Bug Fixes

* check label_selector child targets with load_balancer_status filter
([#552](https://github.com/ansible-collections/hetzner.hcloud/issues/552))
([abdf722](abdf72212b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-08-30 15:20:16 +02:00
renovate[bot]
c92c73904e
chore(deps): update dependency hcloud to v2.2.1 (#553) 2024-08-30 15:11:41 +02:00
renovate[bot]
28c2148510
chore(deps): update dependency hcloud to v2.2.0 (#544)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [hcloud](https://togithub.com/hetznercloud/hcloud-python)
([changelog](https://togithub.com/hetznercloud/hcloud-python/blob/main/CHANGELOG.md))
| `2.1.1` -> `2.2.0` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/hcloud/2.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/hcloud/2.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/hcloud/2.1.1/2.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/hcloud/2.1.1/2.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>hetznercloud/hcloud-python (hcloud)</summary>

###
[`v2.2.0`](https://togithub.com/hetznercloud/hcloud-python/blob/HEAD/CHANGELOG.md#220-2024-08-06)

[Compare
Source](https://togithub.com/hetznercloud/hcloud-python/compare/v2.1.1...v2.2.0)

##### Features

- retry requests when the api gateway errors
([#&#8203;430](https://togithub.com/hetznercloud/hcloud-python/issues/430))
([f63ac8b](f63ac8b4d0))
- retry requests when the api returns a conflict error
([#&#8203;430](https://togithub.com/hetznercloud/hcloud-python/issues/430))
([f63ac8b](f63ac8b4d0))
- retry requests when the network timed outs
([#&#8203;430](https://togithub.com/hetznercloud/hcloud-python/issues/430))
([f63ac8b](f63ac8b4d0))
- retry requests when the rate limit was reached
([#&#8203;430](https://togithub.com/hetznercloud/hcloud-python/issues/430))
([f63ac8b](f63ac8b4d0))

##### Bug Fixes

- update network subnet types
([#&#8203;431](https://togithub.com/hetznercloud/hcloud-python/issues/431))
([c32a615](c32a615db7))

</details>

---

### 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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/ansible-collections/hetzner.hcloud).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xOC4xNyIsInVwZGF0ZWRJblZlciI6IjM4LjE4LjE3IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2024-08-06 17:13:18 +02:00
jo
563e2bdd67 chore: updates files 2024-07-31 09:51:30 +02:00
Jonas L.
c665629f7e
refactor: reuse exponential_backoff_function from hcloud-python (#535)
Replace the local function with the exponential_backoff_function from
hcloud-python
2024-07-25 16:20:23 +02:00
Hetzner Cloud Bot
7aa87bb9d9
chore(main): release 4.1.0 (#534)
🤖 I have created a release *beep* *boop*
---


##
[4.1.0](https://github.com/ansible-collections/hetzner.hcloud/compare/4.0.1...4.1.0)
(2024-07-25)


### Features

* deprecate `server_type_info` `included_traffic` return value
([#532](https://github.com/ansible-collections/hetzner.hcloud/issues/532))
([39aa356](39aa356c4c))
* use exponential backoff algorithm when polling actions
([#524](https://github.com/ansible-collections/hetzner.hcloud/issues/524))
([19e586f](19e586fa22))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-07-25 14:01:03 +02:00
Jonas L.
42a1438d43
deps: update dependency hcloud to v2.1.0 (#531) 2024-07-25 13:38:52 +02:00
Jonas L
19e586fa22
feat: use exponential backoff algorithm when polling actions (#524)
##### SUMMARY

Replace the constant poll interval of 1 second, with a truncated
exponential back off algorithm with jitter.

Below is a suite of poll interval (in seconds) generated by the new
algorithm:
```
1.49
2.14
5.46
6.51
6.57
5.57
5.98
7.13
6.59
7.10
5.54
5.03
6.56
5.96
6.72
7.21
7.05
5.31
5.60
6.33
6.82
5.42
6.08
6.60
TOTAL: 140.77
```
2024-07-04 15:07:05 +02:00
renovate[bot]
9adb8b3981
chore(deps): update dependency hcloud to v2 (#523)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [hcloud](https://togithub.com/hetznercloud/hcloud-python)
([changelog](https://togithub.com/hetznercloud/hcloud-python/blob/main/CHANGELOG.md))
| `1.35.0` -> `2.0.1` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/hcloud/2.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/hcloud/2.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/hcloud/1.35.0/2.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/hcloud/1.35.0/2.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>hetznercloud/hcloud-python (hcloud)</summary>

###
[`v2.0.1`](https://togithub.com/hetznercloud/hcloud-python/blob/HEAD/CHANGELOG.md#201-2024-07-03)

[Compare
Source](https://togithub.com/hetznercloud/hcloud-python/compare/v2.0.0...v2.0.1)

##### Bug Fixes

- `assignee_type` is required when creating a primary ip
([#&#8203;409](https://togithub.com/hetznercloud/hcloud-python/issues/409))
([bce5e94](bce5e940e2))
- clean unused arguments in the `Client.servers.rebuild` method
([#&#8203;407](https://togithub.com/hetznercloud/hcloud-python/issues/407))
([6d33c3c](6d33c3cff5))
- details are optional in API errors
([#&#8203;411](https://togithub.com/hetznercloud/hcloud-python/issues/411))
([f1c6594](f1c6594dee))
- rename `trace_id` variable to `correlation_id`
([#&#8203;408](https://togithub.com/hetznercloud/hcloud-python/issues/408))
([66a0f54](66a0f54699))

###
[`v2.0.0`](https://togithub.com/hetznercloud/hcloud-python/blob/HEAD/CHANGELOG.md#200-2024-07-03)

[Compare
Source](https://togithub.com/hetznercloud/hcloud-python/compare/v1.35.0...v2.0.0)

##### ⚠ BREAKING CHANGES

- return full rebuild response in `Client.servers.rebuild`
([#&#8203;406](https://togithub.com/hetznercloud/hcloud-python/issues/406))
- make `datacenter` argument optional when creating a primary ip
([#&#8203;363](https://togithub.com/hetznercloud/hcloud-python/issues/363))
- remove deprecated `include_wildcard_architecture` argument in
`IsosClient.get_list` and `IsosClient.get_all`
([#&#8203;402](https://togithub.com/hetznercloud/hcloud-python/issues/402))
- make `Client.request` `tries` a private argument
([#&#8203;399](https://togithub.com/hetznercloud/hcloud-python/issues/399))
- make `Client.poll_interval` a private property
([#&#8203;398](https://togithub.com/hetznercloud/hcloud-python/issues/398))
- return empty dict on empty responses in `Client.request`
([#&#8203;400](https://togithub.com/hetznercloud/hcloud-python/issues/400))
- remove deprecated `hcloud.hcloud` module
([#&#8203;401](https://togithub.com/hetznercloud/hcloud-python/issues/401))
- move `hcloud.__version__.VERSION` to `hcloud.__version__`
([#&#8203;397](https://togithub.com/hetznercloud/hcloud-python/issues/397))

##### Features

- add `trace_id` to API exceptions
([#&#8203;404](https://togithub.com/hetznercloud/hcloud-python/issues/404))
([8375261](8375261da3))
- allow using a custom poll_interval function
([#&#8203;403](https://togithub.com/hetznercloud/hcloud-python/issues/403))
([93eb56b](93eb56ba4d))
- make `Client.poll_interval` a private property
([#&#8203;398](https://togithub.com/hetznercloud/hcloud-python/issues/398))
([d5f24db](d5f24db281))
- make `Client.request` `tries` a private argument
([#&#8203;399](https://togithub.com/hetznercloud/hcloud-python/issues/399))
([428ea7e](428ea7e3be))
- move `hcloud.__version__.VERSION` to `hcloud.__version__`
([#&#8203;397](https://togithub.com/hetznercloud/hcloud-python/issues/397))
([4e3f638](4e3f638862)),
closes
[#&#8203;234](https://togithub.com/hetznercloud/hcloud-python/issues/234)
- remove deprecated `hcloud.hcloud` module
([#&#8203;401](https://togithub.com/hetznercloud/hcloud-python/issues/401))
([db37e63](db37e633eb))
- remove deprecated `include_wildcard_architecture` argument in
`IsosClient.get_list` and `IsosClient.get_all`
([#&#8203;402](https://togithub.com/hetznercloud/hcloud-python/issues/402))
([6b977e2](6b977e2da5))
- return empty dict on empty responses in `Client.request`
([#&#8203;400](https://togithub.com/hetznercloud/hcloud-python/issues/400))
([9f46adb](9f46adb946))
- return full rebuild response in `Client.servers.rebuild`
([#&#8203;406](https://togithub.com/hetznercloud/hcloud-python/issues/406))
([1970d84](1970d84bec))

##### Bug Fixes

- make `datacenter` argument optional when creating a primary ip
([#&#8203;363](https://togithub.com/hetznercloud/hcloud-python/issues/363))
([ebef774](ebef77464c))

##### Dependencies

- update dependency coverage to >=7.5,<7.6
([#&#8203;386](https://togithub.com/hetznercloud/hcloud-python/issues/386))
([5660691](5660691ebd))
- update dependency mypy to >=1.10,<1.11
([#&#8203;387](https://togithub.com/hetznercloud/hcloud-python/issues/387))
([35c933b](35c933bd21))
- update dependency myst-parser to v3
([#&#8203;385](https://togithub.com/hetznercloud/hcloud-python/issues/385))
([9f18270](9f18270489))
- update dependency pylint to >=3,<3.3
([#&#8203;391](https://togithub.com/hetznercloud/hcloud-python/issues/391))
([4a6f005](4a6f005cb0))
- update dependency pytest to >=8,<8.3
([#&#8203;390](https://togithub.com/hetznercloud/hcloud-python/issues/390))
([584a36b](584a36b658))
- update dependency sphinx to >=7.3.4,<7.4
([#&#8203;383](https://togithub.com/hetznercloud/hcloud-python/issues/383))
([69c2e16](69c2e16073))
- update pre-commit hook asottile/pyupgrade to v3.16.0
([0ce5fbc](0ce5fbccba))
- update pre-commit hook pre-commit/pre-commit-hooks to v4.6.0
([5ef25ab](5ef25ab396))
- update pre-commit hook psf/black-pre-commit-mirror to v24.4.0
([0941fbf](0941fbfab2))
- update pre-commit hook psf/black-pre-commit-mirror to v24.4.1
([fec08c5](fec08c5323))
- update pre-commit hook psf/black-pre-commit-mirror to v24.4.2
([#&#8203;389](https://togithub.com/hetznercloud/hcloud-python/issues/389))
([2b2e21f](2b2e21f613))
- update pre-commit hook pycqa/flake8 to v7.1.0
([3bc651d](3bc651d50d))

##### Documentation

- add v2 upgrade notes
([#&#8203;405](https://togithub.com/hetznercloud/hcloud-python/issues/405))
([c77f771](c77f771e2b))
- cx11 is name, not an id
([#&#8203;381](https://togithub.com/hetznercloud/hcloud-python/issues/381))
([b745d40](b745d4049f))

</details>

---

### 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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/ansible-collections/hetzner.hcloud).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjEuOSIsInVwZGF0ZWRJblZlciI6IjM3LjQyMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2024-07-03 15:05:12 +02:00
Hetzner Cloud Bot
03dfeb2f2b
chore(main): release 4.0.1 (#517)
🤖 I have created a release *beep* *boop*
---


##
[4.0.1](https://github.com/ansible-collections/hetzner.hcloud/compare/4.0.0...4.0.1)
(2024-06-11)


### Bug Fixes

* keep deprecated alias for another major version
([#515](https://github.com/ansible-collections/hetzner.hcloud/issues/515))
([49e21ae](49e21ae4fe))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-06-11 16:57:06 +02:00
Hetzner Cloud Bot
19e5595a9c
chore(main): release 4.0.0 (#514)
🤖 I have created a release *beep* *boop*
---


##
[4.0.0](https://github.com/ansible-collections/hetzner.hcloud/compare/3.1.1...4.0.0)
(2024-06-11)


### ⚠ BREAKING CHANGES

* drop support for ansible-core 2.14
([#512](https://github.com/ansible-collections/hetzner.hcloud/issues/512))

### Features

* drop support for ansible-core 2.14
([#512](https://github.com/ansible-collections/hetzner.hcloud/issues/512))
([8157f9a](8157f9a250))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-06-11 16:28:36 +02:00
Hetzner Cloud Bot
b42ebac72d
chore(main): release 3.1.1 (#497)
🤖 I have created a release *beep* *boop*
---


##
[3.1.1](https://github.com/ansible-collections/hetzner.hcloud/compare/3.1.0...3.1.1)
(2024-04-16)


### Bug Fixes

* **inventory:** ensure host ipv6 variable is json serializable
([#496](https://github.com/ansible-collections/hetzner.hcloud/issues/496))
([a98cf72](a98cf72f92))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-04-16 12:27:43 +02:00
Hetzner Cloud Bot
fd58b559cf
chore(main): release 3.1.0 (#460)
🤖 I have created a release *beep* *boop*
---


##
[3.1.0](https://github.com/ansible-collections/hetzner.hcloud/compare/3.0.0...3.1.0)
(2024-04-15)


### Features

* assign primary ip to a server on create
([#465](https://github.com/ansible-collections/hetzner.hcloud/issues/465))
([51afb23](51afb23166))
* rename server `image_allow_deprecated` option
([#487](https://github.com/ansible-collections/hetzner.hcloud/issues/487))
([d88ecdb](d88ecdbccc))
* use resources name or ID in server module arguments
([#484](https://github.com/ansible-collections/hetzner.hcloud/issues/484))
([7fdefcf](7fdefcfa02))


### Bug Fixes

* improve actions waiting timeout based on data
([#488](https://github.com/ansible-collections/hetzner.hcloud/issues/488))
([0709552](07095529a4))
* return sorted `alias_ips` in `server_network` module
([#458](https://github.com/ansible-collections/hetzner.hcloud/issues/458))
([1ae6769](1ae6769210))
* use empty string to remove server from its placement group
([#489](https://github.com/ansible-collections/hetzner.hcloud/issues/489))
([00a4fdd](00a4fdd58a))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-04-15 12:26:31 +02:00
renovate[bot]
1d95b85e09
deps: update dependency hcloud to v1.35.0 (#483)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [hcloud](https://togithub.com/hetznercloud/hcloud-python)
([changelog](https://togithub.com/hetznercloud/hcloud-python/blob/main/CHANGELOG.md))
| `1.34.0` -> `1.35.0` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/hcloud/1.35.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/hcloud/1.35.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/hcloud/1.34.0/1.35.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/hcloud/1.34.0/1.35.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>hetznercloud/hcloud-python (hcloud)</summary>

###
[`v1.35.0`](https://togithub.com/hetznercloud/hcloud-python/blob/HEAD/CHANGELOG.md#1350-2024-04-02)

[Compare
Source](https://togithub.com/hetznercloud/hcloud-python/compare/v1.34.0...v1.35.0)

##### Features

- add `include_deprecated` option when fetching images by name
([#&#8203;375](https://togithub.com/hetznercloud/hcloud-python/issues/375))
([6d86f86](6d86f86677))

##### Bug Fixes

- raise warnings for the `ImagesClient.get_by_name` deprecation
([#&#8203;376](https://togithub.com/hetznercloud/hcloud-python/issues/376))
([b24de80](b24de80684))

</details>

---

### 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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/ansible-collections/hetzner.hcloud).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2024-04-02 19:21:29 +02:00
renovate[bot]
ac80d2ba7c
deps: update dependency hcloud to v1.34.0 (#480)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [hcloud](https://togithub.com/hetznercloud/hcloud-python)
([changelog](https://togithub.com/hetznercloud/hcloud-python/blob/main/CHANGELOG.md))
| `1.33.3` -> `1.34.0` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/hcloud/1.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/hcloud/1.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/hcloud/1.33.3/1.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/hcloud/1.33.3/1.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>hetznercloud/hcloud-python (hcloud)</summary>

###
[`v1.34.0`](https://togithub.com/hetznercloud/hcloud-python/blob/HEAD/CHANGELOG.md#1340-2024-03-27)

[Compare
Source](https://togithub.com/hetznercloud/hcloud-python/compare/v1.33.3...v1.34.0)

##### Features

- add `has_id_or_name` to `DomainIdentityMixin`
([#&#8203;373](https://togithub.com/hetznercloud/hcloud-python/issues/373))
([8facaf6](8facaf6d4d))

</details>

---

### 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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/ansible-collections/hetzner.hcloud).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2024-03-27 17:17:35 +01:00
renovate[bot]
64f7824cc8
deps: update dependency hcloud to v1.33.3 (#479)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [hcloud](https://togithub.com/hetznercloud/hcloud-python)
([changelog](https://togithub.com/hetznercloud/hcloud-python/blob/main/CHANGELOG.md))
| `1.33.2` -> `1.33.3` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/hcloud/1.33.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/hcloud/1.33.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/hcloud/1.33.2/1.33.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/hcloud/1.33.2/1.33.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>hetznercloud/hcloud-python (hcloud)</summary>

###
[`v1.33.3`](https://togithub.com/hetznercloud/hcloud-python/blob/HEAD/CHANGELOG.md#1333-2024-03-27)

[Compare
Source](https://togithub.com/hetznercloud/hcloud-python/compare/v1.33.2...v1.33.3)

##### Bug Fixes

- invalid type for load balancer private network property
([#&#8203;372](https://togithub.com/hetznercloud/hcloud-python/issues/372))
([903e92f](903e92faab))

##### Dependencies

- update codecov/codecov-action action to v4
([#&#8203;359](https://togithub.com/hetznercloud/hcloud-python/issues/359))
([a798979](a79897977a))
- update dependency mypy to >=1.9,<1.10
([#&#8203;368](https://togithub.com/hetznercloud/hcloud-python/issues/368))
([4b9328c](4b9328ceae))
- update dependency pylint to >=3,<3.2
([#&#8203;364](https://togithub.com/hetznercloud/hcloud-python/issues/364))
([d71d17f](d71d17fd6f))
- update dependency pytest to >=8,<8.2
([#&#8203;366](https://togithub.com/hetznercloud/hcloud-python/issues/366))
([8665dcf](8665dcff33))
- update dependency pytest to v8
([#&#8203;357](https://togithub.com/hetznercloud/hcloud-python/issues/357))
([f8f756f](f8f756fe0a))
- update dependency pytest-cov to v5
([#&#8203;371](https://togithub.com/hetznercloud/hcloud-python/issues/371))
([04a6a42](04a6a42028))
- update dependency watchdog to v4
([#&#8203;360](https://togithub.com/hetznercloud/hcloud-python/issues/360))
([cb8d383](cb8d38396a))
- update pre-commit hook asottile/pyupgrade to v3.15.1
([#&#8203;362](https://togithub.com/hetznercloud/hcloud-python/issues/362))
([dd2a521](dd2a521ecc))
- update pre-commit hook asottile/pyupgrade to v3.15.2
([3d02ad7](3d02ad71e9))
- update pre-commit hook psf/black-pre-commit-mirror to v24
([#&#8203;356](https://togithub.com/hetznercloud/hcloud-python/issues/356))
([b46397d](b46397d761))
- update pre-commit hook psf/black-pre-commit-mirror to v24.1.1
([#&#8203;358](https://togithub.com/hetznercloud/hcloud-python/issues/358))
([7e4645e](7e4645e3e3))
- update pre-commit hook psf/black-pre-commit-mirror to v24.2.0
([#&#8203;361](https://togithub.com/hetznercloud/hcloud-python/issues/361))
([5b56ace](5b56ace93b))
- update pre-commit hook psf/black-pre-commit-mirror to v24.3.0
([3bbac5d](3bbac5dc41))
- update pre-commit hook pycqa/flake8 to v7
([#&#8203;354](https://togithub.com/hetznercloud/hcloud-python/issues/354))
([66a582f](66a582f3ce))
- update pypa/gh-action-pypi-publish action to v1.8.12
([#&#8203;365](https://togithub.com/hetznercloud/hcloud-python/issues/365))
([55db255](55db2551dd))
- update pypa/gh-action-pypi-publish action to v1.8.14
([#&#8203;367](https://togithub.com/hetznercloud/hcloud-python/issues/367))
([0cb615f](0cb615fe0d))

</details>

---

### 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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/ansible-collections/hetzner.hcloud).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2024-03-27 10:45:30 +01:00
Jonas L
e781f48f15
chore: add fail_on_invalid_params helper (#470)
##### SUMMARY

Add a small helper to validate parameters while executing the module.

---------

Co-authored-by: Justin Jeffery <justin.jeffery@ipfabric.io>
2024-03-11 18:03:26 +01:00
Hetzner Cloud Bot
4db57dcf22
chore(main): release 3.0.0 (#451)
🤖 I have created a release *beep* *boop*
---


##
[3.0.0](https://github.com/ansible-collections/hetzner.hcloud/compare/2.5.0...3.0.0)
(2024-02-05)


### ⚠ BREAKING CHANGES

* drop support for ansible-core 2.13
([#450](https://github.com/ansible-collections/hetzner.hcloud/issues/450))
* always return iso-8601 formatted date time
([#453](https://github.com/ansible-collections/hetzner.hcloud/issues/453))
* remove inventory `api_token_env` option
([#454](https://github.com/ansible-collections/hetzner.hcloud/issues/454))

### Features

* drop support for ansible-core 2.13
([#450](https://github.com/ansible-collections/hetzner.hcloud/issues/450))
([96f8009](96f8009214)),
closes
[#400](https://github.com/ansible-collections/hetzner.hcloud/issues/400)
* **inventory:** allow templating instances hostname
([#455](https://github.com/ansible-collections/hetzner.hcloud/issues/455))
([be404ef](be404ef181))
* remove inventory `api_token_env` option
([#454](https://github.com/ansible-collections/hetzner.hcloud/issues/454))
([d0c82ae](d0c82aec86))


### Bug Fixes

* allow renaming networks
([#449](https://github.com/ansible-collections/hetzner.hcloud/issues/449))
([742cfe6](742cfe6d74))
* always return iso-8601 formatted date time
([#453](https://github.com/ansible-collections/hetzner.hcloud/issues/453))
([55d2616](55d26162b3))
* load balancer invalid cookie lifetime value returned
([#452](https://github.com/ansible-collections/hetzner.hcloud/issues/452))
([86b7662](86b76620da))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-02-05 16:19:20 +01:00
Hetzner Cloud Bot
3d689aa992
chore(main): release 2.5.0 (#419)
🤖 I have created a release *beep* *boop*
---


##
[2.5.0](https://github.com/ansible-collections/hetzner.hcloud/compare/2.4.1...2.5.0)
(2024-02-02)


### Features

* add `hostvars_prefix` and `hostvars_suffix` options to inventory
hostvars
([#423](https://github.com/ansible-collections/hetzner.hcloud/issues/423))
([4e3f89a](4e3f89aed3))
* allow forcing the deletion of firewalls that are still in use
([#447](https://github.com/ansible-collections/hetzner.hcloud/issues/447))
([559d315](559d31561a))
* improve firewall resources management
([#324](https://github.com/ansible-collections/hetzner.hcloud/issues/324))
([2757fe7](2757fe745f))
* replace `ansible.netcommon` utils with python3 `ipaddress` module
([#416](https://github.com/ansible-collections/hetzner.hcloud/issues/416))
([4cfdf50](4cfdf50b26))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
2024-02-02 10:45:50 +01:00
renovate[bot]
ec80865b7f
deps: update dependency hcloud to v1.33.2 (#439)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [hcloud](https://togithub.com/hetznercloud/hcloud-python)
([changelog](https://togithub.com/hetznercloud/hcloud-python/blob/main/CHANGELOG.md))
| `1.33.0` -> `1.33.2` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/hcloud/1.33.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/hcloud/1.33.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/hcloud/1.33.0/1.33.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/hcloud/1.33.0/1.33.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>hetznercloud/hcloud-python (hcloud)</summary>

###
[`v1.33.2`](https://togithub.com/hetznercloud/hcloud-python/blob/HEAD/CHANGELOG.md#1332-2024-01-02)

[Compare
Source](https://togithub.com/hetznercloud/hcloud-python/compare/v1.33.0...v1.33.2)

##### Bug Fixes

- publish package to PyPI using OIDC auth
([1a0e93b](1a0e93bbf1))

</details>

---

### 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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/ansible-collections/hetzner.hcloud).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
2024-01-03 12:00:33 +01:00
Jonas L
4cbf9a2838
refactor: add no return typings (#433)
Fixes type checking (false unbound variables), for the fail json helper
function that never returns (system exit).
2023-12-21 17:44:42 +01:00