Skip to content

Commit

Permalink
Release 3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashwini Mhatre committed Jan 30, 2024
1 parent 8dc11de commit 7e98d52
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 14 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,26 @@ Ansible Utils Collection Release Notes
.. contents:: Topics


v3.1.0
======

Minor Changes
-------------

- Add support in fact_diff filter plugin to show common lines.(https://github.com/ansible-collections/ansible.utils/issues/311)

Bugfixes
--------

- Avoid unnecessary use of persistent connection in `cli_parse`, `fact_diff`, `update_fact` and `validate` as this action does not require a connection.

Documentation Changes
---------------------

- ipv6form filter plugin - Fix to be displayed correctly.
- validate lookup plugin - Fix syntax in EXAMPLES.
- validate module - Fix syntax in EXAMPLES.

v3.0.0
======

Expand Down
17 changes: 17 additions & 0 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -390,3 +390,20 @@ releases:
fragments:
- update_requires_ansible.yaml
release_date: "2023-11-30"
3.1.0:
changes:
bugfixes:
- Avoid unnecessary use of persistent connection in `cli_parse`, `fact_diff`,
`update_fact` and `validate` as this action does not require a connection.
doc_changes:
- ipv6form filter plugin - Fix to be displayed correctly.
- validate lookup plugin - Fix syntax in EXAMPLES.
- validate module - Fix syntax in EXAMPLES.
minor_changes:
- Add support in fact_diff filter plugin to show common lines.(https://github.com/ansible-collections/ansible.utils/issues/311)
fragments:
- Fre_fact_diff.yaml
- add_require_Connection.yaml
- ipv6form-doc.yaml
- validate-doc.yaml
release_date: "2024-01-30"
3 changes: 0 additions & 3 deletions changelogs/fragments/Fre_fact_diff.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions changelogs/fragments/add_require_Connection.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/ipv6form-doc.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions changelogs/fragments/validate-doc.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions tests/unit/plugins/filter/test_ipaddr.py
Original file line number Diff line number Diff line change
Expand Up @@ -544,13 +544,13 @@ def _test_ipsubnet(self, ipsubnet_args, expected_result):
ipsubnet("1.1.1.1/25", "24")
self.assertEqual(exc.exception.message, expected)

with self.assertRaisesRegexp(
with self.assertRaisesRegex(
AnsibleFilterError,
"You must pass a valid subnet or IP address; invalid_subnet is invalid",
):
ipsubnet("192.168.144.5", "invalid_subnet")

with self.assertRaisesRegexp(
with self.assertRaisesRegex(
AnsibleFilterError,
"192.168.144.0/30 is not in the subnet 192.168.144.4/30",
):
Expand Down

0 comments on commit 7e98d52

Please sign in to comment.