diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 72eb5156..00a550f2 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,22 @@ Docker Community Collection Release Notes .. contents:: Topics +v2.0.2 +====== + +Release Summary +--------------- + +Bugfix release. + +Bugfixes +-------- + +- docker_api connection plugin - avoid passing an unnecessary argument to a Docker SDK for Python call that is only supported by version 3.0.0 or later (https://github.com/ansible-collections/community.docker/pull/243). +- docker_container_exec - ``chdir`` is only supported since Docker SDK for Python 3.0.0. Make sure that this option can only use when 3.0.0 or later is installed, and prevent passing this parameter on when ``chdir`` is not provided to this module (https://github.com/ansible-collections/community.docker/pull/243, https://github.com/ansible-collections/community.docker/issues/242). +- nsenter connection plugin - ensure the ``nsenter_pid`` option is retrieved in ``_connect`` instead of ``__init__`` to prevent a crasher due to bad initialization order (https://github.com/ansible-collections/community.docker/pull/249). +- nsenter connection plugin - replace the use of ``--all-namespaces`` with specific namespaces to support compatibility with Busybox nsenter (used on, for example, Alpine containers) (https://github.com/ansible-collections/community.docker/pull/249). + v2.0.1 ====== diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 13f4b9c9..2a970a6d 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -463,3 +463,26 @@ releases: fragments: - 2.0.1.yml release_date: '2021-11-13' + 2.0.2: + changes: + bugfixes: + - docker_api connection plugin - avoid passing an unnecessary argument to a + Docker SDK for Python call that is only supported by version 3.0.0 or later + (https://github.com/ansible-collections/community.docker/pull/243). + - docker_container_exec - ``chdir`` is only supported since Docker SDK for Python + 3.0.0. Make sure that this option can only use when 3.0.0 or later is installed, + and prevent passing this parameter on when ``chdir`` is not provided to this + module (https://github.com/ansible-collections/community.docker/pull/243, + https://github.com/ansible-collections/community.docker/issues/242). + - nsenter connection plugin - ensure the ``nsenter_pid`` option is retrieved + in ``_connect`` instead of ``__init__`` to prevent a crasher due to bad initialization + order (https://github.com/ansible-collections/community.docker/pull/249). + - nsenter connection plugin - replace the use of ``--all-namespaces`` with specific + namespaces to support compatibility with Busybox nsenter (used on, for example, + Alpine containers) (https://github.com/ansible-collections/community.docker/pull/249). + release_summary: Bugfix release. + fragments: + - 2.0.2.yml + - 243-docker_container_exec-chdir.yml + - 249-nsenter-fixes.yml + release_date: '2021-12-09' diff --git a/changelogs/fragments/2.0.2.yml b/changelogs/fragments/2.0.2.yml deleted file mode 100644 index 8ce9aa96..00000000 --- a/changelogs/fragments/2.0.2.yml +++ /dev/null @@ -1 +0,0 @@ -release_summary: Bugfix release. diff --git a/changelogs/fragments/243-docker_container_exec-chdir.yml b/changelogs/fragments/243-docker_container_exec-chdir.yml deleted file mode 100644 index 2fc44b33..00000000 --- a/changelogs/fragments/243-docker_container_exec-chdir.yml +++ /dev/null @@ -1,3 +0,0 @@ -bugfixes: - - "docker_container_exec - ``chdir`` is only supported since Docker SDK for Python 3.0.0. Make sure that this option can only use when 3.0.0 or later is installed, and prevent passing this parameter on when ``chdir`` is not provided to this module (https://github.com/ansible-collections/community.docker/pull/243, https://github.com/ansible-collections/community.docker/issues/242)." - - "docker_api connection plugin - avoid passing an unnecessary argument to a Docker SDK for Python call that is only supported by version 3.0.0 or later (https://github.com/ansible-collections/community.docker/pull/243)." diff --git a/changelogs/fragments/249-nsenter-fixes.yml b/changelogs/fragments/249-nsenter-fixes.yml deleted file mode 100644 index ea5e0c75..00000000 --- a/changelogs/fragments/249-nsenter-fixes.yml +++ /dev/null @@ -1,3 +0,0 @@ -bugfixes: - - "nsenter connection plugin - ensure the ``nsenter_pid`` option is retrieved in ``_connect`` instead of ``__init__`` to prevent a crasher due to bad initialization order (https://github.com/ansible-collections/community.docker/pull/249)." - - "nsenter connection plugin - replace the use of ``--all-namespaces`` with specific namespaces to support compatibility with Busybox nsenter (used on, for example, Alpine containers) (https://github.com/ansible-collections/community.docker/pull/249)."