diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 077f7e3..9023478 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -365,3 +365,13 @@ New Modules - fact_diff - Find the difference between currently set facts - update_fact - Update currently set facts - validate - Validate data with provided criteria + +v4.0.0 +====== + +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`. diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 39e5067..6f17afd 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -407,3 +407,17 @@ releases: - ipv6form-doc.yaml - validate-doc.yaml release_date: "2024-01-30" + 4.0.0: + changes: + major_changes: + - This release mainly fixes the breaking changes in the `netaddr` library. + - Removes the `IPAddress.is_private()` method and instead extends support to IPAddress.is_global() method as the replacement.(https://netaddr.readthedocs.io/en/latest/changes.html#release-1-0-0) + - Set netaddr minimum version required to `0.10.1` + - Bumping `netaddr` to `>=0.10.1`, means that anything lower than this would result in not using utils from next 4.0.0 release. + - Removes compat files as we stopped testing against python 2.7. + release_summary: Starting from this release, the minimum `netaddr` version + this collection requires is `>=0.10.1`. + fragments: + - netaddr_is_private_deprecation.yaml + - trivial_tests_updates.yaml + release_date: "2024-03-28" diff --git a/changelogs/fragments/netaddr_is_private_deprecation.yaml b/changelogs/fragments/netaddr_is_private_deprecation.yaml deleted file mode 100644 index 6afe366..0000000 --- a/changelogs/fragments/netaddr_is_private_deprecation.yaml +++ /dev/null @@ -1,6 +0,0 @@ ---- -minor_changes: - - Use netaddr is_global() function instead of the deprecated is_private() function. - (https://netaddr.readthedocs.io/en/latest/changes.html#release-1-0-0) - - Remove reserved IPv6 from integration test expected results. - - Set netaddr minimum version required to 0.10.1 diff --git a/changelogs/fragments/trivial_tests_updates.yaml b/changelogs/fragments/trivial_tests_updates.yaml deleted file mode 100644 index 6f9f7d9..0000000 --- a/changelogs/fragments/trivial_tests_updates.yaml +++ /dev/null @@ -1,4 +0,0 @@ ---- -trivial: - - remove compat files as we stopped testing against python 2.7. - - update direct imports for patch and MagicMock from unittest. diff --git a/galaxy.yml b/galaxy.yml index a1f2480..7808828 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -19,4 +19,4 @@ tags: - data - validation - utils -version: 3.1.0 +version: 4.0.0