diff --git a/CHANGELOG.rst b/CHANGELOG.rst index b566ae34..1a978fff 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,32 @@ Docker Community Collection Release Notes .. contents:: Topics +v1.6.0 +====== + +Release Summary +--------------- + +Regular bugfix and feature release. + +Minor Changes +------------- + +- common module utils - correct error messages for guiding to install proper Docker SDK for Python module (https://github.com/ansible-collections/community.docker/pull/125). +- docker_container - allow ``memory_swap: -1`` to set memory swap limit to unlimited. This is useful when the user cannot set memory swap limits due to cgroup limitations or other reasons, as by default Docker will try to set swap usage to two times the value of ``memory`` (https://github.com/ansible-collections/community.docker/pull/138). + +Deprecated Features +------------------- + +- docker_* modules and plugins, except ``docker_swarm`` connection plugin and ``docker_compose`` and ``docker_stack*` modules - the current default ``localhost`` for ``tls_hostname`` is deprecated. In community.docker 2.0.0 it will be computed from ``docker_host`` instead (https://github.com/ansible-collections/community.docker/pull/134). + +Bugfixes +-------- + +- docker-compose - fix not pulling when ``state: present`` and ``stopped: true`` (https://github.com/ansible-collections/community.docker/issues/12, https://github.com/ansible-collections/community.docker/pull/119). +- docker_plugin - also configure plugin after installing (https://github.com/ansible-collections/community.docker/issues/118, https://github.com/ansible-collections/community.docker/pull/135). +- docker_swarm_services - avoid crash during idempotence check if ``published_port`` is not specified (https://github.com/ansible-collections/community.docker/issues/107, https://github.com/ansible-collections/community.docker/pull/136). + v1.5.0 ====== diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 2d5c673d..4983945c 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -279,3 +279,35 @@ releases: name: docker_container_exec namespace: '' release_date: '2021-04-11' + 1.6.0: + changes: + bugfixes: + - 'docker-compose - fix not pulling when ``state: present`` and ``stopped: true`` + (https://github.com/ansible-collections/community.docker/issues/12, https://github.com/ansible-collections/community.docker/pull/119).' + - docker_plugin - also configure plugin after installing (https://github.com/ansible-collections/community.docker/issues/118, + https://github.com/ansible-collections/community.docker/pull/135). + - docker_swarm_services - avoid crash during idempotence check if ``published_port`` + is not specified (https://github.com/ansible-collections/community.docker/issues/107, + https://github.com/ansible-collections/community.docker/pull/136). + deprecated_features: + - docker_* modules and plugins, except ``docker_swarm`` connection plugin and + ``docker_compose`` and ``docker_stack*` modules - the current default ``localhost`` + for ``tls_hostname`` is deprecated. In community.docker 2.0.0 it will be computed + from ``docker_host`` instead (https://github.com/ansible-collections/community.docker/pull/134). + minor_changes: + - common module utils - correct error messages for guiding to install proper + Docker SDK for Python module (https://github.com/ansible-collections/community.docker/pull/125). + - 'docker_container - allow ``memory_swap: -1`` to set memory swap limit to + unlimited. This is useful when the user cannot set memory swap limits due + to cgroup limitations or other reasons, as by default Docker will try to set + swap usage to two times the value of ``memory`` (https://github.com/ansible-collections/community.docker/pull/138).' + release_summary: Regular bugfix and feature release. + fragments: + - 1.6.0.yml + - 12-correct_pull_wo_starting.yaml + - 125-correct-error-message-for-docker-sdk-version.yaml + - 134-tls_hostname.yml + - 135-docker_plugin-config.yml + - 136-docker_swarm_service-fix-idempotence-bug.yml + - 138-docker_container-allow-memory-swap-unlimited.yml + release_date: '2021-05-11' diff --git a/changelogs/fragments/1.6.0.yml b/changelogs/fragments/1.6.0.yml deleted file mode 100644 index 4b1469c9..00000000 --- a/changelogs/fragments/1.6.0.yml +++ /dev/null @@ -1 +0,0 @@ -release_summary: Regular bugfix and feature release. diff --git a/changelogs/fragments/12-correct_pull_wo_starting.yaml b/changelogs/fragments/12-correct_pull_wo_starting.yaml deleted file mode 100644 index 2082ba6c..00000000 --- a/changelogs/fragments/12-correct_pull_wo_starting.yaml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: -- "docker-compose - fix not pulling when ``state: present`` and ``stopped: true`` (https://github.com/ansible-collections/community.docker/issues/12, https://github.com/ansible-collections/community.docker/pull/119)." diff --git a/changelogs/fragments/125-correct-error-message-for-docker-sdk-version.yaml b/changelogs/fragments/125-correct-error-message-for-docker-sdk-version.yaml deleted file mode 100644 index 26a9af50..00000000 --- a/changelogs/fragments/125-correct-error-message-for-docker-sdk-version.yaml +++ /dev/null @@ -1,3 +0,0 @@ -minor_changes: - - "common module utils - correct error messages for guiding to install proper - Docker SDK for Python module (https://github.com/ansible-collections/community.docker/pull/125)." diff --git a/changelogs/fragments/134-tls_hostname.yml b/changelogs/fragments/134-tls_hostname.yml deleted file mode 100644 index 2a64ea60..00000000 --- a/changelogs/fragments/134-tls_hostname.yml +++ /dev/null @@ -1,2 +0,0 @@ -deprecated_features: -- "docker_* modules and plugins, except ``docker_swarm`` connection plugin and ``docker_compose`` and ``docker_stack*` modules - the current default ``localhost`` for ``tls_hostname`` is deprecated. In community.docker 2.0.0 it will be computed from ``docker_host`` instead (https://github.com/ansible-collections/community.docker/pull/134)." diff --git a/changelogs/fragments/135-docker_plugin-config.yml b/changelogs/fragments/135-docker_plugin-config.yml deleted file mode 100644 index a840e9f0..00000000 --- a/changelogs/fragments/135-docker_plugin-config.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: -- "docker_plugin - also configure plugin after installing (https://github.com/ansible-collections/community.docker/issues/118, https://github.com/ansible-collections/community.docker/pull/135)." diff --git a/changelogs/fragments/136-docker_swarm_service-fix-idempotence-bug.yml b/changelogs/fragments/136-docker_swarm_service-fix-idempotence-bug.yml deleted file mode 100644 index 2155f222..00000000 --- a/changelogs/fragments/136-docker_swarm_service-fix-idempotence-bug.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: -- "docker_swarm_services - avoid crash during idempotence check if ``published_port`` is not specified (https://github.com/ansible-collections/community.docker/issues/107, https://github.com/ansible-collections/community.docker/pull/136)." diff --git a/changelogs/fragments/138-docker_container-allow-memory-swap-unlimited.yml b/changelogs/fragments/138-docker_container-allow-memory-swap-unlimited.yml deleted file mode 100644 index 3e7ea385..00000000 --- a/changelogs/fragments/138-docker_container-allow-memory-swap-unlimited.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: -- "docker_container - allow ``memory_swap: -1`` to set memory swap limit to unlimited. This is useful when the user cannot set memory swap limits due to cgroup limitations or other reasons, as by default Docker will try to set swap usage to two times the value of ``memory`` (https://github.com/ansible-collections/community.docker/pull/138)."