diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 45ba7d3..1942288 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,30 @@ OKD Collection Release Notes .. contents:: Topics +v6.0.0 +====== + +Release Summary +--------------- + +This major release drops support for ansible-core versions below 2.16, +replaces all ``ansible.module_utils.six`` imports with Python 3 stdlib equivalents, +and fixes deprecated ``ansible.module_utils._text`` imports for compatibility +with ansible-core 2.24+. + +Minor Changes +------------- + +- Add sanity test ignore files for ansible-core 2.20 and 2.21 (https://github.com/openshift/community.okd/pull/286). +- Replace ``ansible.module_utils.six.moves.urllib_parse`` import with Python 3 ``urllib.parse`` in ``openshift_auth`` module (https://github.com/openshift/community.okd/pull/291). +- Replace ``ansible.module_utils.six`` imports (``iteritems``, ``string_types``) with Python 3 stdlib equivalents (https://github.com/openshift/community.okd/pull/286). +- Replace deprecated ``ansible.module_utils._text`` imports with ``ansible.module_utils.common.text.converters`` to fix compatibility with ansible-core 2.24+ (https://github.com/openshift/community.okd/issues/275). + +Breaking Changes / Porting Guide +-------------------------------- + +- Minimum supported version of ansible-core is now 2.16 (https://github.com/openshift/community.okd/pull/292). + v5.0.0 ====== @@ -12,17 +36,17 @@ Release Summary This release drops support for ansible-lint < 25.1.2 and removes deprecated openshift inventory plugin. -Breaking Changes / Porting Guide --------------------------------- - -- Remove openshift inventory plugin deprecated in 3.0.0 (https://github.com/openshift/community.okd/pull/252). - Minor Changes ------------- - Bump version of ansible-lint to 25.1.2 (https://github.com/openshift/community.okd/pull/255). - Bump version of ansible-lint to minimum 24.7.0 (https://github.com/openshift/community.okd/pull/240). +Breaking Changes / Porting Guide +-------------------------------- + +- Remove openshift inventory plugin deprecated in 3.0.0 (https://github.com/openshift/community.okd/pull/252). + v4.0.2 ====== diff --git a/Makefile b/Makefile index 7b61c7a..2e9113f 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ .PHONY: molecule # Also needs to be updated in galaxy.yml -VERSION = 6.0.0-dev0 +VERSION = 6.0.0 SANITY_TEST_ARGS ?= --docker --color UNITS_TEST_ARGS ?= --docker --color diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index ed794f0..21b34e2 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -264,10 +264,41 @@ releases: minor_changes: - Bump version of ansible-lint to 25.1.2 (https://github.com/openshift/community.okd/pull/255). - Bump version of ansible-lint to minimum 24.7.0 (https://github.com/openshift/community.okd/pull/240). - release_summary: This release drops support for ansible-lint < 25.1.2 and removes deprecated openshift inventory plugin. + release_summary: This release drops support for ansible-lint < 25.1.2 and removes + deprecated openshift inventory plugin. fragments: - 240-bump-ansible-lint-version.yml - 5.0.0.yml - ansible-lint-update.yml - readme_template_update.yml release_date: '2025-06-10' + 6.0.0: + changes: + breaking_changes: + - Minimum supported version of ansible-core is now 2.16 (https://github.com/openshift/community.okd/pull/292). + minor_changes: + - Add sanity test ignore files for ansible-core 2.20 and 2.21 (https://github.com/openshift/community.okd/pull/286). + - Replace ``ansible.module_utils.six.moves.urllib_parse`` import with Python + 3 ``urllib.parse`` in ``openshift_auth`` module (https://github.com/openshift/community.okd/pull/291). + - Replace ``ansible.module_utils.six`` imports (``iteritems``, ``string_types``) + with Python 3 stdlib equivalents (https://github.com/openshift/community.okd/pull/286). + - Replace deprecated ``ansible.module_utils._text`` imports with ``ansible.module_utils.common.text.converters`` + to fix compatibility with ansible-core 2.24+ (https://github.com/openshift/community.okd/issues/275). + release_summary: 'This major release drops support for ansible-core versions + below 2.16, + + replaces all ``ansible.module_utils.six`` imports with Python 3 stdlib equivalents, + + and fixes deprecated ``ansible.module_utils._text`` imports for compatibility + + with ansible-core 2.24+. + + ' + fragments: + - 187-lowercase-booleans.yml + - 286-replace-six-imports.yml + - 292-bump-min-ansible-core.yml + - fix-deprecated-text-imports.yml + - replace-six-urllib-parse.yml + - v6.0.0-release-summary.yml + release_date: '2026-08-12' diff --git a/changelogs/fragments/187-lowercase-booleans.yml b/changelogs/fragments/187-lowercase-booleans.yml deleted file mode 100644 index 29eb4b0..0000000 --- a/changelogs/fragments/187-lowercase-booleans.yml +++ /dev/null @@ -1,2 +0,0 @@ -trivial: - - Use lowercase true/false for boolean values in module documentation (https://github.com/openshift/community.okd/issues/187). diff --git a/changelogs/fragments/286-replace-six-imports.yml b/changelogs/fragments/286-replace-six-imports.yml deleted file mode 100644 index 0529eb8..0000000 --- a/changelogs/fragments/286-replace-six-imports.yml +++ /dev/null @@ -1,3 +0,0 @@ -minor_changes: - - Replace ``ansible.module_utils.six`` imports (``iteritems``, ``string_types``) with Python 3 stdlib equivalents (https://github.com/openshift/community.okd/pull/286). - - Add sanity test ignore files for ansible-core 2.20 and 2.21 (https://github.com/openshift/community.okd/pull/286). diff --git a/changelogs/fragments/292-bump-min-ansible-core.yml b/changelogs/fragments/292-bump-min-ansible-core.yml deleted file mode 100644 index 9e55fef..0000000 --- a/changelogs/fragments/292-bump-min-ansible-core.yml +++ /dev/null @@ -1,2 +0,0 @@ -breaking_changes: - - Minimum supported version of ansible-core is now 2.16 (https://github.com/openshift/community.okd/pull/292). diff --git a/changelogs/fragments/fix-deprecated-text-imports.yml b/changelogs/fragments/fix-deprecated-text-imports.yml deleted file mode 100644 index 6d9aa46..0000000 --- a/changelogs/fragments/fix-deprecated-text-imports.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - Replace deprecated ``ansible.module_utils._text`` imports with ``ansible.module_utils.common.text.converters`` to fix compatibility with ansible-core 2.24+ (https://github.com/openshift/community.okd/issues/275). diff --git a/changelogs/fragments/replace-six-urllib-parse.yml b/changelogs/fragments/replace-six-urllib-parse.yml deleted file mode 100644 index 4fd3ef8..0000000 --- a/changelogs/fragments/replace-six-urllib-parse.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - Replace ``ansible.module_utils.six.moves.urllib_parse`` import with Python 3 ``urllib.parse`` in ``openshift_auth`` module (https://github.com/openshift/community.okd/pull/291). diff --git a/ci/downstream.sh b/ci/downstream.sh index 85ae4c0..a7c33ab 100755 --- a/ci/downstream.sh +++ b/ci/downstream.sh @@ -9,7 +9,7 @@ # - All functions are prefixed with f_ so it's obvious where they come # from when in use throughout the script -DOWNSTREAM_VERSION="6.0.0-dev0" +DOWNSTREAM_VERSION="6.0.0" KEEP_DOWNSTREAM_TMPDIR="${KEEP_DOWNSTREAM_TMPDIR:-''}" INSTALL_DOWNSTREAM_COLLECTION_PATH="${INSTALL_DOWNSTREAM_COLLECTION_PATH:-}" _build_dir="" diff --git a/galaxy.yml b/galaxy.yml index 0d8a382..45bb0b5 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -24,4 +24,4 @@ tags: - okd - cluster # Also needs to be updated in the Makefile -version: 6.0.0-dev0 +version: 6.0.0