Skip to content

Commit

Permalink
Release 3.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Apr 21, 2024
1 parent 8bcc351 commit 379ce23
Show file tree
Hide file tree
Showing 10 changed files with 319 additions and 254 deletions.
489 changes: 258 additions & 231 deletions CHANGELOG.md

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
======

Expand Down
38 changes: 38 additions & 0 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
1 change: 0 additions & 1 deletion changelogs/fragments/3.9.0.yml

This file was deleted.

2 changes: 0 additions & 2 deletions changelogs/fragments/826-docker-compose-v2-version.yml

This file was deleted.

2 changes: 0 additions & 2 deletions changelogs/fragments/828-compose-project_src.yml

This file was deleted.

8 changes: 0 additions & 8 deletions changelogs/fragments/832-docker_compose_v2-definition.yml

This file was deleted.

2 changes: 0 additions & 2 deletions changelogs/fragments/834-datetime-depr.yml

This file was deleted.

2 changes: 0 additions & 2 deletions changelogs/fragments/835-unsafe.yml

This file was deleted.

6 changes: 0 additions & 6 deletions changelogs/fragments/839-compose_v2-check-file.yml

This file was deleted.

0 comments on commit 379ce23

Please sign in to comment.