From fd58b559cf80b99c6c1269d4d585026bbc41ce75 Mon Sep 17 00:00:00 2001 From: Hetzner Cloud Bot <45457231+hcloud-bot@users.noreply.github.com> Date: Mon, 15 Apr 2024 12:26:31 +0200 Subject: [PATCH] chore(main): release 3.1.0 (#460) :robot: 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](https://github.com/ansible-collections/hetzner.hcloud/commit/51afb2316639d3b996b29544534aaeff6122904c)) * rename server `image_allow_deprecated` option ([#487](https://github.com/ansible-collections/hetzner.hcloud/issues/487)) ([d88ecdb](https://github.com/ansible-collections/hetzner.hcloud/commit/d88ecdbccc0da0a61338d23673adf6a6fded211c)) * use resources name or ID in server module arguments ([#484](https://github.com/ansible-collections/hetzner.hcloud/issues/484)) ([7fdefcf](https://github.com/ansible-collections/hetzner.hcloud/commit/7fdefcfa0243b84a3edb58566ec710e4f4a6db8d)) ### Bug Fixes * improve actions waiting timeout based on data ([#488](https://github.com/ansible-collections/hetzner.hcloud/issues/488)) ([0709552](https://github.com/ansible-collections/hetzner.hcloud/commit/07095529a4a23dc380ab4678963da9dceb665fd4)) * return sorted `alias_ips` in `server_network` module ([#458](https://github.com/ansible-collections/hetzner.hcloud/issues/458)) ([1ae6769](https://github.com/ansible-collections/hetzner.hcloud/commit/1ae6769210b1a845084c88c58a545bebc067ca48)) * use empty string to remove server from its placement group ([#489](https://github.com/ansible-collections/hetzner.hcloud/issues/489)) ([00a4fdd](https://github.com/ansible-collections/hetzner.hcloud/commit/00a4fdd58aba74ab7e8e1a26ff59beea452c2add)) --- 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 | 23 +++++++++++++++ changelogs/changelog.yaml | 29 +++++++++++++++++++ changelogs/dev-changelog.md | 16 ++++++++++ .../primary-ip-assigned-to-server.yml | 2 -- .../fragments/primary-ip-auto-delete.yml | 4 --- .../server-empty-string-arguments.yml | 3 -- ...rename-image_allow_deprecated-argument.yml | 2 -- .../fragments/server-use-id-or-name.yml | 6 ---- .../sort-alias-ips-in-server-network.yml | 2 -- galaxy.yml | 2 +- plugins/module_utils/version.py | 2 +- 12 files changed, 71 insertions(+), 22 deletions(-) delete mode 100644 changelogs/fragments/primary-ip-assigned-to-server.yml delete mode 100644 changelogs/fragments/primary-ip-auto-delete.yml delete mode 100644 changelogs/fragments/server-empty-string-arguments.yml delete mode 100644 changelogs/fragments/server-rename-image_allow_deprecated-argument.yml delete mode 100644 changelogs/fragments/server-use-id-or-name.yml delete mode 100644 changelogs/fragments/sort-alias-ips-in-server-network.yml diff --git a/.github/release-please-manifest.json b/.github/release-please-manifest.json index bf3f6b15..47709bde 100644 --- a/.github/release-please-manifest.json +++ b/.github/release-please-manifest.json @@ -1 +1 @@ -{".":"3.0.0"} +{".":"3.1.0"} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 83d1d399..5cd35520 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,29 @@ Hetzner Cloud Ansible Collection Release Notes .. contents:: Topics +v3.1.0 +====== + +Minor Changes +------------- + +- primary_ip - Use the `server` option to assign a Primary IP being created to a server. +- server - Allow passing Datacenter name or ID to the `datacenter` argument. +- server - Allow passing Image name or ID to the `image` argument. +- server - Allow passing Location name or ID to the `location` argument. +- server - Allow passing SSH Keys names or IDs to the `ssh_keys` argument. +- server - Allow passing Volume names or IDs to the `volumes` argument. +- server - Renamed the `allow_deprecated_image` option to `image_allow_deprecated`. + +Bugfixes +-------- + +- primary_ip - Added the missing `auto_delete` field to the return values. +- primary_ip - The `auto_delete` option is now used when creating or updating a Primary IP. +- primary_ip_info - Added the missing `auto_delete` field to the return values. +- server - Do not remove the server from its placement group when the `placement_group` argument is not specified. +- server - Pass an empty string to the `placement_group` argument to remove a server from its placement group. +- server_network - The returned `alias_ips` list is now sorted. v3.0.0 ====== diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 20002460..240ac923 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -513,3 +513,32 @@ releases: - fix-load-balancer-cookie-lifetime.yml - remove-inventory-api_token_env-option.yml release_date: '2024-02-05' + 3.1.0: + changes: + bugfixes: + - primary_ip - Added the missing `auto_delete` field to the return values. + - primary_ip - The `auto_delete` option is now used when creating or updating + a Primary IP. + - primary_ip_info - Added the missing `auto_delete` field to the return values. + - server - Do not remove the server from its placement group when the `placement_group` + argument is not specified. + - server - Pass an empty string to the `placement_group` argument to remove + a server from its placement group. + - server_network - The returned `alias_ips` list is now sorted. + minor_changes: + - primary_ip - Use the `server` option to assign a Primary IP being created + to a server. + - server - Allow passing Datacenter name or ID to the `datacenter` argument. + - server - Allow passing Image name or ID to the `image` argument. + - server - Allow passing Location name or ID to the `location` argument. + - server - Allow passing SSH Keys names or IDs to the `ssh_keys` argument. + - server - Allow passing Volume names or IDs to the `volumes` argument. + - server - Renamed the `allow_deprecated_image` option to `image_allow_deprecated`. + fragments: + - primary-ip-assigned-to-server.yml + - primary-ip-auto-delete.yml + - server-empty-string-arguments.yml + - server-rename-image_allow_deprecated-argument.yml + - server-use-id-or-name.yml + - sort-alias-ips-in-server-network.yml + release_date: '2024-04-15' diff --git a/changelogs/dev-changelog.md b/changelogs/dev-changelog.md index 1a6cd55b..26d43e42 100644 --- a/changelogs/dev-changelog.md +++ b/changelogs/dev-changelog.md @@ -1,5 +1,21 @@ # Changelog +## [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](https://github.com/ansible-collections/hetzner.hcloud/commit/51afb2316639d3b996b29544534aaeff6122904c)) +* rename server `image_allow_deprecated` option ([#487](https://github.com/ansible-collections/hetzner.hcloud/issues/487)) ([d88ecdb](https://github.com/ansible-collections/hetzner.hcloud/commit/d88ecdbccc0da0a61338d23673adf6a6fded211c)) +* use resources name or ID in server module arguments ([#484](https://github.com/ansible-collections/hetzner.hcloud/issues/484)) ([7fdefcf](https://github.com/ansible-collections/hetzner.hcloud/commit/7fdefcfa0243b84a3edb58566ec710e4f4a6db8d)) + + +### Bug Fixes + +* improve actions waiting timeout based on data ([#488](https://github.com/ansible-collections/hetzner.hcloud/issues/488)) ([0709552](https://github.com/ansible-collections/hetzner.hcloud/commit/07095529a4a23dc380ab4678963da9dceb665fd4)) +* return sorted `alias_ips` in `server_network` module ([#458](https://github.com/ansible-collections/hetzner.hcloud/issues/458)) ([1ae6769](https://github.com/ansible-collections/hetzner.hcloud/commit/1ae6769210b1a845084c88c58a545bebc067ca48)) +* use empty string to remove server from its placement group ([#489](https://github.com/ansible-collections/hetzner.hcloud/issues/489)) ([00a4fdd](https://github.com/ansible-collections/hetzner.hcloud/commit/00a4fdd58aba74ab7e8e1a26ff59beea452c2add)) + ## [3.0.0](https://github.com/ansible-collections/hetzner.hcloud/compare/2.5.0...3.0.0) (2024-02-05) diff --git a/changelogs/fragments/primary-ip-assigned-to-server.yml b/changelogs/fragments/primary-ip-assigned-to-server.yml deleted file mode 100644 index a86c504e..00000000 --- a/changelogs/fragments/primary-ip-assigned-to-server.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - primary_ip - Use the `server` option to assign a Primary IP being created to a server. diff --git a/changelogs/fragments/primary-ip-auto-delete.yml b/changelogs/fragments/primary-ip-auto-delete.yml deleted file mode 100644 index ed6bf768..00000000 --- a/changelogs/fragments/primary-ip-auto-delete.yml +++ /dev/null @@ -1,4 +0,0 @@ -bugfixes: - - primary_ip - Added the missing `auto_delete` field to the return values. - - primary_ip_info - Added the missing `auto_delete` field to the return values. - - primary_ip - The `auto_delete` option is now used when creating or updating a Primary IP. diff --git a/changelogs/fragments/server-empty-string-arguments.yml b/changelogs/fragments/server-empty-string-arguments.yml deleted file mode 100644 index 4b82edbe..00000000 --- a/changelogs/fragments/server-empty-string-arguments.yml +++ /dev/null @@ -1,3 +0,0 @@ -bugfixes: - - server - Do not remove the server from its placement group when the `placement_group` argument is not specified. - - server - Pass an empty string to the `placement_group` argument to remove a server from its placement group. diff --git a/changelogs/fragments/server-rename-image_allow_deprecated-argument.yml b/changelogs/fragments/server-rename-image_allow_deprecated-argument.yml deleted file mode 100644 index f420894c..00000000 --- a/changelogs/fragments/server-rename-image_allow_deprecated-argument.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - server - Renamed the `allow_deprecated_image` option to `image_allow_deprecated`. diff --git a/changelogs/fragments/server-use-id-or-name.yml b/changelogs/fragments/server-use-id-or-name.yml deleted file mode 100644 index 94537356..00000000 --- a/changelogs/fragments/server-use-id-or-name.yml +++ /dev/null @@ -1,6 +0,0 @@ -minor_changes: - - server - Allow passing Datacenter name or ID to the `datacenter` argument. - - server - Allow passing Image name or ID to the `image` argument. - - server - Allow passing Location name or ID to the `location` argument. - - server - Allow passing SSH Keys names or IDs to the `ssh_keys` argument. - - server - Allow passing Volume names or IDs to the `volumes` argument. diff --git a/changelogs/fragments/sort-alias-ips-in-server-network.yml b/changelogs/fragments/sort-alias-ips-in-server-network.yml deleted file mode 100644 index 5c879681..00000000 --- a/changelogs/fragments/sort-alias-ips-in-server-network.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - server_network - The returned `alias_ips` list is now sorted. diff --git a/galaxy.yml b/galaxy.yml index 2afe37d0..914ac7c3 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,6 +1,6 @@ namespace: hetzner name: hcloud -version: 3.0.0 +version: 3.1.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 8ce523ea..e25a42ca 100644 --- a/plugins/module_utils/version.py +++ b/plugins/module_utils/version.py @@ -1,3 +1,3 @@ from __future__ import annotations -version = "3.0.0" # x-release-please-version +version = "3.1.0" # x-release-please-version