diff --git a/.github/release-please-manifest.json b/.github/release-please-manifest.json index b2b35cf9..bf3f6b15 100644 --- a/.github/release-please-manifest.json +++ b/.github/release-please-manifest.json @@ -1 +1 @@ -{".":"2.5.0"} +{".":"3.0.0"} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 2a40778f..83d1d399 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,30 @@ Hetzner Cloud Ansible Collection Release Notes .. contents:: Topics +v3.0.0 +====== + +Minor Changes +------------- + +- inventory - Add `hostname` option used to template the hostname of the instances. +- network - Allow renaming networks. + +Breaking Changes / Porting Guide +-------------------------------- + +- Drop support for ansible-core 2.13. +- certificate - The `not_valid_before` and `not_valid_after` values are now returned as ISO-8601 formatted strings. +- certificate_info - The `not_valid_before` and `not_valid_after` values are now returned as ISO-8601 formatted strings. +- inventory - Remove the deprecated `api_token_env` option, you may use the `ansible.builtin.env` lookup as alternative. +- iso_info - The `deprecated` value is now returned as ISO-8601 formatted strings. + +Bugfixes +-------- + +- load_balancer_info - Correctly return the `cookie_lifetime` value. +- load_balancer_service - Correctly return the `cookie_lifetime` value. + v2.5.0 ====== diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index cba50972..20002460 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -488,3 +488,28 @@ releases: name: firewall_resource namespace: '' release_date: '2024-02-02' + 3.0.0: + changes: + breaking_changes: + - Drop support for ansible-core 2.13. + - certificate - The `not_valid_before` and `not_valid_after` values are now + returned as ISO-8601 formatted strings. + - certificate_info - The `not_valid_before` and `not_valid_after` values are + now returned as ISO-8601 formatted strings. + - inventory - Remove the deprecated `api_token_env` option, you may use the + `ansible.builtin.env` lookup as alternative. + - iso_info - The `deprecated` value is now returned as ISO-8601 formatted strings. + bugfixes: + - load_balancer_info - Correctly return the `cookie_lifetime` value. + - load_balancer_service - Correctly return the `cookie_lifetime` value. + minor_changes: + - inventory - Add `hostname` option used to template the hostname of the instances. + - network - Allow renaming networks. + fragments: + - add-inventory-hostname-option.yml + - allow-renaming-networks.yml + - drop-support-for-ansible-core-2.13.yml + - fix-always-return-iso-8601-formatted-datetime.yml + - fix-load-balancer-cookie-lifetime.yml + - remove-inventory-api_token_env-option.yml + release_date: '2024-02-05' diff --git a/changelogs/dev-changelog.md b/changelogs/dev-changelog.md index 9fbbf81a..1a6cd55b 100644 --- a/changelogs/dev-changelog.md +++ b/changelogs/dev-changelog.md @@ -1,5 +1,27 @@ # Changelog +## [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](https://github.com/ansible-collections/hetzner.hcloud/commit/96f8009214d5d57357cf165bfa5e7c3507d0d6e1)), 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](https://github.com/ansible-collections/hetzner.hcloud/commit/be404ef18165c933fbdd7de92773d38e3426efec)) +* remove inventory `api_token_env` option ([#454](https://github.com/ansible-collections/hetzner.hcloud/issues/454)) ([d0c82ae](https://github.com/ansible-collections/hetzner.hcloud/commit/d0c82aec86f844ccb1dcc07ec4acf9eedc87730d)) + + +### Bug Fixes + +* allow renaming networks ([#449](https://github.com/ansible-collections/hetzner.hcloud/issues/449)) ([742cfe6](https://github.com/ansible-collections/hetzner.hcloud/commit/742cfe6d7446d0b54240de5342ef8bb9679cff64)) +* always return iso-8601 formatted date time ([#453](https://github.com/ansible-collections/hetzner.hcloud/issues/453)) ([55d2616](https://github.com/ansible-collections/hetzner.hcloud/commit/55d26162b329cbb5bcff8ed63e5960bef4a897c8)) +* load balancer invalid cookie lifetime value returned ([#452](https://github.com/ansible-collections/hetzner.hcloud/issues/452)) ([86b7662](https://github.com/ansible-collections/hetzner.hcloud/commit/86b76620daf9684edffefcb0f3d3d0220bbe5f2c)) + ## [2.5.0](https://github.com/ansible-collections/hetzner.hcloud/compare/2.4.1...2.5.0) (2024-02-02) diff --git a/changelogs/fragments/add-inventory-hostname-option.yml b/changelogs/fragments/add-inventory-hostname-option.yml deleted file mode 100644 index 3e59a429..00000000 --- a/changelogs/fragments/add-inventory-hostname-option.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - inventory - Add `hostname` option used to template the hostname of the instances. diff --git a/changelogs/fragments/allow-renaming-networks.yml b/changelogs/fragments/allow-renaming-networks.yml deleted file mode 100644 index 9220ddb0..00000000 --- a/changelogs/fragments/allow-renaming-networks.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - network - Allow renaming networks. diff --git a/changelogs/fragments/drop-support-for-ansible-core-2.13.yml b/changelogs/fragments/drop-support-for-ansible-core-2.13.yml deleted file mode 100644 index e9741dc1..00000000 --- a/changelogs/fragments/drop-support-for-ansible-core-2.13.yml +++ /dev/null @@ -1,2 +0,0 @@ -breaking_changes: - - Drop support for ansible-core 2.13. diff --git a/changelogs/fragments/fix-always-return-iso-8601-formatted-datetime.yml b/changelogs/fragments/fix-always-return-iso-8601-formatted-datetime.yml deleted file mode 100644 index 8c38dcae..00000000 --- a/changelogs/fragments/fix-always-return-iso-8601-formatted-datetime.yml +++ /dev/null @@ -1,4 +0,0 @@ -breaking_changes: - - certificate_info - The `not_valid_before` and `not_valid_after` values are now returned as ISO-8601 formatted strings. - - certificate - The `not_valid_before` and `not_valid_after` values are now returned as ISO-8601 formatted strings. - - iso_info - The `deprecated` value is now returned as ISO-8601 formatted strings. diff --git a/changelogs/fragments/fix-load-balancer-cookie-lifetime.yml b/changelogs/fragments/fix-load-balancer-cookie-lifetime.yml deleted file mode 100644 index 73f60666..00000000 --- a/changelogs/fragments/fix-load-balancer-cookie-lifetime.yml +++ /dev/null @@ -1,3 +0,0 @@ -bugfixes: - - load_balancer_service - Correctly return the `cookie_lifetime` value. - - load_balancer_info - Correctly return the `cookie_lifetime` value. diff --git a/changelogs/fragments/remove-inventory-api_token_env-option.yml b/changelogs/fragments/remove-inventory-api_token_env-option.yml deleted file mode 100644 index 96046275..00000000 --- a/changelogs/fragments/remove-inventory-api_token_env-option.yml +++ /dev/null @@ -1,2 +0,0 @@ -breaking_changes: - - inventory - Remove the deprecated `api_token_env` option, you may use the `ansible.builtin.env` lookup as alternative. diff --git a/galaxy.yml b/galaxy.yml index 98f57cc1..2afe37d0 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,6 +1,6 @@ namespace: hetzner name: hcloud -version: 2.5.0 +version: 3.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 e78c320a..8ce523ea 100644 --- a/plugins/module_utils/version.py +++ b/plugins/module_utils/version.py @@ -1,3 +1,3 @@ from __future__ import annotations -version = "2.5.0" # x-release-please-version +version = "3.0.0" # x-release-please-version