Skip to content

Releases: ansible-collections/ansible.utils

v5.1.2

30 Sep 04:36
e213ad9
Compare
Choose a tag to compare

v5.1.2

Bugfixes

  • keep_keys - Fixes keep_keys filter to retain the entire node when a key match occurs, rather than just the leaf node values.

v5.1.1

05 Sep 11:36
c4ace98
Compare
Choose a tag to compare

v5.1.1

Bugfixes

  • keep_keys - Fixes issue where all keys are removed when data is passed in as a dict.

v5.1.0

05 Aug 11:32
ddd977a
Compare
Choose a tag to compare

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

12 Jun 13:29
6e9dd77
Compare
Choose a tag to compare

v5.0.0

Release Summary

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.

Major Changes

  • Bumping requires_ansible to >=2.15.0, since previous ansible-core versions are EoL now.

v4.1.0

15 Apr 13:17
cc2fc8b
Compare
Choose a tag to compare

Release Summary

In the last release (v4.0.0), we bumped the minimum required netaddr version to be >=0.10.1. However, since netaddr>=0.10.1 is not yet available in many sources other than PyPI, we have temporarily added a fallback method to support the ipaddr filter with older netaddr versions with this release. Once the latest netaddr is available in all major sources, we will deprecate this support and eventually remove it.

v4.0.0

28 Mar 15:39
b0627b8
Compare
Choose a tag to compare

Release Summary

Starting from this release, the minimum netaddr version this collection requires is >=0.10.1.

Major Changes

  • This release mainly addresses the breaking changes in the netaddr library.
  • With the new release of netaddr 1.0.0, the IPAddress.is_private() method has been removed and instead, the IPAddress.is_global() method has been extended to support the same functionality. This change has been reflected in the ipaddr filter plugin.
  • Bumping netaddr to >=0.10.1, means that starting from this release, the minimum netaddr version this collection requires is >=0.10.1.

v3.1.0

30 Jan 16:04
2933ef2
Compare
Choose a tag to compare

Minor Changes

  • Add support in fact_diff filter plugin to show common lines.(#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

30 Nov 11:34
23c7f10
Compare
Choose a tag to compare

Release Summary

Starting from this release, the minimum ansible-core version this collection requires is 2.14.0. That last known version compatible with ansible-core<2.14 is v2.12.0.

Major Changes

  • Bumping requires_ansible to >=2.14.0, since previous ansible-core versions are EoL now.

Full Changelog: v2.12.0...v3.0.0

v2.12.0

30 Nov 07:41
0f8c4e1
Compare
Choose a tag to compare

Minor Changes

  • Fact_diff filter plugin - Add fact_diff filter plugin. (#78).

New Plugins

Filter

  • fact_diff - Find the difference between currently set facts

Full Changelog: v2.11.0...v2.12.0

v2.11.0

07 Sep 09:14
1a336fb
Compare
Choose a tag to compare

Minor Changes

  • Add ipcut filter plugin.(#251)
  • Add ipv6form filter plugin.(#230)

Bugfixes

  • Validate input for ipv4_hex(#281)

New Plugins

  • ipcut - This filter is designed to get 1st or last few bits of IP address.
  • ipv6form - This filter is designed to convert ipv6 address in different formats. For example expand, compressetc.