Skip to content

Commit 4e8ea5d

Browse files
Release 8.6.0 (#789)
* Release 8.6.0 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent d2cc047 commit 4e8ea5d

5 files changed

Lines changed: 34 additions & 28 deletions

File tree

CHANGELOG.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ Ansible Netcommon Collection Release Notes
44

55
.. contents:: Topics
66

7+
v8.6.0
8+
======
9+
10+
Minor Changes
11+
-------------
12+
13+
- Remediate deprecated ``ansible.module_utils.common._collections_compat`` module and replaced with ``collections.abc`` from the Python standard library.
14+
- Remediate deprecated ``ansible.module_utils.six`` module and replaced it with native Python 3 equivalents like ``pickle``, ``zip``, ``urllib.parse``, ``urllib.error`` etc.
15+
- Remediate deprecated ``to_text`` and ``to_bytes`` from ``ansible.module_utils._text`` and replaced with ``ansible.module_utils.common.text.converters``.
16+
- Remediate deprecated ``warnings`` parameter in ``exit_json`` calls by introducing ``emit_warnings`` and ``warn_and_exit`` utility functions in ``plugins/module_utils/network/common/utils.py`` to centralize warning emission logic. The following modules were updated to use ``warn_and_exit`` - ``cli_backup``, ``cli_command``, ``cli_config``, ``cli_restore``, ``grpc_config``, ``grpc_get``, ``netconf_config``, ``netconf_get``, ``netconf_rpc``, ``restconf_config``, ``restconf_get``. ``ResourceModule`` base class in ``rm_base/resource_module.py`` was updated to use ``emit_warnings``, which automatically addresses the deprecation for all downstream collections (e.g. cisco.iosxr, cisco.ios, arista.eos).
17+
718
v8.5.3
819
======
920

changelogs/changelog.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,3 +1021,25 @@ releases:
10211021
- fix-vlan-parser-empty-list.yaml
10221022
- onboard-codecov.yml
10231023
release_date: "2026-06-12"
1024+
8.6.0:
1025+
changes:
1026+
minor_changes:
1027+
- Remediate deprecated ``ansible.module_utils.common._collections_compat`` module
1028+
and replaced with ``collections.abc`` from the Python standard library.
1029+
- Remediate deprecated ``ansible.module_utils.six`` module and replaced it with
1030+
native Python 3 equivalents like ``pickle``, ``zip``, ``urllib.parse``, ``urllib.error``
1031+
etc.
1032+
- Remediate deprecated ``to_text`` and ``to_bytes`` from ``ansible.module_utils._text``
1033+
and replaced with ``ansible.module_utils.common.text.converters``.
1034+
- Remediate deprecated ``warnings`` parameter in ``exit_json`` calls by introducing
1035+
``emit_warnings`` and ``warn_and_exit`` utility functions in ``plugins/module_utils/network/common/utils.py``
1036+
to centralize warning emission logic. The following modules were updated to
1037+
use ``warn_and_exit`` - ``cli_backup``, ``cli_command``, ``cli_config``, ``cli_restore``,
1038+
``grpc_config``, ``grpc_get``, ``netconf_config``, ``netconf_get``, ``netconf_rpc``,
1039+
``restconf_config``, ``restconf_get``. ``ResourceModule`` base class in ``rm_base/resource_module.py``
1040+
was updated to use ``emit_warnings``, which automatically addresses the deprecation
1041+
for all downstream collections (e.g. cisco.iosxr, cisco.ios, arista.eos).
1042+
fragments:
1043+
- remediate_deprecated_warnings.yaml
1044+
- tox_skip_cleanup.yml
1045+
release_date: "2026-07-08"

changelogs/fragments/remediate_deprecated_warnings.yaml

Lines changed: 0 additions & 23 deletions
This file was deleted.

changelogs/fragments/tox_skip_cleanup.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

galaxy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ build_ignore:
2424
- sonar-project.properties
2525
- codecov.yml
2626
- .github/
27-
version: 8.5.3
27+
version: 8.6.0

0 commit comments

Comments
 (0)