Skip to content

Commit

Permalink
Release 4.2.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Dec 16, 2024
1 parent 1828722 commit e638e02
Show file tree
Hide file tree
Showing 8 changed files with 381 additions and 313 deletions.
604 changes: 317 additions & 287 deletions CHANGELOG.md

Large diffs are not rendered by default.

26 changes: 26 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,32 @@ Docker Community Collection Release Notes

.. contents:: Topics

v4.2.0
======

Release Summary
---------------

Bugfix and feature release.

Minor Changes
-------------

- docker_compose_v2 - add ``ignore_build_events`` option (default value ``true``) which allows to (not) ignore build events for change detection (https://github.com/ansible-collections/community.docker/issues/1005, https://github.com/ansible-collections/community.docker/issues/pull/1011).
- docker_image_build - ``outputs[].name`` can now be a list of strings (https://github.com/ansible-collections/community.docker/pull/1006).
- docker_image_build - the executed command is now returned in the ``command`` return value in case of success and some errors (https://github.com/ansible-collections/community.docker/pull/1006).
- docker_network - added ``ingress`` option (https://github.com/ansible-collections/community.docker/pull/999).

Bugfixes
--------

- docker_compose_v2 - when using Compose 2.31.0 or newer, revert to the old behavior that image rebuilds, for example if ``rebuild=always``, only result in ``changed`` if a container has been restarted (https://github.com/ansible-collections/community.docker/issues/1005, https://github.com/ansible-collections/community.docker/issues/pull/1011).
- docker_image_build - work around bug resp. very unexpected behavior in Docker buildx that overwrites all image names in ``--output`` parameters if ``--tag`` is provided, which the module did by default in the past. The module now only supplies ``--tag`` if ``outputs`` is empty. If ``outputs`` has entries, it will add an additional entry with ``type=image`` if no entry of ``type=image`` contains the image name specified by the ``name`` and ``tag`` options (https://github.com/ansible-collections/community.docker/issues/1001, https://github.com/ansible-collections/community.docker/pull/1006).
- docker_network - added waiting while container actually disconnect from Swarm network (https://github.com/ansible-collections/community.docker/pull/999).
- docker_network - containers are only reconnected to a network if they really exist (https://github.com/ansible-collections/community.docker/pull/999).
- docker_network - enabled "force" option in Docker network container disconnect API call (https://github.com/ansible-collections/community.docker/pull/999).
- docker_swarm_info - do not crash when finding Swarm jobs if ``services=true`` (https://github.com/ansible-collections/community.docker/issues/1003).

v4.1.0
======

Expand Down
38 changes: 38 additions & 0 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1993,3 +1993,41 @@ releases:
- 992-module-docker_compose_v2_run-fix-env-argument.yml
- 995-docker_host_info-return.yml
release_date: '2024-11-23'
4.2.0:
changes:
bugfixes:
- docker_compose_v2 - when using Compose 2.31.0 or newer, revert to the old
behavior that image rebuilds, for example if ``rebuild=always``, only result
in ``changed`` if a container has been restarted (https://github.com/ansible-collections/community.docker/issues/1005,
https://github.com/ansible-collections/community.docker/issues/pull/1011).
- docker_image_build - work around bug resp. very unexpected behavior in Docker
buildx that overwrites all image names in ``--output`` parameters if ``--tag``
is provided, which the module did by default in the past. The module now
only supplies ``--tag`` if ``outputs`` is empty. If ``outputs`` has entries,
it will add an additional entry with ``type=image`` if no entry of ``type=image``
contains the image name specified by the ``name`` and ``tag`` options (https://github.com/ansible-collections/community.docker/issues/1001,
https://github.com/ansible-collections/community.docker/pull/1006).
- docker_network - added waiting while container actually disconnect from
Swarm network (https://github.com/ansible-collections/community.docker/pull/999).
- docker_network - containers are only reconnected to a network if they really
exist (https://github.com/ansible-collections/community.docker/pull/999).
- docker_network - enabled "force" option in Docker network container disconnect
API call (https://github.com/ansible-collections/community.docker/pull/999).
- docker_swarm_info - do not crash when finding Swarm jobs if ``services=true``
(https://github.com/ansible-collections/community.docker/issues/1003).
minor_changes:
- docker_compose_v2 - add ``ignore_build_events`` option (default value ``true``)
which allows to (not) ignore build events for change detection (https://github.com/ansible-collections/community.docker/issues/1005,
https://github.com/ansible-collections/community.docker/issues/pull/1011).
- docker_image_build - ``outputs[].name`` can now be a list of strings (https://github.com/ansible-collections/community.docker/pull/1006).
- docker_image_build - the executed command is now returned in the ``command``
return value in case of success and some errors (https://github.com/ansible-collections/community.docker/pull/1006).
- docker_network - added ``ingress`` option (https://github.com/ansible-collections/community.docker/pull/999).
release_summary: Bugfix and feature release.
fragments:
- 1003-docker_swarm_info-crash.yml
- 1006-docker-image-build-outputs.yml
- 1011-docker_compose_v2-build-changed.yml
- 4.2.0.yml
- 999-add-ingress-option-to-docker_network-module.yml
release_date: '2024-12-16'
2 changes: 0 additions & 2 deletions changelogs/fragments/1003-docker_swarm_info-crash.yml

This file was deleted.

10 changes: 0 additions & 10 deletions changelogs/fragments/1006-docker-image-build-outputs.yml

This file was deleted.

7 changes: 0 additions & 7 deletions changelogs/fragments/1011-docker_compose_v2-build-changed.yml

This file was deleted.

1 change: 0 additions & 1 deletion changelogs/fragments/4.2.0.yml

This file was deleted.

This file was deleted.

0 comments on commit e638e02

Please sign in to comment.