Prepare for major release 4.0.0 (#341)

* changelog PR

* update changelog

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update CHANGELOG.rst

* Update CHANGELOG.rst

* Update CHANGELOG.rst

Co-authored-by: Nilashish Chakraborty <nilashishchakraborty8@gmail.com>

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Nilashish Chakraborty <nilashishchakraborty8@gmail.com>
pull/343/head
Ruchi Pakhle 2024-03-28 12:31:52 +05:30 committed by GitHub
parent 1645351602
commit 62f5a76d78
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 25 additions and 11 deletions

View File

@ -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`.

View File

@ -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"

View File

@ -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

View File

@ -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.

View File

@ -19,4 +19,4 @@ tags:
- data
- validation
- utils
version: 3.1.0
version: 4.0.0