Remove deprecated features, bump version to 2.0.0 (#210)

* Remove docker_login's email option.

* container_default_behavior now has default value no_defaults.

* Disallow 'all' next to other ports. Deprecate 'all' in favor of publish_all_ports.

* Change default for network_mode.

* Add changelog fragment.

* Fix tests.

* Next expected release is 2.0.0.
This commit is contained in:
Felix Fontein
2021-10-05 17:39:42 +02:00
committed by GitHub
parent 14f15c0aec
commit 4070dab9a8
6 changed files with 40 additions and 82 deletions
@@ -0,0 +1,7 @@
removed_features:
- "docker_container - the default value of ``container_default_behavior`` changed to ``no_defaults`` (https://github.com/ansible-collections/community.docker/pull/210)."
- "docker_container - the special value ``all`` can no longer be used in ``published_ports`` next to other values. Please use ``publish_all_ports=true`` instead (https://github.com/ansible-collections/community.docker/pull/210)."
- "docker_container - the default value of ``network_mode`` is now the name of the first network specified in ``networks`` if such are specified and ``networks_cli_compatible=true`` (https://github.com/ansible-collections/community.docker/pull/210)."
- "docker_login - removed the ``email`` option (https://github.com/ansible-collections/community.docker/pull/210)."
deprecated_features:
- "docker_container - using the special value ``all`` in ``published_ports`` has been deprecated. Use ``publish_all_ports=true`` instead (https://github.com/ansible-collections/community.docker/pull/210)."