From 0f23e6c58c5556f6c3394aff22955aa112f3f83d Mon Sep 17 00:00:00 2001 From: Hetzner Cloud Bot <45457231+hcloud-bot@users.noreply.github.com> Date: Mon, 5 Jan 2026 16:47:20 +0100 Subject: [PATCH] chore(main): release 6.4.0 (#768) :robot: I have created a release *beep* *boop* --- ## [6.4.0](https://github.com/ansible-collections/hetzner.hcloud/compare/6.3.0...6.4.0) (2026-01-05) ### Features * deprecate datacenter in `primary ips` and `servers` ([#773](https://github.com/ansible-collections/hetzner.hcloud/issues/773)) ([10c41f0](https://github.com/ansible-collections/hetzner.hcloud/commit/10c41f032b8f69e7ce18f42a8521152ca9316354)) ### Bug Fixes * redirect for storage box module must use a fully qualified name ([#767](https://github.com/ansible-collections/hetzner.hcloud/issues/767)) ([55cc1fa](https://github.com/ansible-collections/hetzner.hcloud/commit/55cc1fa3a90c2791d6f3e01163e901ff9836191e)) --- 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 | 42 +++++++++++++ changelogs/changelog.yaml | 60 +++++++++++++++++++ changelogs/dev-changelog.md | 12 ++++ .../fragments/phasing-out-datacenters.yml | 32 ---------- .../fragments/storage-box-redirects-fqcr.yml | 2 - galaxy.yml | 2 +- plugins/module_utils/version.py | 2 +- 8 files changed, 117 insertions(+), 37 deletions(-) delete mode 100644 changelogs/fragments/phasing-out-datacenters.yml delete mode 100644 changelogs/fragments/storage-box-redirects-fqcr.yml diff --git a/.github/release-please-manifest.json b/.github/release-please-manifest.json index a12c1c7..175e2ae 100644 --- a/.github/release-please-manifest.json +++ b/.github/release-please-manifest.json @@ -1 +1 @@ -{".":"6.3.0"} +{".":"6.4.0"} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 25d0f0e..051d6c2 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,48 @@ Hetzner Cloud Ansible Collection Release Notes .. contents:: Topics +v6.4.0 +====== + +Release Summary +--------------- + +This release is phasing out datacenters in ``Primary IPs`` and ``Servers``. + +We added a new ``location`` property to the request body and response of ``Servers`` and ``Primary IPs``. +The same data was previously present under ``datacenter.location``. + +We deprecated the ``datacenter`` property in the request body and response of ``Servers`` and ``Primary IPs``. +The removal will happen after 1 July 2026. + +See our `changelog`_ for more details. + +.. _changelog: https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters + +Minor Changes +------------- + +- primary_ip - Added the Primary IP ``location`` name to the return values (``hcloud_primary_ip.location``). +- primary_ip - Added the ``location`` argument to create a Primary IP in a specific location. +- primary_ip_info - Added the Primary IPs ``location`` name to the return values (``hcloud_primary_ip_info[].location``). + +Deprecated Features +------------------- + +- hcloud inventory - The ``hcloud_datacenter`` host variable is deprecated and will be removed after 1 July 2026. Please use the ``hcloud_location`` host variable instead. +- network_info - The ``hcloud_network_info[].servers[].datacenter`` return value is deprecated and will be removed after 1 July 2026. Please use the ``hcloud_network_info[].servers[].location`` return value instead. +- primary_ip - The ``datacenter`` argument is deprecated and will be removed after 1 July 2026. Please use the ``location`` argument instead. +- primary_ip - The ``hcloud_primary_ip.datacenter`` return value is deprecated and will be removed after 1 July 2026. Please use the ``hcloud_primary_ip.location`` return value instead. +- primary_ip_info - The ``hcloud_primary_ip_info[].datacenter`` return value is deprecated and will be removed after 1 July 2026. Please use the ``hcloud_primary_ip_info[].location`` return value instead. +- server - The ``datacenter`` argument is deprecated and will be removed after 1 July 2026. Please use the ``location`` argument instead. +- server - The ``hcloud_server.datacenter`` return value is deprecated and will be removed after 1 July 2026. Please use the ``hcloud_server.location`` return value instead. +- server_info - The ``hcloud_server_info[].datacenter`` return value is deprecated and will be removed after 1 July 2026. Please use the ``hcloud_server_info[].location`` return value instead. + +Bugfixes +-------- + +- Invalid redirects for Storage Box modules are now fixed by using fully qualified module names. + v6.3.0 ====== diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 32fc070..1198a74 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -856,3 +856,63 @@ releases: fragments: - storage-boxes.yml release_date: '2025-12-10' + 6.4.0: + changes: + bugfixes: + - Invalid redirects for Storage Box modules are now fixed by using fully qualified + module names. + deprecated_features: + - hcloud inventory - The ``hcloud_datacenter`` host variable is deprecated and + will be removed after 1 July 2026. Please use the ``hcloud_location`` host + variable instead. + - network_info - The ``hcloud_network_info[].servers[].datacenter`` return value + is deprecated and will be removed after 1 July 2026. Please use the ``hcloud_network_info[].servers[].location`` + return value instead. + - primary_ip - The ``datacenter`` argument is deprecated and will be removed + after 1 July 2026. Please use the ``location`` argument instead. + - primary_ip - The ``hcloud_primary_ip.datacenter`` return value is deprecated + and will be removed after 1 July 2026. Please use the ``hcloud_primary_ip.location`` + return value instead. + - primary_ip_info - The ``hcloud_primary_ip_info[].datacenter`` return value + is deprecated and will be removed after 1 July 2026. Please use the ``hcloud_primary_ip_info[].location`` + return value instead. + - server - The ``datacenter`` argument is deprecated and will be removed after + 1 July 2026. Please use the ``location`` argument instead. + - server - The ``hcloud_server.datacenter`` return value is deprecated and will + be removed after 1 July 2026. Please use the ``hcloud_server.location`` return + value instead. + - server_info - The ``hcloud_server_info[].datacenter`` return value is deprecated + and will be removed after 1 July 2026. Please use the ``hcloud_server_info[].location`` + return value instead. + minor_changes: + - primary_ip - Added the Primary IP ``location`` name to the return values (``hcloud_primary_ip.location``). + - primary_ip - Added the ``location`` argument to create a Primary IP in a specific + location. + - primary_ip_info - Added the Primary IPs ``location`` name to the return values + (``hcloud_primary_ip_info[].location``). + release_summary: 'This release is phasing out datacenters in ``Primary IPs`` + and ``Servers``. + + + We added a new ``location`` property to the request body and response of ``Servers`` + and ``Primary IPs``. + + The same data was previously present under ``datacenter.location``. + + + We deprecated the ``datacenter`` property in the request body and response + of ``Servers`` and ``Primary IPs``. + + The removal will happen after 1 July 2026. + + + See our `changelog`_ for more details. + + + .. _changelog: https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters + + ' + fragments: + - phasing-out-datacenters.yml + - storage-box-redirects-fqcr.yml + release_date: '2026-01-05' diff --git a/changelogs/dev-changelog.md b/changelogs/dev-changelog.md index dac7581..3675376 100644 --- a/changelogs/dev-changelog.md +++ b/changelogs/dev-changelog.md @@ -1,5 +1,17 @@ # Changelog +## [6.4.0](https://github.com/ansible-collections/hetzner.hcloud/compare/6.3.0...6.4.0) (2026-01-05) + + +### Features + +* deprecate datacenter in `primary ips` and `servers` ([#773](https://github.com/ansible-collections/hetzner.hcloud/issues/773)) ([10c41f0](https://github.com/ansible-collections/hetzner.hcloud/commit/10c41f032b8f69e7ce18f42a8521152ca9316354)) + + +### Bug Fixes + +* redirect for storage box module must use a fully qualified name ([#767](https://github.com/ansible-collections/hetzner.hcloud/issues/767)) ([55cc1fa](https://github.com/ansible-collections/hetzner.hcloud/commit/55cc1fa3a90c2791d6f3e01163e901ff9836191e)) + ## [6.3.0](https://github.com/ansible-collections/hetzner.hcloud/compare/6.2.1...6.3.0) (2025-12-10) diff --git a/changelogs/fragments/phasing-out-datacenters.yml b/changelogs/fragments/phasing-out-datacenters.yml deleted file mode 100644 index 07f3494..0000000 --- a/changelogs/fragments/phasing-out-datacenters.yml +++ /dev/null @@ -1,32 +0,0 @@ -release_summary: | - This release is phasing out datacenters in ``Primary IPs`` and ``Servers``. - - We added a new ``location`` property to the request body and response of ``Servers`` and ``Primary IPs``. - The same data was previously present under ``datacenter.location``. - - We deprecated the ``datacenter`` property in the request body and response of ``Servers`` and ``Primary IPs``. - The removal will happen after 1 July 2026. - - See our `changelog`_ for more details. - - .. _changelog: https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters - -minor_changes: - - primary_ip - Added the ``location`` argument to create a Primary IP in a specific location. - - primary_ip - Added the Primary IP ``location`` name to the return values (``hcloud_primary_ip.location``). - - primary_ip_info - Added the Primary IPs ``location`` name to the return values (``hcloud_primary_ip_info[].location``). - -deprecated_features: - - hcloud inventory - The ``hcloud_datacenter`` host variable is deprecated and will be removed after 1 July 2026. Please use the ``hcloud_location`` host variable instead. - - - primary_ip - The ``datacenter`` argument is deprecated and will be removed after 1 July 2026. Please use the ``location`` argument instead. - - primary_ip - The ``hcloud_primary_ip.datacenter`` return value is deprecated and will be removed after 1 July 2026. Please use the ``hcloud_primary_ip.location`` return value instead. - - - primary_ip_info - The ``hcloud_primary_ip_info[].datacenter`` return value is deprecated and will be removed after 1 July 2026. Please use the ``hcloud_primary_ip_info[].location`` return value instead. - - - server - The ``datacenter`` argument is deprecated and will be removed after 1 July 2026. Please use the ``location`` argument instead. - - server - The ``hcloud_server.datacenter`` return value is deprecated and will be removed after 1 July 2026. Please use the ``hcloud_server.location`` return value instead. - - - server_info - The ``hcloud_server_info[].datacenter`` return value is deprecated and will be removed after 1 July 2026. Please use the ``hcloud_server_info[].location`` return value instead. - - - network_info - The ``hcloud_network_info[].servers[].datacenter`` return value is deprecated and will be removed after 1 July 2026. Please use the ``hcloud_network_info[].servers[].location`` return value instead. diff --git a/changelogs/fragments/storage-box-redirects-fqcr.yml b/changelogs/fragments/storage-box-redirects-fqcr.yml deleted file mode 100644 index ccfd875..0000000 --- a/changelogs/fragments/storage-box-redirects-fqcr.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - Invalid redirects for Storage Box modules are now fixed by using fully qualified module names. diff --git a/galaxy.yml b/galaxy.yml index d6b3f62..35cf289 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,6 +1,6 @@ namespace: hetzner name: hcloud -version: 6.3.0 +version: 6.4.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 61b34d8..3612671 100644 --- a/plugins/module_utils/version.py +++ b/plugins/module_utils/version.py @@ -1,3 +1,3 @@ from __future__ import annotations -version = "6.3.0" # x-release-please-version +version = "6.4.0" # x-release-please-version