From fa08284cbb18a368ef5a4cc8bdbff7c4e744b64d Mon Sep 17 00:00:00 2001 From: Rohit Thakur Date: Thu, 3 Nov 2022 22:13:38 +0530 Subject: [PATCH] Prepare Release 2.7.0 (#220) * Prepare Release 2.7.0 Signed-off-by: Rohit Thakur * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Signed-off-by: Rohit Thakur Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- CHANGELOG.rst | 16 ++++++++ changelogs/changelog.yaml | 37 +++++++++++++++++++ changelogs/fragments/172.yaml | 4 -- changelogs/fragments/179.yaml | 3 -- changelogs/fragments/180.yaml | 3 -- changelogs/fragments/183.yaml | 3 -- changelogs/fragments/184.yaml | 3 -- changelogs/fragments/185.yaml | 3 -- changelogs/fragments/186.yaml | 3 -- changelogs/fragments/187.yaml | 3 -- changelogs/fragments/188.yaml | 3 -- changelogs/fragments/189.yaml | 3 -- changelogs/fragments/190.yaml | 3 -- changelogs/fragments/207-trivial.yaml | 3 -- changelogs/fragments/209.yaml | 3 -- .../fragments/217-test-filter-docs.yaml | 3 -- .../fragments/ccontent_template_parser.yaml | 3 -- .../fragments/ipsubnet_performance.yaml | 14 ------- changelogs/fragments/persistent.yaml | 3 -- changelogs/fragments/tests.yaml | 3 -- changelogs/fragments/use-before.yaml | 3 -- 21 files changed, 53 insertions(+), 69 deletions(-) delete mode 100644 changelogs/fragments/172.yaml delete mode 100644 changelogs/fragments/179.yaml delete mode 100644 changelogs/fragments/180.yaml delete mode 100644 changelogs/fragments/183.yaml delete mode 100644 changelogs/fragments/184.yaml delete mode 100644 changelogs/fragments/185.yaml delete mode 100644 changelogs/fragments/186.yaml delete mode 100644 changelogs/fragments/187.yaml delete mode 100644 changelogs/fragments/188.yaml delete mode 100644 changelogs/fragments/189.yaml delete mode 100644 changelogs/fragments/190.yaml delete mode 100644 changelogs/fragments/207-trivial.yaml delete mode 100644 changelogs/fragments/209.yaml delete mode 100644 changelogs/fragments/217-test-filter-docs.yaml delete mode 100644 changelogs/fragments/ccontent_template_parser.yaml delete mode 100644 changelogs/fragments/ipsubnet_performance.yaml delete mode 100644 changelogs/fragments/persistent.yaml delete mode 100644 changelogs/fragments/tests.yaml delete mode 100644 changelogs/fragments/use-before.yaml diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 1b17978..752ed3c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,22 @@ Ansible Utils Collection Release Notes .. contents:: Topics +v2.7.0 +====== + +Minor Changes +------------- + +- Add support for content template parser +- Added new connection base class similar to ansible.netcommon's NetworkConnectionBase without the network-specific option masking (https://github.com/ansible-collections/ansible.utils/pull/211). +- ipsubnet - the index parameter should only ever be an integer if it is provided. this changes the argument type from str to int. + +Bugfixes +-------- + +- Fix filters to only raise AnsibleFilterError exceptions (https://github.com/ansible-collections/ansible.utils/issues/209). +- ipsubnet - interacting with large subnets could cause performance constraints. the result would be the system would appear to hang while it built out a list of all possible subnets or stepped through all possible subnets one at a time. when sending a prefix that is a supernet of the passed in network the behavior wasn't consistent. this now returns an AnsibleFilterError in that scenario across all python releases. (https://github.com/ansible-collections/ansible.utils/issues/132) + v2.6.1 ====== diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 1ab4518..d636962 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -259,3 +259,40 @@ releases: - sanity_fix.yaml - test inits.yml release_date: "2022-04-25" + 2.7.0: + changes: + bugfixes: + - Fix filters to only raise AnsibleFilterError exceptions (https://github.com/ansible-collections/ansible.utils/issues/209). + - ipsubnet - interacting with large subnets could cause performance constraints. + the result would be the system would appear to hang while it built out a list + of all possible subnets or stepped through all possible subnets one at a time. + when sending a prefix that is a supernet of the passed in network the behavior + wasn't consistent. this now returns an AnsibleFilterError in that scenario + across all python releases. (https://github.com/ansible-collections/ansible.utils/issues/132) + minor_changes: + - Add support for content template parser + - Added new connection base class similar to ansible.netcommon's NetworkConnectionBase + without the network-specific option masking (https://github.com/ansible-collections/ansible.utils/pull/211). + - ipsubnet - the index parameter should only ever be an integer if it is provided. + this changes the argument type from str to int. + fragments: + - 172.yaml + - 179.yaml + - 180.yaml + - 183.yaml + - 184.yaml + - 185.yaml + - 186.yaml + - 187.yaml + - 188.yaml + - 189.yaml + - 190.yaml + - 207-trivial.yaml + - 209.yaml + - 217-test-filter-docs.yaml + - ccontent_template_parser.yaml + - ipsubnet_performance.yaml + - persistent.yaml + - tests.yaml + - use-before.yaml + release_date: "2022-11-03" diff --git a/changelogs/fragments/172.yaml b/changelogs/fragments/172.yaml deleted file mode 100644 index 323b394..0000000 --- a/changelogs/fragments/172.yaml +++ /dev/null @@ -1,4 +0,0 @@ ---- -trivial: - - Enable GH action for unit ans sanity tests - - Several minor doc string updates to get sanity to pass with devel/milestone diff --git a/changelogs/fragments/179.yaml b/changelogs/fragments/179.yaml deleted file mode 100644 index 95e44e4..0000000 --- a/changelogs/fragments/179.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -trivial: - - Require a changelog fragment diff --git a/changelogs/fragments/180.yaml b/changelogs/fragments/180.yaml deleted file mode 100644 index 3dc559f..0000000 --- a/changelogs/fragments/180.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -trivial: - - Add integration tests with Github action diff --git a/changelogs/fragments/183.yaml b/changelogs/fragments/183.yaml deleted file mode 100644 index 06c939b..0000000 --- a/changelogs/fragments/183.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -trivial: - - Switch to unit-galaxy diff --git a/changelogs/fragments/184.yaml b/changelogs/fragments/184.yaml deleted file mode 100644 index 63f0b91..0000000 --- a/changelogs/fragments/184.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -trivial: - - Disable CI runs with push to main diff --git a/changelogs/fragments/185.yaml b/changelogs/fragments/185.yaml deleted file mode 100644 index ae126b7..0000000 --- a/changelogs/fragments/185.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -trivial: - - Uncap json schema dependency diff --git a/changelogs/fragments/186.yaml b/changelogs/fragments/186.yaml deleted file mode 100644 index fe07750..0000000 --- a/changelogs/fragments/186.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -trivial: - - Enable update-docs via pre-commit diff --git a/changelogs/fragments/187.yaml b/changelogs/fragments/187.yaml deleted file mode 100644 index ed204be..0000000 --- a/changelogs/fragments/187.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -trivial: - - Enable concurrency check for PRs & GHA diff --git a/changelogs/fragments/188.yaml b/changelogs/fragments/188.yaml deleted file mode 100644 index 3ff7d11..0000000 --- a/changelogs/fragments/188.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -trivial: - - Enable prettier via pre-commit diff --git a/changelogs/fragments/189.yaml b/changelogs/fragments/189.yaml deleted file mode 100644 index 58c142f..0000000 --- a/changelogs/fragments/189.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -trivial: - - Enable isort, increase black line length to 100 diff --git a/changelogs/fragments/190.yaml b/changelogs/fragments/190.yaml deleted file mode 100644 index fa0a77b..0000000 --- a/changelogs/fragments/190.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -trivial: - - Add trailing comma support to pre-commit diff --git a/changelogs/fragments/207-trivial.yaml b/changelogs/fragments/207-trivial.yaml deleted file mode 100644 index c6d351b..0000000 --- a/changelogs/fragments/207-trivial.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -trivial: - - Update simple class definition. (https://github.com/ansible-collections/ansible.utils/pull/207) diff --git a/changelogs/fragments/209.yaml b/changelogs/fragments/209.yaml deleted file mode 100644 index 9f1d7c7..0000000 --- a/changelogs/fragments/209.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: - - Fix filters to only raise AnsibleFilterError exceptions (https://github.com/ansible-collections/ansible.utils/issues/209). diff --git a/changelogs/fragments/217-test-filter-docs.yaml b/changelogs/fragments/217-test-filter-docs.yaml deleted file mode 100644 index 08ef46a..0000000 --- a/changelogs/fragments/217-test-filter-docs.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -trivial: - - Fix the filter and test documentation to render well on the Ansible docsite. diff --git a/changelogs/fragments/ccontent_template_parser.yaml b/changelogs/fragments/ccontent_template_parser.yaml deleted file mode 100644 index a9aad8b..0000000 --- a/changelogs/fragments/ccontent_template_parser.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: - - Add support for content template parser diff --git a/changelogs/fragments/ipsubnet_performance.yaml b/changelogs/fragments/ipsubnet_performance.yaml deleted file mode 100644 index f60ebbc..0000000 --- a/changelogs/fragments/ipsubnet_performance.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -bugfixes: - - >- - ipsubnet - interacting with large subnets could cause performance - constraints. the result would be the system would appear to hang while - it built out a list of all possible subnets or stepped through all - possible subnets one at a time. when sending a prefix that is a supernet - of the passed in network the behavior wasn't consistent. this now returns - an AnsibleFilterError in that scenario across all python releases. - (https://github.com/ansible-collections/ansible.utils/issues/132) -minor_changes: - - >- - ipsubnet - the index parameter should only ever be an integer if it is - provided. this changes the argument type from str to int. diff --git a/changelogs/fragments/persistent.yaml b/changelogs/fragments/persistent.yaml deleted file mode 100644 index ef2bce5..0000000 --- a/changelogs/fragments/persistent.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: - - Added new connection base class similar to ansible.netcommon's NetworkConnectionBase without the network-specific option masking (https://github.com/ansible-collections/ansible.utils/pull/211). diff --git a/changelogs/fragments/tests.yaml b/changelogs/fragments/tests.yaml deleted file mode 100644 index e78eb67..0000000 --- a/changelogs/fragments/tests.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -trivial: - - Fix various 2.15 sanity and unit tests. (https://github.com/ansible-collections/ansible.utils/pull/216) diff --git a/changelogs/fragments/use-before.yaml b/changelogs/fragments/use-before.yaml deleted file mode 100644 index ef8bf91..0000000 --- a/changelogs/fragments/use-before.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -trivial: - - cli_parse - Fix spurious use-before-assign.