diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 17d607f..32128cb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,8 +22,8 @@ repos: hooks: - id: add-trailing-comma - - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.3 + - repo: https://github.com/pycontribs/mirrors-prettier + rev: "v3.3.1" hooks: - id: prettier entry: env CI=1 bash -c "prettier --list-different . || ec=$? && prettier --loglevel=error --write . && exit $ec" diff --git a/CHANGELOG.rst b/CHANGELOG.rst index c5586d5..a4d5c38 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,18 @@ Ansible Yang Collection Release Notes .. contents:: Topics +v3.0.0 +====== + +Release Summary +--------------- + +Starting from this release, the minimum `ansible-core` version this collection requires is `2.15.0`. The last known version compatible with ansible-core<2.15 is v2.0.0. + +Major Changes +------------- + +- Bumping `requires_ansible` to `>=2.15.0`, since previous ansible-core versions are EoL now. v2.0.0 ====== diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index ddb1b80..f0ec5f0 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -3,51 +3,61 @@ releases: 1.0.0: changes: major_changes: - - Add modules get, fetch, configure, generate_spec to ansible.yang collections. - - Added configure module to push json format configuration on to remote host - over netconf connection. + - Add modules get, fetch, configure, generate_spec to ansible.yang collections. + - Added configure module to push json format configuration on to remote host + over netconf connection. fragments: - - add_ansible_yangmodules.yaml - - yang_configure_module.yaml - release_date: "2022-04-28" + - add_ansible_yangmodules.yaml + - yang_configure_module.yaml + release_date: '2022-04-28' 1.1.0: changes: bugfixes: - - Fixed json2xml py3 compatibility issues (https://github.com/ansible-collections/community.yang/pull/45) - - Sort yang_files to address dependency issue (https://github.com/ansible-collections/community.yang/pull/46) + - Fixed json2xml py3 compatibility issues (https://github.com/ansible-collections/community.yang/pull/45) + - Sort yang_files to address dependency issue (https://github.com/ansible-collections/community.yang/pull/46) minor_changes: - - Added unit test for xml2json, json2xml and spec lookup plugins (https://github.com/ansible-collections/community.yang/pull/50) - - Refactored module_utils to fix ansible-test sanity issues (https://github.com/ansible-collections/community.yang/pull/50) - - added optional attribute for fetch action to continue if it hits a module - that cannot be found - - community.yang.configure - Since ``configure`` module is built on top of ``netconf_config`` - we add a new option argument, ``netconf_options``, allowing passing options - directly to ``netconf_config``. + - Added unit test for xml2json, json2xml and spec lookup plugins (https://github.com/ansible-collections/community.yang/pull/50) + - Refactored module_utils to fix ansible-test sanity issues (https://github.com/ansible-collections/community.yang/pull/50) + - added optional attribute for fetch action to continue if it hits a module + that cannot be found + - community.yang.configure - Since ``configure`` module is built on top of ``netconf_config`` + we add a new option argument, ``netconf_options``, allowing passing options + directly to ``netconf_config``. fragments: - - 54-remove_tests_sanity_requirements.yml - - 58-add_netconf_options.yml - - fix-sanity-ansible-doc.yaml - release_date: "2023-11-21" + - 54-remove_tests_sanity_requirements.yml + - 58-add_netconf_options.yml + - fix-sanity-ansible-doc.yaml + release_date: '2023-11-21' 1.2.0: changes: release_summary: Releasing version 1.2.0, featuring various maintenance updates. - release_date: "2023-11-22" + release_date: '2023-11-22' 1.2.1: changes: release_summary: Re-releasing version 1.2.0, as 1.2.1. - release_date: "2023-11-22" + release_date: '2023-11-22' 2.0.0: changes: bugfixes: - - Update bindep dependencies, and improve pyang import checks. + - Update bindep dependencies, and improve pyang import checks. major_changes: - - Bumping `requires_ansible` to `>=2.14.0`, since previous ansible-core versions - are EoL now. - release_summary: - Starting from this release, the minimum `ansible-core` version + - Bumping `requires_ansible` to `>=2.14.0`, since previous ansible-core versions + are EoL now. + release_summary: Starting from this release, the minimum `ansible-core` version this collection requires is `2.14.0`. The last known version compatible with ansible-core<2.14 is `v1.2.1`. fragments: - - major_200.yml - - update_bindep.yml - release_date: "2023-12-01" + - major_200.yml + - update_bindep.yml + release_date: '2023-12-01' + 3.0.0: + changes: + major_changes: + - Bumping `requires_ansible` to `>=2.15.0`, since previous ansible-core versions + are EoL now. + release_summary: 'Starting from this release, the minimum `ansible-core` version + this collection requires is `2.15.0`. The last known version compatible with + ansible-core<2.15 is v2.0.0.' + fragments: + - ming_215.yaml + release_date: '2024-06-10' diff --git a/changelogs/fragments/ming_215.yaml b/changelogs/fragments/ming_215.yaml deleted file mode 100644 index b2f1d3e..0000000 --- a/changelogs/fragments/ming_215.yaml +++ /dev/null @@ -1,6 +0,0 @@ ---- -release_summary: > - Starting from this release, the minimum `ansible-core` version this collection requires is `2.15.0`. - The last known version compatible with ansible-core<2.15 is v2.0.0. -major_changes: - - Bumping `requires_ansible` to `>=2.15.0`, since previous ansible-core versions are EoL now.