Skip to content

Commit

Permalink
Release 5.0.0 commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Andersson007 committed Nov 4, 2022
1 parent 94d1c5e commit 49b1a5d
Show file tree
Hide file tree
Showing 18 changed files with 132 additions and 58 deletions.
48 changes: 48 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,51 @@ Community Network Release Notes

.. contents:: Topics

This changelog describes changes after version 4.0.0.

v5.0.0
======

Release Summary
---------------

This is release 5.0.0 of the community.network collection.

Major Changes
-------------

- The community.network collection no longer supports Ansible 2.9 and ansible-base 2.10. While we take no active measures to prevent usage, we will remove compatibility code and other compatility measures that will effectively prevent using most content from this collection with Ansible 2.9, and some content of this collection with ansible-base 2.10. Both Ansible 2.9 and ansible-base 2.10 will very soon be End of Life and if you are still using them, you should consider upgrading to ansible-core 2.11 or later as soon as possible (https://github.com/ansible-collections/community.network/pull/426).
- The internal structure of the collection was changed for modules and action plugins. These no longer live in a directory hierarchy ordered by topic, but instead are now all in a single (flat) directory. This has no impact on users *assuming they did not use internal FQCNs*. These will still work, but result in deprecation warnings. They were never officially supported and thus the redirects are kept as a courtsey, and this is not labelled as a breaking change. Note that for example the Ansible VScode plugin started recommending these internal names. If you followed its recommendation, you will now have to change back to the short names to avoid deprecation warnings, and potential errors in the future as these redirects will be removed in community.network 8.0.0 (https://github.com/ansible-collections/community.network/pull/482).

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

- community.network.ce_switchport - add support of decode a few stdout values from bitmap to human readable format(https://github.com/ansible-collections/community.network/issues/315)
- community.network.edgeos_config - append save command into result (https://github.com/ansible-collections/community.network/pull/189)

Removed Features (previously deprecated)
----------------------------------------

- aireos modules - removed deprecated ``connection: local`` support. Use ``connection: network_cli`` instead (https://github.com/ansible-collections/community.network/pull/440).
- aireos modules - removed deprecated ``provider`` option. Use ``connection: network_cli`` instead (https://github.com/ansible-collections/community.network/pull/440).
- aruba modules - removed deprecated ``connection: local`` support. Use ``connection: network_cli`` instead (https://github.com/ansible-collections/community.network/pull/440).
- aruba modules - removed deprecated ``provider`` option. Use ``connection: network_cli`` instead (https://github.com/ansible-collections/community.network/pull/440).
- ce modules - removed deprecated ``connection: local`` support. Use ``connection: network_cli`` instead (https://github.com/ansible-collections/community.network/pull/440).
- ce modules - removed deprecated ``provider`` option. Use ``connection: network_cli`` instead (https://github.com/ansible-collections/community.network/pull/440).
- enos modules - removed deprecated ``connection: local`` support. Use ``connection: network_cli`` instead (https://github.com/ansible-collections/community.network/pull/440).
- enos modules - removed deprecated ``provider`` option. Use ``connection: network_cli`` instead (https://github.com/ansible-collections/community.network/pull/440).
- ironware modules - removed deprecated ``connection: local`` support. Use ``connection: network_cli`` instead (https://github.com/ansible-collections/community.network/pull/440).
- ironware modules - removed deprecated ``provider`` option. Use ``connection: network_cli`` instead (https://github.com/ansible-collections/community.network/pull/440).
- sros modules - removed deprecated ``connection: local`` support. Use ``connection: network_cli`` instead (https://github.com/ansible-collections/community.network/pull/440).
- sros modules - removed deprecated ``provider`` option. Use ``connection: network_cli`` instead (https://github.com/ansible-collections/community.network/pull/440).

Bugfixes
--------

- Collection core functions - use vendored version of ``distutils.version`` instead of the deprecated Python standard library ``distutils``.
- Include ``PSF-license.txt`` file for ``plugins/module_utils/_version.py``.
- Include ``simplified_bsd.txt`` license file for the ``icx`` and ``netvisor`` module utils.
- ce - Modify the bug in the query configuration method (https://github.com/ansible-collections/community.network/pull/56).
- community.network.ce_switchport - fix error causing by ``KeyError:`` ``host`` due to properties aren't used anywhere (https://github.com/ansible-collections/community.network/issues/313)
- exos_config - fix a hang due to an unexpected prompt during save_when (https://github.com/ansible-collections/community.network/pull/110).
- weos4 cliconf plugin - fix linting errors in documentation data (https://github.com/ansible-collections/community.network/pull/368).
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Community Network Collection

[![Build Status](https://dev.azure.com/ansible/community.network/_apis/build/status/CI?branchName=main)](https://dev.azure.com/ansible/community.network/_build?definitionId=32)
[![Build Status](https://dev.azure.com/ansible/community.network/_apis/build/status/CI?branchName=stable-5)](https://dev.azure.com/ansible/community.network/_build?definitionId=32)
[![Codecov](https://img.shields.io/codecov/c/github/ansible-collections/community.network)](https://codecov.io/gh/ansible-collections/community.network)

This repository contains the `community.network` Ansible Collection. The collection is a part of the `ansible` package and includes many network modules and plugins supported by Ansible community which are not part of more specialized community collections.
Expand Down Expand Up @@ -136,7 +136,7 @@ Alternately, you can call modules by their short name if you list the `community

## Changelogs

See [here](https://github.com/ansible-collections/community.network/tree/main/CHANGELOG.rst).
See [here](https://github.com/ansible-collections/community.network/tree/stable-5/CHANGELOG.rst).

## Roadmap

Expand Down
84 changes: 82 additions & 2 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,82 @@
ancestor: 3.0.0
releases: {}
ancestor: 4.0.0
releases:
5.0.0:
changes:
bugfixes:
- Collection core functions - use vendored version of ``distutils.version``
instead of the deprecated Python standard library ``distutils``.
- Include ``PSF-license.txt`` file for ``plugins/module_utils/_version.py``.
- Include ``simplified_bsd.txt`` license file for the ``icx`` and ``netvisor``
module utils.
- ce - Modify the bug in the query configuration method (https://github.com/ansible-collections/community.network/pull/56).
- community.network.ce_switchport - fix error causing by ``KeyError:`` ``host``
due to properties aren't used anywhere (https://github.com/ansible-collections/community.network/issues/313)
- exos_config - fix a hang due to an unexpected prompt during save_when (https://github.com/ansible-collections/community.network/pull/110).
- weos4 cliconf plugin - fix linting errors in documentation data (https://github.com/ansible-collections/community.network/pull/368).
major_changes:
- The community.network collection no longer supports Ansible 2.9 and ansible-base
2.10. While we take no active measures to prevent usage, we will remove compatibility
code and other compatility measures that will effectively prevent using most
content from this collection with Ansible 2.9, and some content of this collection
with ansible-base 2.10. Both Ansible 2.9 and ansible-base 2.10 will very soon
be End of Life and if you are still using them, you should consider upgrading
to ansible-core 2.11 or later as soon as possible (https://github.com/ansible-collections/community.network/pull/426).
- The internal structure of the collection was changed for modules and action
plugins. These no longer live in a directory hierarchy ordered by topic, but
instead are now all in a single (flat) directory. This has no impact on users
*assuming they did not use internal FQCNs*. These will still work, but result
in deprecation warnings. They were never officially supported and thus the
redirects are kept as a courtsey, and this is not labelled as a breaking change.
Note that for example the Ansible VScode plugin started recommending these
internal names. If you followed its recommendation, you will now have to change
back to the short names to avoid deprecation warnings, and potential errors
in the future as these redirects will be removed in community.network 8.0.0
(https://github.com/ansible-collections/community.network/pull/482).
minor_changes:
- community.network.ce_switchport - add support of decode a few stdout values
from bitmap to human readable format(https://github.com/ansible-collections/community.network/issues/315)
- community.network.edgeos_config - append save command into result (https://github.com/ansible-collections/community.network/pull/189)
release_summary: This is release 5.0.0 of the community.network collection.
removed_features:
- 'aireos modules - removed deprecated ``connection: local`` support. Use ``connection:
network_cli`` instead (https://github.com/ansible-collections/community.network/pull/440).'
- 'aireos modules - removed deprecated ``provider`` option. Use ``connection:
network_cli`` instead (https://github.com/ansible-collections/community.network/pull/440).'
- 'aruba modules - removed deprecated ``connection: local`` support. Use ``connection:
network_cli`` instead (https://github.com/ansible-collections/community.network/pull/440).'
- 'aruba modules - removed deprecated ``provider`` option. Use ``connection:
network_cli`` instead (https://github.com/ansible-collections/community.network/pull/440).'
- 'ce modules - removed deprecated ``connection: local`` support. Use ``connection:
network_cli`` instead (https://github.com/ansible-collections/community.network/pull/440).'
- 'ce modules - removed deprecated ``provider`` option. Use ``connection: network_cli``
instead (https://github.com/ansible-collections/community.network/pull/440).'
- 'enos modules - removed deprecated ``connection: local`` support. Use ``connection:
network_cli`` instead (https://github.com/ansible-collections/community.network/pull/440).'
- 'enos modules - removed deprecated ``provider`` option. Use ``connection:
network_cli`` instead (https://github.com/ansible-collections/community.network/pull/440).'
- 'ironware modules - removed deprecated ``connection: local`` support. Use
``connection: network_cli`` instead (https://github.com/ansible-collections/community.network/pull/440).'
- 'ironware modules - removed deprecated ``provider`` option. Use ``connection:
network_cli`` instead (https://github.com/ansible-collections/community.network/pull/440).'
- 'sros modules - removed deprecated ``connection: local`` support. Use ``connection:
network_cli`` instead (https://github.com/ansible-collections/community.network/pull/440).'
- 'sros modules - removed deprecated ``provider`` option. Use ``connection:
network_cli`` instead (https://github.com/ansible-collections/community.network/pull/440).'
fragments:
- 0-copy_ignore_txt.yml
- 1-use_vendored_distutils.yml
- 110-fix-exos-save-config.yaml
- 189-append-save-command-into-result.yaml
- 289-safe-eval-no-concat.yml
- 313_fix_broken_ce_switchport_module.yaml
- 315_add_support_decode_bitmap_for_ce_switchport_module.yaml
- 426-remove-2.9-2.10-compatibility.yml
- 5.0.0.yml
- 56-ce_modify_query_configuration_method.yml
- psf-license.yml
- remove-connection-local.yml
- remove-provider.yml
- simplified-bsd-license.yml
- unflatmap.yml
- validate-plugins.yml
release_date: '2022-11-04'
3 changes: 0 additions & 3 deletions changelogs/fragments/0-copy_ignore_txt.yml

This file was deleted.

2 changes: 0 additions & 2 deletions changelogs/fragments/1-use_vendored_distutils.yml

This file was deleted.

2 changes: 0 additions & 2 deletions changelogs/fragments/110-fix-exos-save-config.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions changelogs/fragments/189-append-save-command-into-result.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions changelogs/fragments/289-safe-eval-no-concat.yml

This file was deleted.

4 changes: 0 additions & 4 deletions changelogs/fragments/313_fix_broken_ce_switchport_module.yaml

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions changelogs/fragments/426-remove-2.9-2.10-compatibility.yml

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions changelogs/fragments/psf-license.yml

This file was deleted.

7 changes: 0 additions & 7 deletions changelogs/fragments/remove-connection-local.yml

This file was deleted.

7 changes: 0 additions & 7 deletions changelogs/fragments/remove-provider.yml

This file was deleted.

2 changes: 0 additions & 2 deletions changelogs/fragments/simplified-bsd-license.yml

This file was deleted.

8 changes: 0 additions & 8 deletions changelogs/fragments/unflatmap.yml

This file was deleted.

2 changes: 0 additions & 2 deletions changelogs/fragments/validate-plugins.yml

This file was deleted.

0 comments on commit 49b1a5d

Please sign in to comment.