From ac1b8bdbf75b7660c6ab74320a4f2bd4bb3e56c7 Mon Sep 17 00:00:00 2001 From: Hetzner Cloud Bot <45457231+hcloud-bot@users.noreply.github.com> Date: Wed, 21 May 2025 17:06:52 +0200 Subject: [PATCH] chore(main): release 5.0.0 (#613) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit :robot: 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](https://github.com/ansible-collections/hetzner.hcloud/commit/c37cdf0bc654eeeb987e6407648ce8e6a0aed599)) * allow renaming a server ([#619](https://github.com/ansible-collections/hetzner.hcloud/issues/619)) ([e59e787](https://github.com/ansible-collections/hetzner.hcloud/commit/e59e787d9927041d1c50261476e6df6c58d71869)) * drop support for ansible-core 2.15 ([#611](https://github.com/ansible-collections/hetzner.hcloud/issues/611)) ([92f1354](https://github.com/ansible-collections/hetzner.hcloud/commit/92f135456fa6caff29e832d99db9870ae9c61aaf)) * drop support for ansible-core 2.16 ([#612](https://github.com/ansible-collections/hetzner.hcloud/issues/612)) ([140d150](https://github.com/ansible-collections/hetzner.hcloud/commit/140d1508ccb8adb1d8fc2f64e446e993bfc02336)) * drop support for python 3.8 ([#615](https://github.com/ansible-collections/hetzner.hcloud/issues/615)) ([b82e18f](https://github.com/ansible-collections/hetzner.hcloud/commit/b82e18ffbdf8a584b89d43970f6f0cb63d5ac3b8)) ### Bug Fixes * do not detach volume if `server` is not provided ([#632](https://github.com/ansible-collections/hetzner.hcloud/issues/632)) ([e8fda35](https://github.com/ansible-collections/hetzner.hcloud/commit/e8fda3557cf835e4e711a934b46d4f672f9b517c)) * prevent host variable name collision with ansible reserved names ([#617](https://github.com/ansible-collections/hetzner.hcloud/issues/617)) ([5de425c](https://github.com/ansible-collections/hetzner.hcloud/commit/5de425c90c3ea365ebd24527cce5828a1debd35b)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- .github/release-please-manifest.json | 2 +- CHANGELOG.rst | 18 ++++++++++++++ changelogs/changelog.yaml | 24 +++++++++++++++++++ changelogs/dev-changelog.md | 24 +++++++++++++++++++ .../add-volume-attachment-module.yml | 2 -- ...ange-default-inventory-hostvars-prefix.yml | 4 ---- .../drop-support-for-ansible-2.15.yml | 2 -- .../drop-support-for-ansible-2.16.yml | 2 -- .../fragments/drop-support-for-python-3.8.yml | 2 -- .../fragments/remove-auto-detach-volume.yml | 2 -- changelogs/fragments/renaming-a-server.yml | 2 -- galaxy.yml | 2 +- plugins/module_utils/version.py | 2 +- 13 files changed, 69 insertions(+), 19 deletions(-) delete mode 100644 changelogs/fragments/add-volume-attachment-module.yml delete mode 100644 changelogs/fragments/change-default-inventory-hostvars-prefix.yml delete mode 100644 changelogs/fragments/drop-support-for-ansible-2.15.yml delete mode 100644 changelogs/fragments/drop-support-for-ansible-2.16.yml delete mode 100644 changelogs/fragments/drop-support-for-python-3.8.yml delete mode 100644 changelogs/fragments/remove-auto-detach-volume.yml delete mode 100644 changelogs/fragments/renaming-a-server.yml diff --git a/.github/release-please-manifest.json b/.github/release-please-manifest.json index 21ef553..c98797a 100644 --- a/.github/release-please-manifest.json +++ b/.github/release-please-manifest.json @@ -1 +1 @@ -{".":"4.3.0"} +{".":"5.0.0"} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 4f84ea9..135c428 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,24 @@ Hetzner Cloud Ansible Collection Release Notes .. contents:: Topics +v5.0.0 +====== + +Minor Changes +------------- + +- server - Allow renaming a server. +- volume_attachment - Add new `volume_attachment` module to manage Volumes attachment. + +Breaking Changes / Porting Guide +-------------------------------- + +- Drop support for ansible-core 2.15. +- Drop support for ansible-core 2.16. +- Drop support for python 3.8. +- inventory - The default value for the `hostvars_prefix` option is now set to `hcloud_`. Make sure to update all references to host variables provided by the inventory. You may revert this change by setting the `hostvars_prefix` option to `""`. +- volume - Volumes are no longer detached when the server argument is not provided. Please use the ``volume_attachment`` module to manage volume attachments. + v4.3.0 ====== diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 347dcbc..4c91e8e 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -622,3 +622,27 @@ releases: fragments: - server-add-created-state.yml release_date: '2025-03-21' + 5.0.0: + changes: + breaking_changes: + - Drop support for ansible-core 2.15. + - Drop support for ansible-core 2.16. + - Drop support for python 3.8. + - inventory - The default value for the `hostvars_prefix` option is now set + to `hcloud_`. Make sure to update all references to host variables provided + by the inventory. You may revert this change by setting the `hostvars_prefix` + option to `""`. + - volume - Volumes are no longer detached when the server argument is not provided. + Please use the ``volume_attachment`` module to manage volume attachments. + minor_changes: + - server - Allow renaming a server. + - volume_attachment - Add new `volume_attachment` module to manage Volumes attachment. + fragments: + - add-volume-attachment-module.yml + - change-default-inventory-hostvars-prefix.yml + - drop-support-for-ansible-2.15.yml + - drop-support-for-ansible-2.16.yml + - drop-support-for-python-3.8.yml + - remove-auto-detach-volume.yml + - renaming-a-server.yml + release_date: '2025-05-21' diff --git a/changelogs/dev-changelog.md b/changelogs/dev-changelog.md index 232e703..ef90209 100644 --- a/changelogs/dev-changelog.md +++ b/changelogs/dev-changelog.md @@ -1,5 +1,29 @@ # Changelog +## [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](https://github.com/ansible-collections/hetzner.hcloud/commit/c37cdf0bc654eeeb987e6407648ce8e6a0aed599)) +* allow renaming a server ([#619](https://github.com/ansible-collections/hetzner.hcloud/issues/619)) ([e59e787](https://github.com/ansible-collections/hetzner.hcloud/commit/e59e787d9927041d1c50261476e6df6c58d71869)) +* drop support for ansible-core 2.15 ([#611](https://github.com/ansible-collections/hetzner.hcloud/issues/611)) ([92f1354](https://github.com/ansible-collections/hetzner.hcloud/commit/92f135456fa6caff29e832d99db9870ae9c61aaf)) +* drop support for ansible-core 2.16 ([#612](https://github.com/ansible-collections/hetzner.hcloud/issues/612)) ([140d150](https://github.com/ansible-collections/hetzner.hcloud/commit/140d1508ccb8adb1d8fc2f64e446e993bfc02336)) +* drop support for python 3.8 ([#615](https://github.com/ansible-collections/hetzner.hcloud/issues/615)) ([b82e18f](https://github.com/ansible-collections/hetzner.hcloud/commit/b82e18ffbdf8a584b89d43970f6f0cb63d5ac3b8)) + + +### Bug Fixes + +* do not detach volume if `server` is not provided ([#632](https://github.com/ansible-collections/hetzner.hcloud/issues/632)) ([e8fda35](https://github.com/ansible-collections/hetzner.hcloud/commit/e8fda3557cf835e4e711a934b46d4f672f9b517c)) +* prevent host variable name collision with ansible reserved names ([#617](https://github.com/ansible-collections/hetzner.hcloud/issues/617)) ([5de425c](https://github.com/ansible-collections/hetzner.hcloud/commit/5de425c90c3ea365ebd24527cce5828a1debd35b)) + ## [4.3.0](https://github.com/ansible-collections/hetzner.hcloud/compare/4.2.2...4.3.0) (2025-03-21) diff --git a/changelogs/fragments/add-volume-attachment-module.yml b/changelogs/fragments/add-volume-attachment-module.yml deleted file mode 100644 index 149869c..0000000 --- a/changelogs/fragments/add-volume-attachment-module.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - volume_attachment - Add new `volume_attachment` module to manage Volumes attachment. diff --git a/changelogs/fragments/change-default-inventory-hostvars-prefix.yml b/changelogs/fragments/change-default-inventory-hostvars-prefix.yml deleted file mode 100644 index 0d6c379..0000000 --- a/changelogs/fragments/change-default-inventory-hostvars-prefix.yml +++ /dev/null @@ -1,4 +0,0 @@ -breaking_changes: - - inventory - The default value for the `hostvars_prefix` option is now set to `hcloud_`. - Make sure to update all references to host variables provided by the inventory. You - may revert this change by setting the `hostvars_prefix` option to `""`. diff --git a/changelogs/fragments/drop-support-for-ansible-2.15.yml b/changelogs/fragments/drop-support-for-ansible-2.15.yml deleted file mode 100644 index 3883795..0000000 --- a/changelogs/fragments/drop-support-for-ansible-2.15.yml +++ /dev/null @@ -1,2 +0,0 @@ -breaking_changes: - - Drop support for ansible-core 2.15. diff --git a/changelogs/fragments/drop-support-for-ansible-2.16.yml b/changelogs/fragments/drop-support-for-ansible-2.16.yml deleted file mode 100644 index ac64a4b..0000000 --- a/changelogs/fragments/drop-support-for-ansible-2.16.yml +++ /dev/null @@ -1,2 +0,0 @@ -breaking_changes: - - Drop support for ansible-core 2.16. diff --git a/changelogs/fragments/drop-support-for-python-3.8.yml b/changelogs/fragments/drop-support-for-python-3.8.yml deleted file mode 100644 index 4bc45d4..0000000 --- a/changelogs/fragments/drop-support-for-python-3.8.yml +++ /dev/null @@ -1,2 +0,0 @@ -breaking_changes: - - Drop support for python 3.8. diff --git a/changelogs/fragments/remove-auto-detach-volume.yml b/changelogs/fragments/remove-auto-detach-volume.yml deleted file mode 100644 index 2c4bd06..0000000 --- a/changelogs/fragments/remove-auto-detach-volume.yml +++ /dev/null @@ -1,2 +0,0 @@ -breaking_changes: - - volume - Volumes are no longer detached when the server argument is not provided. Please use the ``volume_attachment`` module to manage volume attachments. diff --git a/changelogs/fragments/renaming-a-server.yml b/changelogs/fragments/renaming-a-server.yml deleted file mode 100644 index e7319a8..0000000 --- a/changelogs/fragments/renaming-a-server.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - server - Allow renaming a server. diff --git a/galaxy.yml b/galaxy.yml index c6d207f..1eb6d69 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,6 +1,6 @@ namespace: hetzner name: hcloud -version: 4.3.0 +version: 5.0.0 readme: README.md authors: - Hetzner Cloud (github.com/hetznercloud) diff --git a/plugins/module_utils/version.py b/plugins/module_utils/version.py index 62a7e7e..7421aa8 100644 --- a/plugins/module_utils/version.py +++ b/plugins/module_utils/version.py @@ -1,3 +1,3 @@ from __future__ import annotations -version = "4.3.0" # x-release-please-version +version = "5.0.0" # x-release-please-version