From 7d8c3f34b5f7d33dc1f6783c1fecc43b5f86492e Mon Sep 17 00:00:00 2001 From: Jonas L Date: Mon, 24 Jul 2023 17:10:12 +0200 Subject: [PATCH] chore: prepare v2.0.0 (#276) --- CHANGELOG.rst | 37 ++++++++++++++++ changelogs/changelog.yaml | 44 +++++++++++++++++++ ...-server-image-variables-when-undefined.yml | 4 -- .../drop-support-for-ansible-core-2.12.yml | 2 - .../fragments/drop-support-for-python-3.7.yml | 2 - .../remove-deprecated-facts-modules.yml | 9 ---- .../vendor-hcloud-python-dependency.yml | 12 ----- galaxy.yml | 2 +- 8 files changed, 82 insertions(+), 30 deletions(-) delete mode 100644 changelogs/fragments/do-not-set-inventory-server-image-variables-when-undefined.yml delete mode 100644 changelogs/fragments/drop-support-for-ansible-core-2.12.yml delete mode 100644 changelogs/fragments/drop-support-for-python-3.7.yml delete mode 100644 changelogs/fragments/remove-deprecated-facts-modules.yml delete mode 100644 changelogs/fragments/vendor-hcloud-python-dependency.yml diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 52e1d5f..10be563 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,43 @@ Hetzner Cloud Ansible Collection Release Notes .. contents:: Topics +v2.0.0 +====== + +Release Summary +--------------- + +This release bundles the hcloud dependency in the collection, this allows us to ship +new features or bug fixes without having to release new major versions and require the +users to upgrade their version of the hcloud dependency. + + +Minor Changes +------------- + +- Bundle hcloud python dependency inside the collection. +- python-dateutil >= 2.7.5 is now required by the collection. If you already have the hcloud package installed, this dependency should also be installed. +- requests >= 2.20 is now required by the collection. If you already have the hcloud package installed, this dependency should also be installed. + +Breaking Changes / Porting Guide +-------------------------------- + +- Drop support for ansible-core 2.12 +- Drop support for python 3.7 +- inventory plugin - Don't set the server image variables (`image_id`, `image_os_flavor` and `image_name`) when the server image is not defined. + +Removed Features (previously deprecated) +---------------------------------------- + +- hcloud_datacenter_facts Removed deprecated facts module +- hcloud_floating_ip_facts Removed deprecated facts module +- hcloud_image_facts Removed deprecated facts module +- hcloud_location_facts Removed deprecated facts module +- hcloud_server_facts Removed deprecated facts module +- hcloud_server_type_facts Removed deprecated facts module +- hcloud_ssh_key_facts Removed deprecated facts module +- hcloud_volume_facts Removed deprecated facts module + v1.16.0 ======= diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index d627546..ce19064 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -340,3 +340,47 @@ releases: fragments: - hcloud_server-removed-networks.yml release_date: '2022-12-20' + 2.0.0: + changes: + breaking_changes: + - Drop support for ansible-core 2.12 + - Drop support for python 3.7 + - 'inventory plugin - Don''t set the server image variables (`image_id`, `image_os_flavor` + and `image_name`) when the server image is not defined. + + ' + minor_changes: + - Bundle hcloud python dependency inside the collection. + - 'python-dateutil >= 2.7.5 is now required by the collection. If you already + have the hcloud package installed, this dependency should also be installed. + + ' + - 'requests >= 2.20 is now required by the collection. If you already have the + hcloud package installed, this dependency should also be installed. + + ' + release_summary: 'This release bundles the hcloud dependency in the collection, + this allows us to ship + + new features or bug fixes without having to release new major versions and + require the + + users to upgrade their version of the hcloud dependency. + + ' + removed_features: + - hcloud_datacenter_facts Removed deprecated facts module + - hcloud_floating_ip_facts Removed deprecated facts module + - hcloud_image_facts Removed deprecated facts module + - hcloud_location_facts Removed deprecated facts module + - hcloud_server_facts Removed deprecated facts module + - hcloud_server_type_facts Removed deprecated facts module + - hcloud_ssh_key_facts Removed deprecated facts module + - hcloud_volume_facts Removed deprecated facts module + fragments: + - do-not-set-inventory-server-image-variables-when-undefined.yml + - drop-support-for-ansible-core-2.12.yml + - drop-support-for-python-3.7.yml + - remove-deprecated-facts-modules.yml + - vendor-hcloud-python-dependency.yml + release_date: '2023-07-24' diff --git a/changelogs/fragments/do-not-set-inventory-server-image-variables-when-undefined.yml b/changelogs/fragments/do-not-set-inventory-server-image-variables-when-undefined.yml deleted file mode 100644 index 1538f85..0000000 --- a/changelogs/fragments/do-not-set-inventory-server-image-variables-when-undefined.yml +++ /dev/null @@ -1,4 +0,0 @@ -breaking_changes: - - > - inventory plugin - Don't set the server image variables (`image_id`, - `image_os_flavor` and `image_name`) when the server image is not defined. diff --git a/changelogs/fragments/drop-support-for-ansible-core-2.12.yml b/changelogs/fragments/drop-support-for-ansible-core-2.12.yml deleted file mode 100644 index 9bc63ec..0000000 --- a/changelogs/fragments/drop-support-for-ansible-core-2.12.yml +++ /dev/null @@ -1,2 +0,0 @@ -breaking_changes: - - Drop support for ansible-core 2.12 diff --git a/changelogs/fragments/drop-support-for-python-3.7.yml b/changelogs/fragments/drop-support-for-python-3.7.yml deleted file mode 100644 index 94f9298..0000000 --- a/changelogs/fragments/drop-support-for-python-3.7.yml +++ /dev/null @@ -1,2 +0,0 @@ -breaking_changes: - - Drop support for python 3.7 diff --git a/changelogs/fragments/remove-deprecated-facts-modules.yml b/changelogs/fragments/remove-deprecated-facts-modules.yml deleted file mode 100644 index 0230568..0000000 --- a/changelogs/fragments/remove-deprecated-facts-modules.yml +++ /dev/null @@ -1,9 +0,0 @@ -removed_features: - - hcloud_datacenter_facts Removed deprecated facts module - - hcloud_floating_ip_facts Removed deprecated facts module - - hcloud_image_facts Removed deprecated facts module - - hcloud_location_facts Removed deprecated facts module - - hcloud_server_facts Removed deprecated facts module - - hcloud_server_type_facts Removed deprecated facts module - - hcloud_ssh_key_facts Removed deprecated facts module - - hcloud_volume_facts Removed deprecated facts module diff --git a/changelogs/fragments/vendor-hcloud-python-dependency.yml b/changelogs/fragments/vendor-hcloud-python-dependency.yml deleted file mode 100644 index 36194ab..0000000 --- a/changelogs/fragments/vendor-hcloud-python-dependency.yml +++ /dev/null @@ -1,12 +0,0 @@ -release_summary: | - This release bundles the hcloud dependency in the collection, this allows us to ship - new features or bug fixes without having to release new major versions and require the - users to upgrade their version of the hcloud dependency. -minor_changes: - - Bundle hcloud python dependency inside the collection. - - > - python-dateutil >= 2.7.5 is now required by the collection. If you already have the - hcloud package installed, this dependency should also be installed. - - > - requests >= 2.20 is now required by the collection. If you already have the hcloud - package installed, this dependency should also be installed. diff --git a/galaxy.yml b/galaxy.yml index a08af86..7303a17 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,6 +1,6 @@ namespace: hetzner name: hcloud -version: 1.15.0 +version: 2.0.0 readme: README.md authors: - Hetzner Cloud (github.com/hetznercloud)