diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b9752d5..390720a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,10 +1,5 @@ --- repos: - - repo: https://github.com/ansible-network/collection_prep - rev: 1.1.2 - hooks: - - id: autoversion - - repo: https://github.com/pre-commit/pre-commit-hooks rev: v6.0.0 hooks: @@ -14,14 +9,6 @@ repos: - id: no-commit-to-branch - id: trailing-whitespace - - repo: https://github.com/pre-commit/mirrors-prettier - rev: "v4.0.0-alpha.8" - hooks: - - id: prettier - additional_dependencies: - - prettier - - prettier-plugin-toml - - repo: https://github.com/PyCQA/isort rev: 9.0.0a3 hooks: diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 6edb26c..f43ae9b 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,24 @@ Openvswitch Collection Release Notes .. contents:: Topics +v2.2.2 +====== + +Minor Changes +------------- + +- openvswitch_bridge - allow the set parameter to accept a list of strings to chain multiple set sub-commands (https://github.com/ansible-collections/openvswitch.openvswitch/issues/117). +- openvswitch_bridge, openvswitch_port, openvswitch_db, openvswitch_bond - add diff mode support (https://github.com/ansible-collections/openvswitch.openvswitch/pull/140). + +Bugfixes +-------- + +- openvswitch_bridge - fix module failure when bridge with fail-mode already set exists and fail_mode is not specified (https://github.com/ansible-collections/openvswitch.openvswitch/issues/86). +- openvswitch_db - fix NameError when running in check mode with state present or absent because ``out`` was referenced before assignment (https://github.com/ansible-collections/openvswitch.openvswitch/pull/140). +- openvswitch_db - fix read state incorrectly reporting changed=true (https://github.com/ansible-collections/openvswitch.openvswitch/issues/111). +- openvswitch_db - fix read state returning empty value for keys with hyphens or values containing special characters (https://github.com/ansible-collections/openvswitch.openvswitch/issues/111). +- fixed collection meta definition with minimal supported ansible version. + v2.2.1 ====== diff --git a/changelogs/.plugin-cache.yaml b/changelogs/.plugin-cache.yaml index f7b3568..2e7f081 100644 --- a/changelogs/.plugin-cache.yaml +++ b/changelogs/.plugin-cache.yaml @@ -14,26 +14,26 @@ plugins: openvswitch_bond: description: Manage Open vSwitch bonds name: openvswitch_bond - namespace: "" + namespace: '' version_added: 1.0.0 openvswitch_bridge: description: Manage Open vSwitch bridges name: openvswitch_bridge - namespace: "" + namespace: '' version_added: 1.0.0 openvswitch_db: description: Configure open vswitch database. name: openvswitch_db - namespace: "" + namespace: '' version_added: 1.0.0 openvswitch_port: description: Manage Open vSwitch ports name: openvswitch_port - namespace: "" + namespace: '' version_added: 1.0.0 netconf: {} shell: {} strategy: {} test: {} vars: {} -version: 2.1.1 +version: 2.2.2 diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index d050217..e6be0ad 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -2,131 +2,154 @@ ancestor: null releases: 1.0.0: modules: - - description: Manage Open vSwitch bridges - name: openvswitch_bridge - namespace: "" - - description: Configure open vswitch database. - name: openvswitch_db - namespace: "" - - description: Manage Open vSwitch ports - name: openvswitch_port - namespace: "" - release_date: "2020-06-23" + - description: Manage Open vSwitch bridges + name: openvswitch_bridge + namespace: '' + - description: Configure open vswitch database. + name: openvswitch_db + namespace: '' + - description: Manage Open vSwitch ports + name: openvswitch_port + namespace: '' + release_date: '2020-06-23' 1.0.1: changes: bugfixes: - - Makes sure that docstring and argspec are in sync and removes sanity ignores - (https://github.com/ansible-collections/openvswitch.openvswitch/pull/46). - - Update docs after sanity fixes to modules. + - Makes sure that docstring and argspec are in sync and removes sanity ignores + (https://github.com/ansible-collections/openvswitch.openvswitch/pull/46). + - Update docs after sanity fixes to modules. fragments: - - remove_ignores.yaml - - update_docs.yaml - release_date: "2020-08-03" + - remove_ignores.yaml + - update_docs.yaml + release_date: '2020-08-03' 1.0.2: changes: release_summary: Rereleased 1.0.1 with updated changelog. fragments: - - 1.0.2.yaml - release_date: "2020-08-07" + - 1.0.2.yaml + release_date: '2020-08-07' 1.0.3: changes: release_summary: Released for testing. fragments: - - 1.0.3.yaml - release_date: "2020-08-07" + - 1.0.3.yaml + release_date: '2020-08-07' 1.0.4: changes: release_summary: Rereleased 1.0.3 with updated changelog. fragments: - - 1.0.4.yaml - release_date: "2020-08-08" + - 1.0.4.yaml + release_date: '2020-08-08' 1.0.5: changes: minor_changes: - - Regenerated docs, add description to galaxy.yml and linked changelog to README - (https://github.com/ansible-collections/openvswitch.openvswitch/pull/53). + - Regenerated docs, add description to galaxy.yml and linked changelog to README + (https://github.com/ansible-collections/openvswitch.openvswitch/pull/53). fragments: - - fixes_to_readme_and_doc.yaml - release_date: "2020-08-28" + - fixes_to_readme_and_doc.yaml + release_date: '2020-08-28' 1.1.0: changes: bugfixes: - - Add version key to galaxy.yaml to work around ansible-galaxy bug (https://github.com/ansible-collections/openvswitch.openvswitch/issues/59) + - Add version key to galaxy.yaml to work around ansible-galaxy bug (https://github.com/ansible-collections/openvswitch.openvswitch/issues/59) minor_changes: - - openvswitch_bond - New module for managing Open vSwitch bonds (https://github.com/ansible-collections/openvswitch.openvswitch/pull/58). + - openvswitch_bond - New module for managing Open vSwitch bonds (https://github.com/ansible-collections/openvswitch.openvswitch/pull/58). fragments: - - 1-openvswitch_bond-new-module.yaml - - fix_download_git.yaml - release_date: "2020-11-26" + - 1-openvswitch_bond-new-module.yaml + - fix_download_git.yaml + release_date: '2020-11-26' 1.2.0: changes: bugfixes: - - Allow deleting key from table without specifying value (https://github.com/ansible-collections/openvswitch.openvswitch/issues/64). + - Allow deleting key from table without specifying value (https://github.com/ansible-collections/openvswitch.openvswitch/issues/64). minor_changes: - - Allow setting multiple properties on a port (https://github.com/ansible-collections/openvswitch.openvswitch/issues/63). + - Allow setting multiple properties on a port (https://github.com/ansible-collections/openvswitch.openvswitch/issues/63). fragments: - - fix_openvswitch_db.yaml - - fix_openvswitch_port.yaml - release_date: "2021-02-24" + - fix_openvswitch_db.yaml + - fix_openvswitch_port.yaml + release_date: '2021-02-24' 2.0.0: changes: major_changes: - - There is no major changes for this particular release and it was tagged by - mistake and cannot be reverted. - release_date: "2021-02-24" + - There is no major changes for this particular release and it was tagged by + mistake and cannot be reverted. + release_date: '2021-02-24' 2.0.1: changes: major_changes: - - By mistake we tagged the repo to 2.0.0 and as it wasn't intended and cannot - be reverted we're releasing 2.0.1 to make the community aware of the major - version update. - release_date: "2021-03-03" + - By mistake we tagged the repo to 2.0.0 and as it wasn't intended and cannot + be reverted we're releasing 2.0.1 to make the community aware of the major + version update. + release_date: '2021-03-03' 2.0.2: changes: bugfixes: - - "`openvswitch_bridge` - Fix idempotency for VLAN bridges" + - '`openvswitch_bridge` - Fix idempotency for VLAN bridges' fragments: - - 69-remove_tests_sanity_requirements.yml - - fix_validate_modules.yaml - - fix_vlan_bridge_idempotency.yaml - - pylint_fixes.yaml - release_date: "2021-09-24" + - 69-remove_tests_sanity_requirements.yml + - fix_validate_modules.yaml + - fix_vlan_bridge_idempotency.yaml + - pylint_fixes.yaml + release_date: '2021-09-24' 2.1.0: changes: minor_changes: - - Allows read operation in openvswitch_db module(https://github.com/ansible-collections/openvswitch.openvswitch/pull/88) - - openvswitch modules got support for database socket parameter. + - Allows read operation in openvswitch_db module(https://github.com/ansible-collections/openvswitch.openvswitch/pull/88) + - openvswitch modules got support for database socket parameter. fragments: - - 84-ovs-modules-database-socket.yaml - - openvswitch_db_read.yaml - release_date: "2021-12-07" + - 84-ovs-modules-database-socket.yaml + - openvswitch_db_read.yaml + release_date: '2021-12-07' 2.1.1: changes: bugfixes: - - Fix galaxy version issue when installing this collection. + - Fix galaxy version issue when installing this collection. doc_changes: - - Update module documentation and examples. + - Update module documentation and examples. fragments: - - black.yaml - - fix.yaml - - galaxy.yml - - gha.yaml - release_date: "2023-04-27" + - black.yaml + - fix.yaml + - galaxy.yml + - gha.yaml + release_date: '2023-04-27' 2.2.0: changes: breaking_changes: - - Minimum required ansible-core version is now 2.15 + - Minimum required ansible-core version is now 2.15 minor_changes: - - Added support for ansible-core 2.18, 2.19 and 2.20 - - Remove extra newline in openvswitch_port docs + - Added support for ansible-core 2.18, 2.19 and 2.20 + - Remove extra newline in openvswitch_port docs fragments: - - add_gha_periodic.yaml - - ansible_versions_changes.yaml - - remove_newline_openvswitch_port.yaml - release_date: "2026-04-16" + - add_gha_periodic.yaml + - ansible_versions_changes.yaml + - remove_newline_openvswitch_port.yaml + release_date: '2026-04-16' 2.2.1: changes: breaking_changes: - - Minimum required ansible-core version is now 2.16 + - Minimum required ansible-core version is now 2.16 minor_changes: - - Added support for ansible-core 2.21 + - Added support for ansible-core 2.21 + 2.2.2: + changes: + minor_changes: + - openvswitch_bridge - allow the set parameter to accept a list of strings to + chain multiple set sub-commands (https://github.com/ansible-collections/openvswitch.openvswitch/issues/117). + - openvswitch_bridge, openvswitch_port, openvswitch_db, openvswitch_bond - add + diff mode support (https://github.com/ansible-collections/openvswitch.openvswitch/pull/140). + bugfixes: + - openvswitch_bridge - fix module failure when bridge with fail-mode already + set exists and fail_mode is not specified (https://github.com/ansible-collections/openvswitch.openvswitch/issues/86). + - openvswitch_db - fix NameError when running in check mode with state present + or absent because ``out`` was referenced before assignment (https://github.com/ansible-collections/openvswitch.openvswitch/pull/140). + - openvswitch_db - fix read state incorrectly reporting changed=true (https://github.com/ansible-collections/openvswitch.openvswitch/issues/111). + - openvswitch_db - fix read state returning empty value for keys with hyphens + or values containing special characters (https://github.com/ansible-collections/openvswitch.openvswitch/issues/111). + - fixed collection meta definition with minimal supported ansible version. + fragments: + - 111.yaml + - 117.yaml + - 140.yaml + - 86.yaml + - update_meta.yaml + release_date: '2026-07-08' diff --git a/changelogs/fragments/111.yaml b/changelogs/fragments/111.yaml deleted file mode 100644 index f74f840..0000000 --- a/changelogs/fragments/111.yaml +++ /dev/null @@ -1,3 +0,0 @@ -bugfixes: - - openvswitch_db - fix read state returning empty value for keys with hyphens or values containing special characters (https://github.com/ansible-collections/openvswitch.openvswitch/issues/111). - - openvswitch_db - fix read state incorrectly reporting changed=true (https://github.com/ansible-collections/openvswitch.openvswitch/issues/111). diff --git a/changelogs/fragments/117.yaml b/changelogs/fragments/117.yaml deleted file mode 100644 index 72466e6..0000000 --- a/changelogs/fragments/117.yaml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - openvswitch_bridge - allow the set parameter to accept a list of strings to chain multiple set sub-commands (https://github.com/ansible-collections/openvswitch.openvswitch/issues/117). diff --git a/changelogs/fragments/140.yaml b/changelogs/fragments/140.yaml deleted file mode 100644 index 628f629..0000000 --- a/changelogs/fragments/140.yaml +++ /dev/null @@ -1,4 +0,0 @@ -minor_changes: - - openvswitch_bridge, openvswitch_port, openvswitch_db, openvswitch_bond - add diff mode support (https://github.com/ansible-collections/openvswitch.openvswitch/pull/140). -bugfixes: - - openvswitch_db - fix NameError when running in check mode with state present or absent because ``out`` was referenced before assignment (https://github.com/ansible-collections/openvswitch.openvswitch/pull/140). diff --git a/changelogs/fragments/86.yaml b/changelogs/fragments/86.yaml deleted file mode 100644 index 68e7d86..0000000 --- a/changelogs/fragments/86.yaml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - openvswitch_bridge - fix module failure when bridge with fail-mode already set exists and fail_mode is not specified (https://github.com/ansible-collections/openvswitch.openvswitch/issues/86). diff --git a/changelogs/fragments/update_meta.yaml b/changelogs/fragments/update_meta.yaml deleted file mode 100644 index 01b047f..0000000 --- a/changelogs/fragments/update_meta.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: - - fixed collection meta defenition with minimal supported ansible version.