Release 3.9.0

This commit is contained in:
Felix Fontein 2024-04-21 16:20:52 +02:00
parent 8bcc3519d4
commit 379ce23270
10 changed files with 368 additions and 303 deletions

File diff suppressed because it is too large Load Diff

View File

@ -4,6 +4,29 @@ Docker Community Collection Release Notes
.. contents:: Topics
v3.9.0
======
Release Summary
---------------
Bugfix and feature release.
Minor Changes
-------------
- The EE requirements now include PyYAML, since the ``docker_compose_v2*`` modules depend on it when the ``definition`` option is used. This should not have a noticable effect on generated EEs since ansible-core itself depends on PyYAML as well, and ansible-builder explicitly ignores this dependency (https://github.com/ansible-collections/community.docker/pull/832).
- docker_compose_v2* - the new option ``check_files_existing`` allows to disable the check for one of the files ``compose.yaml``, ``compose.yml``, ``docker-compose.yaml``, and ``docker-compose.yml`` in ``project_src`` if ``files`` is not specified. This is necessary if a non-standard compose filename is specified through other means, like the ``COMPOSE_FILE`` environment variable (https://github.com/ansible-collections/community.docker/issues/838, https://github.com/ansible-collections/community.docker/pull/839).
- docker_compose_v2* modules - allow to provide an inline definition of the compose content instead of having to provide a ``project_src`` directory with the compose file written into it (https://github.com/ansible-collections/community.docker/issues/829, https://github.com/ansible-collections/community.docker/pull/832).
- vendored Docker SDK for Python - remove unused code that relies on functionality deprecated in Python 3.12 (https://github.com/ansible-collections/community.docker/pull/834).
Bugfixes
--------
- docker_compose_v2* - allow ``project_src`` to be a relative path, by converting it to an absolute path before using it (https://github.com/ansible-collections/community.docker/issues/827, https://github.com/ansible-collections/community.docker/pull/828).
- docker_compose_v2* modules - abort with a nice error message instead of crash when the Docker Compose CLI plugin version is ``dev`` (https://github.com/ansible-collections/community.docker/issues/825, https://github.com/ansible-collections/community.docker/pull/826).
- inventory plugins - add unsafe wrapper to avoid marking strings that do not contain ``{`` or ``}`` as unsafe, to work around a bug in AWX (https://github.com/ansible-collections/community.docker/pull/835).
v3.8.1
======

View File

@ -1623,3 +1623,41 @@ releases:
- 814-docker_compose_v2_pull-idem.yml
- inventory-rce.yml
release_date: '2024-03-16'
3.9.0:
changes:
bugfixes:
- docker_compose_v2* - allow ``project_src`` to be a relative path, by converting
it to an absolute path before using it (https://github.com/ansible-collections/community.docker/issues/827,
https://github.com/ansible-collections/community.docker/pull/828).
- docker_compose_v2* modules - abort with a nice error message instead of crash
when the Docker Compose CLI plugin version is ``dev`` (https://github.com/ansible-collections/community.docker/issues/825,
https://github.com/ansible-collections/community.docker/pull/826).
- inventory plugins - add unsafe wrapper to avoid marking strings that do not
contain ``{`` or ``}`` as unsafe, to work around a bug in AWX (https://github.com/ansible-collections/community.docker/pull/835).
minor_changes:
- The EE requirements now include PyYAML, since the ``docker_compose_v2*`` modules
depend on it when the ``definition`` option is used. This should not have
a noticable effect on generated EEs since ansible-core itself depends on PyYAML
as well, and ansible-builder explicitly ignores this dependency (https://github.com/ansible-collections/community.docker/pull/832).
- docker_compose_v2* - the new option ``check_files_existing`` allows to disable
the check for one of the files ``compose.yaml``, ``compose.yml``, ``docker-compose.yaml``,
and ``docker-compose.yml`` in ``project_src`` if ``files`` is not specified.
This is necessary if a non-standard compose filename is specified through
other means, like the ``COMPOSE_FILE`` environment variable (https://github.com/ansible-collections/community.docker/issues/838,
https://github.com/ansible-collections/community.docker/pull/839).
- docker_compose_v2* modules - allow to provide an inline definition of the
compose content instead of having to provide a ``project_src`` directory with
the compose file written into it (https://github.com/ansible-collections/community.docker/issues/829,
https://github.com/ansible-collections/community.docker/pull/832).
- vendored Docker SDK for Python - remove unused code that relies on functionality
deprecated in Python 3.12 (https://github.com/ansible-collections/community.docker/pull/834).
release_summary: Bugfix and feature release.
fragments:
- 3.9.0.yml
- 826-docker-compose-v2-version.yml
- 828-compose-project_src.yml
- 832-docker_compose_v2-definition.yml
- 834-datetime-depr.yml
- 835-unsafe.yml
- 839-compose_v2-check-file.yml
release_date: '2024-04-21'

View File

@ -1 +0,0 @@
release_summary: Bugfix and feature release.

View File

@ -1,2 +0,0 @@
bugfixes:
- "docker_compose_v2* modules - abort with a nice error message instead of crash when the Docker Compose CLI plugin version is ``dev`` (https://github.com/ansible-collections/community.docker/issues/825, https://github.com/ansible-collections/community.docker/pull/826)."

View File

@ -1,2 +0,0 @@
bugfixes:
- "docker_compose_v2* - allow ``project_src`` to be a relative path, by converting it to an absolute path before using it (https://github.com/ansible-collections/community.docker/issues/827, https://github.com/ansible-collections/community.docker/pull/828)."

View File

@ -1,8 +0,0 @@
minor_changes:
- "docker_compose_v2* modules - allow to provide an inline definition of the compose content
instead of having to provide a ``project_src`` directory with the compose file written into it
(https://github.com/ansible-collections/community.docker/issues/829, https://github.com/ansible-collections/community.docker/pull/832)."
- "The EE requirements now include PyYAML, since the ``docker_compose_v2*`` modules depend on it
when the ``definition`` option is used. This should not have a noticable effect on generated EEs
since ansible-core itself depends on PyYAML as well, and ansible-builder explicitly ignores this dependency
(https://github.com/ansible-collections/community.docker/pull/832)."

View File

@ -1,2 +0,0 @@
minor_changes:
- "vendored Docker SDK for Python - remove unused code that relies on functionality deprecated in Python 3.12 (https://github.com/ansible-collections/community.docker/pull/834)."

View File

@ -1,2 +0,0 @@
bugfixes:
- "inventory plugins - add unsafe wrapper to avoid marking strings that do not contain ``{`` or ``}`` as unsafe, to work around a bug in AWX (https://github.com/ansible-collections/community.docker/pull/835)."

View File

@ -1,6 +0,0 @@
minor_changes:
- "docker_compose_v2* - the new option ``check_files_existing`` allows to disable the check for one of the files
``compose.yaml``, ``compose.yml``, ``docker-compose.yaml``, and ``docker-compose.yml`` in ``project_src``
if ``files`` is not specified. This is necessary if a non-standard compose filename is specified through other
means, like the ``COMPOSE_FILE`` environment variable
(https://github.com/ansible-collections/community.docker/issues/838, https://github.com/ansible-collections/community.docker/pull/839)."