From 36a01c164f6b372370421661e6e3b894bd8f2074 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Tue, 3 Aug 2021 22:25:13 +0200 Subject: [PATCH] Release 1.9.0. --- CHANGELOG.rst | 38 +++++++++++++++ changelogs/changelog.yaml | 48 +++++++++++++++++++ changelogs/fragments/1.9.0.yml | 1 - ...62-docker_container_publish_all_option.yml | 5 -- .../fragments/174-docker_compose-env_file.yml | 4 -- .../178-docker_container-container.yml | 2 - ...ontainer-allow-anonymous-volume-mounts.yml | 4 -- ...ker_compose-fix-start-keyword-failures.yml | 4 -- changelogs/fragments/183-info-check_mode.yml | 3 -- ...86-docker_container-command-entrypoint.yml | 4 -- .../fragments/188-improve-import-errors.yml | 2 - 11 files changed, 86 insertions(+), 29 deletions(-) delete mode 100644 changelogs/fragments/1.9.0.yml delete mode 100644 changelogs/fragments/162-docker_container_publish_all_option.yml delete mode 100644 changelogs/fragments/174-docker_compose-env_file.yml delete mode 100644 changelogs/fragments/178-docker_container-container.yml delete mode 100644 changelogs/fragments/181-docker_container-allow-anonymous-volume-mounts.yml delete mode 100644 changelogs/fragments/182-docker_compose-fix-start-keyword-failures.yml delete mode 100644 changelogs/fragments/183-info-check_mode.yml delete mode 100644 changelogs/fragments/186-docker_container-command-entrypoint.yml delete mode 100644 changelogs/fragments/188-improve-import-errors.yml diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 42c816c9..137a3f11 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,44 @@ Docker Community Collection Release Notes .. contents:: Topics +v1.9.0 +====== + +Release Summary +--------------- + +New bugfixes and features release. + +Minor Changes +------------- + +- docker_* modules - include ``ImportError`` traceback when reporting that Docker SDK for Python could not be found (https://github.com/ansible-collections/community.docker/pull/188). +- docker_compose - added ``env_file`` option for specifying custom environment files (https://github.com/ansible-collections/community.docker/pull/174). +- docker_container - added ``publish_all_ports`` option to publish all exposed ports to random ports except those explicitly bound with ``published_ports`` (this was already added in community.docker 1.8.0) (https://github.com/ansible-collections/community.docker/pull/162). +- docker_container - added new ``command_handling`` option with current deprecated default value ``compatibility`` which allows to control how the module handles shell quoting when interpreting lists, and how the module handles empty lists/strings. The default will switch to ``correct`` in community.docker 3.0.0 (https://github.com/ansible-collections/community.docker/pull/186). +- docker_container - lifted restriction preventing the creation of anonymous volumes with the ``mounts`` option (https://github.com/ansible-collections/community.docker/pull/181). + +Deprecated Features +------------------- + +- docker_container - the new ``command_handling``'s default value, ``compatibility``, is deprecated and will change to ``correct`` in community.docker 3.0.0. A deprecation warning is emitted by the module in cases where the behavior will change. Please note that ansible-core will output a deprecation warning only once, so if it is shown for an earlier task, there could be more tasks with this warning where it is not shown (https://github.com/ansible-collections/community.docker/pull/186). + +Bugfixes +-------- + +- docker_compose - fixes task failures when bringing up services while using ``docker-compose <1.17.0`` (https://github.com/ansible-collections/community.docker/issues/180). +- docker_container - make sure to also return ``container`` on ``detached=false`` when status code is non-zero (https://github.com/ansible-collections/community.docker/pull/178). +- docker_stack_info - make sure that module isn't skipped in check mode (https://github.com/ansible-collections/community.docker/pull/183). +- docker_stack_task_info - make sure that module isn't skipped in check mode (https://github.com/ansible-collections/community.docker/pull/183). + +New Plugins +----------- + +Connection +~~~~~~~~~~ + +- nsenter - execute on host running controller container + v1.8.0 ====== diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 5ff01326..a8345d3d 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -359,3 +359,51 @@ releases: - 167-docker_compose-profiles-option.yml - ansible-core-_text.yml release_date: '2021-06-28' + 1.9.0: + changes: + bugfixes: + - docker_compose - fixes task failures when bringing up services while using + ``docker-compose <1.17.0`` (https://github.com/ansible-collections/community.docker/issues/180). + - docker_container - make sure to also return ``container`` on ``detached=false`` + when status code is non-zero (https://github.com/ansible-collections/community.docker/pull/178). + - docker_stack_info - make sure that module isn't skipped in check mode (https://github.com/ansible-collections/community.docker/pull/183). + - docker_stack_task_info - make sure that module isn't skipped in check mode + (https://github.com/ansible-collections/community.docker/pull/183). + deprecated_features: + - docker_container - the new ``command_handling``'s default value, ``compatibility``, + is deprecated and will change to ``correct`` in community.docker 3.0.0. A + deprecation warning is emitted by the module in cases where the behavior will + change. Please note that ansible-core will output a deprecation warning only + once, so if it is shown for an earlier task, there could be more tasks with + this warning where it is not shown (https://github.com/ansible-collections/community.docker/pull/186). + minor_changes: + - docker_* modules - include ``ImportError`` traceback when reporting that Docker + SDK for Python could not be found (https://github.com/ansible-collections/community.docker/pull/188). + - docker_compose - added ``env_file`` option for specifying custom environment + files (https://github.com/ansible-collections/community.docker/pull/174). + - docker_container - added ``publish_all_ports`` option to publish all exposed + ports to random ports except those explicitly bound with ``published_ports`` + (this was already added in community.docker 1.8.0) (https://github.com/ansible-collections/community.docker/pull/162). + - docker_container - added new ``command_handling`` option with current deprecated + default value ``compatibility`` which allows to control how the module handles + shell quoting when interpreting lists, and how the module handles empty lists/strings. + The default will switch to ``correct`` in community.docker 3.0.0 (https://github.com/ansible-collections/community.docker/pull/186). + - docker_container - lifted restriction preventing the creation of anonymous + volumes with the ``mounts`` option (https://github.com/ansible-collections/community.docker/pull/181). + release_summary: New bugfixes and features release. + fragments: + - 1.9.0.yml + - 162-docker_container_publish_all_option.yml + - 174-docker_compose-env_file.yml + - 178-docker_container-container.yml + - 181-docker_container-allow-anonymous-volume-mounts.yml + - 182-docker_compose-fix-start-keyword-failures.yml + - 183-info-check_mode.yml + - 186-docker_container-command-entrypoint.yml + - 188-improve-import-errors.yml + plugins: + connection: + - description: execute on host running controller container + name: nsenter + namespace: null + release_date: '2021-08-03' diff --git a/changelogs/fragments/1.9.0.yml b/changelogs/fragments/1.9.0.yml deleted file mode 100644 index 3917be6b..00000000 --- a/changelogs/fragments/1.9.0.yml +++ /dev/null @@ -1 +0,0 @@ -release_summary: New bugfixes and features release. diff --git a/changelogs/fragments/162-docker_container_publish_all_option.yml b/changelogs/fragments/162-docker_container_publish_all_option.yml deleted file mode 100644 index 5dccb2c8..00000000 --- a/changelogs/fragments/162-docker_container_publish_all_option.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -minor_changes: - - docker_container - added ``publish_all_ports`` option to publish all exposed ports to random ports except those - explicitly bound with ``published_ports`` (this was already added in community.docker 1.8.0) - (https://github.com/ansible-collections/community.docker/pull/162). diff --git a/changelogs/fragments/174-docker_compose-env_file.yml b/changelogs/fragments/174-docker_compose-env_file.yml deleted file mode 100644 index 6a02f983..00000000 --- a/changelogs/fragments/174-docker_compose-env_file.yml +++ /dev/null @@ -1,4 +0,0 @@ ---- -minor_changes: - - docker_compose - added ``env_file`` option for specifying custom environment files - (https://github.com/ansible-collections/community.docker/pull/174). diff --git a/changelogs/fragments/178-docker_container-container.yml b/changelogs/fragments/178-docker_container-container.yml deleted file mode 100644 index 11d8fb2b..00000000 --- a/changelogs/fragments/178-docker_container-container.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: -- "docker_container - make sure to also return ``container`` on ``detached=false`` when status code is non-zero (https://github.com/ansible-collections/community.docker/pull/178)." diff --git a/changelogs/fragments/181-docker_container-allow-anonymous-volume-mounts.yml b/changelogs/fragments/181-docker_container-allow-anonymous-volume-mounts.yml deleted file mode 100644 index 2060a400..00000000 --- a/changelogs/fragments/181-docker_container-allow-anonymous-volume-mounts.yml +++ /dev/null @@ -1,4 +0,0 @@ ---- -minor_changes: - - docker_container - lifted restriction preventing the creation of anonymous volumes with the ``mounts`` option - (https://github.com/ansible-collections/community.docker/pull/181). diff --git a/changelogs/fragments/182-docker_compose-fix-start-keyword-failures.yml b/changelogs/fragments/182-docker_compose-fix-start-keyword-failures.yml deleted file mode 100644 index 7fc45957..00000000 --- a/changelogs/fragments/182-docker_compose-fix-start-keyword-failures.yml +++ /dev/null @@ -1,4 +0,0 @@ ---- -bugfixes: - - docker_compose - fixes task failures when bringing up services while using ``docker-compose <1.17.0`` - (https://github.com/ansible-collections/community.docker/issues/180). diff --git a/changelogs/fragments/183-info-check_mode.yml b/changelogs/fragments/183-info-check_mode.yml deleted file mode 100644 index c611c997..00000000 --- a/changelogs/fragments/183-info-check_mode.yml +++ /dev/null @@ -1,3 +0,0 @@ -bugfixes: - - docker_stack_info - make sure that module isn't skipped in check mode (https://github.com/ansible-collections/community.docker/pull/183). - - docker_stack_task_info - make sure that module isn't skipped in check mode (https://github.com/ansible-collections/community.docker/pull/183). diff --git a/changelogs/fragments/186-docker_container-command-entrypoint.yml b/changelogs/fragments/186-docker_container-command-entrypoint.yml deleted file mode 100644 index 2537caa6..00000000 --- a/changelogs/fragments/186-docker_container-command-entrypoint.yml +++ /dev/null @@ -1,4 +0,0 @@ -minor_changes: - - "docker_container - added new ``command_handling`` option with current deprecated default value ``compatibility`` which allows to control how the module handles shell quoting when interpreting lists, and how the module handles empty lists/strings. The default will switch to ``correct`` in community.docker 3.0.0 (https://github.com/ansible-collections/community.docker/pull/186)." -deprecated_features: - - "docker_container - the new ``command_handling``'s default value, ``compatibility``, is deprecated and will change to ``correct`` in community.docker 3.0.0. A deprecation warning is emitted by the module in cases where the behavior will change. Please note that ansible-core will output a deprecation warning only once, so if it is shown for an earlier task, there could be more tasks with this warning where it is not shown (https://github.com/ansible-collections/community.docker/pull/186)." diff --git a/changelogs/fragments/188-improve-import-errors.yml b/changelogs/fragments/188-improve-import-errors.yml deleted file mode 100644 index 6abb3544..00000000 --- a/changelogs/fragments/188-improve-import-errors.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: -- "docker_* modules - include ``ImportError`` traceback when reporting that Docker SDK for Python could not be found (https://github.com/ansible-collections/community.docker/pull/188)."