From ddd977a591f0f790d1085cbcaddc83389346a7de Mon Sep 17 00:00:00 2001 From: Ruchi Pakhle <72685035+Ruchip16@users.noreply.github.com> Date: Fri, 2 Aug 2024 22:01:46 +0530 Subject: [PATCH] Prepare release v5.1.0 (#363) * Prepare release v5.1.0 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- CHANGELOG.rst | 17 ++++++++++++ changelogs/changelog.yaml | 30 +++++++++++++++++++-- changelogs/fragments/200.yaml | 3 --- changelogs/fragments/203.yaml | 3 --- changelogs/fragments/204.yaml | 3 --- changelogs/fragments/324.yaml | 3 --- changelogs/fragments/358_ipcut.yaml | 3 --- changelogs/fragments/add_template_path.yaml | 3 --- changelogs/fragments/fix_cli_parse.yaml | 3 --- changelogs/fragments/fix_from_xml.yaml | 3 --- changelogs/fragments/todo_condition.yml | 3 --- galaxy.yml | 2 +- 12 files changed, 46 insertions(+), 30 deletions(-) delete mode 100644 changelogs/fragments/200.yaml delete mode 100644 changelogs/fragments/203.yaml delete mode 100644 changelogs/fragments/204.yaml delete mode 100644 changelogs/fragments/324.yaml delete mode 100644 changelogs/fragments/358_ipcut.yaml delete mode 100644 changelogs/fragments/add_template_path.yaml delete mode 100644 changelogs/fragments/fix_cli_parse.yaml delete mode 100644 changelogs/fragments/fix_from_xml.yaml delete mode 100644 changelogs/fragments/todo_condition.yml diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 53f9afdf..3174e1c6 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,23 @@ Ansible Utils Collection Release Notes .. contents:: Topics +v5.1.0 +====== + +Minor Changes +------------- + +- Allows the cli_parse module to find parser.template_path inside roles or collections when a path relative to the role/collection directory is provided. +- Fix cli_parse module to require a connection. +- Previously, the ansible.utils.ipcut filter only supported IPv6 addresses, leading to confusing error messages when used with IPv4 addresses. This fix ensures that the filter now appropriately handles both IPv4 and IPv6 addresses. +- Removed conditional check for deprecated ansible.netcommon.cli_parse from ansible.utils.cli_parse +- The from_xml filter returns a python dictionary instead of a json string. + +Documentation Changes +--------------------- + +- Add a wildcard mask/hostmask documentation to ipaddr filter doc page to obtain an IP address's wildcard mask/hostmask. + v5.0.0 ====== diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 040d5fbd..e54ae407 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -442,9 +442,35 @@ releases: - Bumping `requires_ansible` to `>=2.15.0`, since previous ansible-core versions are EoL now. release_summary: - "With this release, the minimum required version of `ansible-core` + With this release, the minimum required version of `ansible-core` for this collection is `2.15.0`. The last version known to be compatible with - `ansible-core` versions below `2.15` is v4.1.0." + `ansible-core` versions below `2.15` is v4.1.0. fragments: - bump_215.yaml release_date: "2024-06-10" + 5.1.0: + changes: + doc_changes: + - Add a wildcard mask/hostmask documentation to ipaddr filter doc page to obtain + an IP address's wildcard mask/hostmask. + minor_changes: + - Allows the cli_parse module to find parser.template_path inside roles or collections + when a path relative to the role/collection directory is provided. + - Fix cli_parse module to require a connection. + - Previously, the ansible.utils.ipcut filter only supported IPv6 addresses, + leading to confusing error messages when used with IPv4 addresses. This fix + ensures that the filter now appropriately handles both IPv4 and IPv6 addresses. + - Removed conditional check for deprecated ansible.netcommon.cli_parse from + ansible.utils.cli_parse + - The from_xml filter returns a python dictionary instead of a json string. + fragments: + - 200.yaml + - 203.yaml + - 204.yaml + - 324.yaml + - 358_ipcut.yaml + - add_template_path.yaml + - fix_cli_parse.yaml + - fix_from_xml.yaml + - todo_condition.yml + release_date: "2024-08-05" diff --git a/changelogs/fragments/200.yaml b/changelogs/fragments/200.yaml deleted file mode 100644 index d2f65f31..00000000 --- a/changelogs/fragments/200.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -trivial: - - Add integration tests for replace_keys diff --git a/changelogs/fragments/203.yaml b/changelogs/fragments/203.yaml deleted file mode 100644 index 7200cd8e..00000000 --- a/changelogs/fragments/203.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -trivial: - - Add integration tests for keep_keys diff --git a/changelogs/fragments/204.yaml b/changelogs/fragments/204.yaml deleted file mode 100644 index 378f5648..00000000 --- a/changelogs/fragments/204.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -trivial: - - Add integration tests for remove_keys diff --git a/changelogs/fragments/324.yaml b/changelogs/fragments/324.yaml deleted file mode 100644 index dd3f9c1d..00000000 --- a/changelogs/fragments/324.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -doc_changes: - - Add a wildcard mask/hostmask documentation to ipaddr filter doc page to obtain an IP address's wildcard mask/hostmask. diff --git a/changelogs/fragments/358_ipcut.yaml b/changelogs/fragments/358_ipcut.yaml deleted file mode 100644 index 684c2959..00000000 --- a/changelogs/fragments/358_ipcut.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: - - Previously, the ansible.utils.ipcut filter only supported IPv6 addresses, leading to confusing error messages when used with IPv4 addresses. This fix ensures that the filter now appropriately handles both IPv4 and IPv6 addresses. diff --git a/changelogs/fragments/add_template_path.yaml b/changelogs/fragments/add_template_path.yaml deleted file mode 100644 index c408d407..00000000 --- a/changelogs/fragments/add_template_path.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: - - Allows the cli_parse module to find parser.template_path inside roles or collections when a path relative to the role/collection directory is provided. diff --git a/changelogs/fragments/fix_cli_parse.yaml b/changelogs/fragments/fix_cli_parse.yaml deleted file mode 100644 index 920f639a..00000000 --- a/changelogs/fragments/fix_cli_parse.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: - - Fix cli_parse module to require a connection. diff --git a/changelogs/fragments/fix_from_xml.yaml b/changelogs/fragments/fix_from_xml.yaml deleted file mode 100644 index 9553d0a9..00000000 --- a/changelogs/fragments/fix_from_xml.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: - - The from_xml filter returns a python dictionary instead of a json string. diff --git a/changelogs/fragments/todo_condition.yml b/changelogs/fragments/todo_condition.yml deleted file mode 100644 index a5fa6a2c..00000000 --- a/changelogs/fragments/todo_condition.yml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: - - Removed conditional check for deprecated ansible.netcommon.cli_parse from ansible.utils.cli_parse diff --git a/galaxy.yml b/galaxy.yml index ef551136..d59b136d 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -19,4 +19,4 @@ tags: - data - validation - utils -version: 5.0.0 +version: 5.1.0