From 2c855d23910d63517498359612b7191e5b27bc1c Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Tue, 4 Jan 2022 06:42:42 +0100 Subject: [PATCH] Release 2.1.0. --- CHANGELOG.rst | 21 +++++++++++++++ changelogs/changelog.yaml | 27 +++++++++++++++++++ changelogs/fragments/2.1.0.yml | 1 - .../fragments/253-chdir-min-version.yml | 2 -- .../254-docker_container_exec-env.yml | 2 -- .../255-docker_container_exec-detach.yml | 2 -- .../fragments/257-remove-distutils-spawn.yml | 2 -- .../fragments/258-distutils.version.yml | 2 -- 8 files changed, 48 insertions(+), 11 deletions(-) delete mode 100644 changelogs/fragments/2.1.0.yml delete mode 100644 changelogs/fragments/253-chdir-min-version.yml delete mode 100644 changelogs/fragments/254-docker_container_exec-env.yml delete mode 100644 changelogs/fragments/255-docker_container_exec-detach.yml delete mode 100644 changelogs/fragments/257-remove-distutils-spawn.yml delete mode 100644 changelogs/fragments/258-distutils.version.yml diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 00a550f2..8af22f32 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,27 @@ Docker Community Collection Release Notes .. contents:: Topics +v2.1.0 +====== + +Release Summary +--------------- + +Feature and bugfix release. + +Minor Changes +------------- + +- docker_container_exec - add ``detach`` parameter (https://github.com/ansible-collections/community.docker/issues/250, https://github.com/ansible-collections/community.docker/pull/255). +- docker_container_exec - add ``env`` option (https://github.com/ansible-collections/community.docker/issues/248, https://github.com/ansible-collections/community.docker/pull/254). + +Bugfixes +-------- + +- Various modules and plugins - use vendored version of ``distutils.version`` included in ansible-core 2.12 if available. This avoids breakage when ``distutils`` is removed from the standard library of Python 3.12. Note that ansible-core 2.11, ansible-base 2.10 and Ansible 2.9 are right now not compatible with Python 3.12, hence this fix does not target these ansible-core/-base/2.9 versions (https://github.com/ansible-collections/community.docker/pull/258). +- docker connection plugin - replace deprecated ``distutils.spawn.find_executable`` with Ansible's ``get_bin_path`` to find the ``docker`` executable (https://github.com/ansible-collections/community.docker/pull/257). +- docker_container_exec - disallow using the ``chdir`` option for Docker API before 1.35 (https://github.com/ansible-collections/community.docker/pull/253). + v2.0.2 ====== diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 2a970a6d..1959a1f6 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -486,3 +486,30 @@ releases: - 243-docker_container_exec-chdir.yml - 249-nsenter-fixes.yml release_date: '2021-12-09' + 2.1.0: + changes: + bugfixes: + - Various modules and plugins - use vendored version of ``distutils.version`` + included in ansible-core 2.12 if available. This avoids breakage when ``distutils`` + is removed from the standard library of Python 3.12. Note that ansible-core + 2.11, ansible-base 2.10 and Ansible 2.9 are right now not compatible with + Python 3.12, hence this fix does not target these ansible-core/-base/2.9 versions + (https://github.com/ansible-collections/community.docker/pull/258). + - docker connection plugin - replace deprecated ``distutils.spawn.find_executable`` + with Ansible's ``get_bin_path`` to find the ``docker`` executable (https://github.com/ansible-collections/community.docker/pull/257). + - docker_container_exec - disallow using the ``chdir`` option for Docker API + before 1.35 (https://github.com/ansible-collections/community.docker/pull/253). + minor_changes: + - docker_container_exec - add ``detach`` parameter (https://github.com/ansible-collections/community.docker/issues/250, + https://github.com/ansible-collections/community.docker/pull/255). + - docker_container_exec - add ``env`` option (https://github.com/ansible-collections/community.docker/issues/248, + https://github.com/ansible-collections/community.docker/pull/254). + release_summary: Feature and bugfix release. + fragments: + - 2.1.0.yml + - 253-chdir-min-version.yml + - 254-docker_container_exec-env.yml + - 255-docker_container_exec-detach.yml + - 257-remove-distutils-spawn.yml + - 258-distutils.version.yml + release_date: '2022-01-04' diff --git a/changelogs/fragments/2.1.0.yml b/changelogs/fragments/2.1.0.yml deleted file mode 100644 index 80287c3b..00000000 --- a/changelogs/fragments/2.1.0.yml +++ /dev/null @@ -1 +0,0 @@ -release_summary: Feature and bugfix release. diff --git a/changelogs/fragments/253-chdir-min-version.yml b/changelogs/fragments/253-chdir-min-version.yml deleted file mode 100644 index d30923b9..00000000 --- a/changelogs/fragments/253-chdir-min-version.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - "docker_container_exec - disallow using the ``chdir`` option for Docker API before 1.35 (https://github.com/ansible-collections/community.docker/pull/253)." diff --git a/changelogs/fragments/254-docker_container_exec-env.yml b/changelogs/fragments/254-docker_container_exec-env.yml deleted file mode 100644 index c7fb7807..00000000 --- a/changelogs/fragments/254-docker_container_exec-env.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - docker_container_exec - add ``env`` option (https://github.com/ansible-collections/community.docker/issues/248, https://github.com/ansible-collections/community.docker/pull/254). diff --git a/changelogs/fragments/255-docker_container_exec-detach.yml b/changelogs/fragments/255-docker_container_exec-detach.yml deleted file mode 100644 index 02bbfa66..00000000 --- a/changelogs/fragments/255-docker_container_exec-detach.yml +++ /dev/null @@ -1,2 +0,0 @@ -minor_changes: - - docker_container_exec - add ``detach`` parameter (https://github.com/ansible-collections/community.docker/issues/250, https://github.com/ansible-collections/community.docker/pull/255). diff --git a/changelogs/fragments/257-remove-distutils-spawn.yml b/changelogs/fragments/257-remove-distutils-spawn.yml deleted file mode 100644 index a1845117..00000000 --- a/changelogs/fragments/257-remove-distutils-spawn.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - "docker connection plugin - replace deprecated ``distutils.spawn.find_executable`` with Ansible's ``get_bin_path`` to find the ``docker`` executable (https://github.com/ansible-collections/community.docker/pull/257)." diff --git a/changelogs/fragments/258-distutils.version.yml b/changelogs/fragments/258-distutils.version.yml deleted file mode 100644 index 86f6e208..00000000 --- a/changelogs/fragments/258-distutils.version.yml +++ /dev/null @@ -1,2 +0,0 @@ -bugfixes: - - "Various modules and plugins - use vendored version of ``distutils.version`` included in ansible-core 2.12 if available. This avoids breakage when ``distutils`` is removed from the standard library of Python 3.12. Note that ansible-core 2.11, ansible-base 2.10 and Ansible 2.9 are right now not compatible with Python 3.12, hence this fix does not target these ansible-core/-base/2.9 versions (https://github.com/ansible-collections/community.docker/pull/258)."