diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 2b6ed37..3c36dd1 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,44 @@ Community RouterOS Release Notes .. contents:: Topics +v2.0.0-a2 +========= + +Release Summary +--------------- + +Second prerelease for a new major release with breaking changes in the behavior of ``community.routeros.api`` and ``community.routeros.command``. + +Minor Changes +------------- + +- api - make validation of ``WHERE`` for ``query`` more strict (https://github.com/ansible-collections/community.routeros/pull/53). + +Breaking Changes / Porting Guide +-------------------------------- + +- api - splitting commands no longer uses a naive split by whitespace, but a more RouterOS CLI compatible splitting algorithm (https://github.com/ansible-collections/community.routeros/pull/45). +- command - the module now always indicates that a change happens. If this is not correct, please use ``changed_when`` to determine the correct changed status for a task (https://github.com/ansible-collections/community.routeros/pull/50). + +Bugfixes +-------- + +- api - improve splitting of ``WHERE`` queries (https://github.com/ansible-collections/community.routeros/pull/47). +- api - when converting result lists to dictionaries, no longer removes second ``=`` and text following that if present (https://github.com/ansible-collections/community.routeros/pull/47). +- routeros cliconf plugin - adjust function signature that was modified in Ansible after creation of this plugin (https://github.com/ansible-collections/community.routeros/pull/43). + +New Plugins +----------- + +Filter +~~~~~~ + +- join - Join a list of arguments to a command +- list_to_dict - Convert a list of arguments to a list of dictionary +- quote_argument - Quote an argument +- quote_argument_value - Quote an argument value +- split - Split a command into arguments + v2.0.0-a1 ========= diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 0e41513..8d3c503 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -96,3 +96,47 @@ releases: - 2.0.0-a1.yml - 39-api-fail.yml release_date: '2021-07-31' + 2.0.0-a2: + changes: + breaking_changes: + - api - splitting commands no longer uses a naive split by whitespace, but a + more RouterOS CLI compatible splitting algorithm (https://github.com/ansible-collections/community.routeros/pull/45). + - command - the module now always indicates that a change happens. If this is + not correct, please use ``changed_when`` to determine the correct changed + status for a task (https://github.com/ansible-collections/community.routeros/pull/50). + bugfixes: + - api - improve splitting of ``WHERE`` queries (https://github.com/ansible-collections/community.routeros/pull/47). + - api - when converting result lists to dictionaries, no longer removes second + ``=`` and text following that if present (https://github.com/ansible-collections/community.routeros/pull/47). + - routeros cliconf plugin - adjust function signature that was modified in Ansible + after creation of this plugin (https://github.com/ansible-collections/community.routeros/pull/43). + minor_changes: + - api - make validation of ``WHERE`` for ``query`` more strict (https://github.com/ansible-collections/community.routeros/pull/53). + release_summary: Second prerelease for a new major release with breaking changes + in the behavior of ``community.routeros.api`` and ``community.routeros.command``. + fragments: + - 2.0.0-a2.yml + - 43-sanity.yml + - 45-api-split.yml + - 47-api-split.yml + - 50-command-changed.yml + - 53-api-where.yml + - 53-quoting-filters.yml + plugins: + filter: + - description: Join a list of arguments to a command + name: join + namespace: null + - description: Convert a list of arguments to a list of dictionary + name: list_to_dict + namespace: null + - description: Quote an argument + name: quote_argument + namespace: null + - description: Quote an argument value + name: quote_argument_value + namespace: null + - description: Split a command into arguments + name: split + namespace: null + release_date: '2021-10-14' diff --git a/changelogs/fragments/2.0.0-a2.yml b/changelogs/fragments/2.0.0-a2.yml deleted file mode 100644 index 99e8a41..0000000 --- a/changelogs/fragments/2.0.0-a2.yml +++ /dev/null @@ -1 +0,0 @@ -release_summary: Second prerelease for a new major release with breaking changes in the behavior of ``community.routeros.api`` and ``community.routeros.command``. diff --git a/changelogs/fragments/43-sanity.yml b/changelogs/fragments/43-sanity.yml deleted file mode 100644 index 5c918d1..0000000 --- a/changelogs/fragments/43-sanity.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: -- "routeros cliconf plugin - adjust function signature that was modified in Ansible after creation of this plugin (https://github.com/ansible-collections/community.routeros/pull/43)." diff --git a/changelogs/fragments/45-api-split.yml b/changelogs/fragments/45-api-split.yml deleted file mode 100644 index 2d525cb..0000000 --- a/changelogs/fragments/45-api-split.yml +++ /dev/null @@ -1,2 +0,0 @@ -breaking_changes: - - "api - splitting commands no longer uses a naive split by whitespace, but a more RouterOS CLI compatible splitting algorithm (https://github.com/ansible-collections/community.routeros/pull/45)." diff --git a/changelogs/fragments/47-api-split.yml b/changelogs/fragments/47-api-split.yml deleted file mode 100644 index 10e8033..0000000 --- a/changelogs/fragments/47-api-split.yml +++ /dev/null @@ -1,3 +0,0 @@ -bugfixes: - - "api - improve splitting of ``WHERE`` queries (https://github.com/ansible-collections/community.routeros/pull/47)." - - "api - when converting result lists to dictionaries, no longer removes second ``=`` and text following that if present (https://github.com/ansible-collections/community.routeros/pull/47)." diff --git a/changelogs/fragments/50-command-changed.yml b/changelogs/fragments/50-command-changed.yml deleted file mode 100644 index fec925a..0000000 --- a/changelogs/fragments/50-command-changed.yml +++ /dev/null @@ -1,2 +0,0 @@ -breaking_changes: -- "command - the module now always indicates that a change happens. If this is not correct, please use ``changed_when`` to determine the correct changed status for a task (https://github.com/ansible-collections/community.routeros/pull/50)." diff --git a/changelogs/fragments/53-api-where.yml b/changelogs/fragments/53-api-where.yml deleted file mode 100644 index a2b09e2..0000000 --- a/changelogs/fragments/53-api-where.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: -- "api - make validation of ``WHERE`` for ``query`` more strict (https://github.com/ansible-collections/community.routeros/pull/53)." diff --git a/changelogs/fragments/53-quoting-filters.yml b/changelogs/fragments/53-quoting-filters.yml deleted file mode 100644 index 3cbb5cd..0000000 --- a/changelogs/fragments/53-quoting-filters.yml +++ /dev/null @@ -1,12 +0,0 @@ ---- -add plugin.filter: - - name: split - description: Split a command into arguments - - name: quote_argument_value - description: Quote an argument value - - name: quote_argument - description: Quote an argument - - name: join - description: Join a list of arguments to a command - - name: list_to_dict - description: Convert a list of arguments to a list of dictionary