New release v2.19.0b4 (#85133)

pull/85137/head v2.19.0b4
Matt Clay 7 months ago committed by GitHub
parent d6a8582da7
commit 731b4d0242
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -4,6 +4,39 @@ ansible-core 2.19 "What Is and What Should Never Be" Release Notes
.. contents:: Topics .. contents:: Topics
v2.19.0b4
=========
Release Summary
---------------
| Release Date: 2025-05-12
| `Porting Guide <https://docs.ansible.com/ansible-core/2.19/porting_guides/porting_guide_core_2.19.html>`__
Minor Changes
-------------
- facts - add "CloudStack KVM Hypervisor" for Linux VM in virtual facts (https://github.com/ansible/ansible/issues/85089).
- modules - use ``AnsibleModule.warn`` instead of passing ``warnings`` to ``exit_json`` or ``fail_json`` which is deprecated.
Bugfixes
--------
- ansible-test - Updated the ``pylint`` sanity test to skip some deprecation validation checks when all arguments are dynamic.
- config - Preserve or apply Origin tag to values returned by config.
- config - Prevented fatal errors when ``MODULE_IGNORE_EXTS`` configuration was set.
- config - Templating failures on config defaults now issue a warning. Previously, failures silently returned an unrendered and untrusted template to the caller.
- config - ``ensure_type`` correctly propagates trust and other tags on returned values.
- config - ``ensure_type`` now converts mappings to ``dict`` when requested, instead of returning the mapping.
- config - ``ensure_type`` now converts sequences to ``list`` when requested, instead of returning the sequence.
- config - ``ensure_type`` now correctly errors when ``pathlist`` or ``pathspec`` types encounter non-string list items.
- config - ``ensure_type`` now reports an error when ``bytes`` are provided for any known ``value_type``. Previously, the behavior was undefined, but often resulted in an unhandled exception or incorrect return type.
- config - ``ensure_type`` with expected type ``int`` now properly converts ``True`` and ``False`` values to ``int``. Previously, these values were silently returned unmodified.
- convert_bool.boolean API conversion function - Unhashable values passed to ``boolean`` behave like other non-boolean convertible values, returning False or raising ``TypeError`` depending on the value of ``strict``. Previously, unhashable values always raised ``ValueError`` due to an invalid set membership check.
- dnf5 - when ``bugfix`` and/or ``security`` is specified, skip packages that do not have any such updates, even for new versions of libdnf5 where this functionality changed and it is considered failure
- plugin loader - Apply template trust to strings loaded from plugin configuration definitions and doc fragments.
- template action - Template files where the entire file's output renders as ``None`` are no longer emitted as the string "None", but instead render to an empty file as in previous releases.
v2.19.0b3 v2.19.0b3
========= =========
@ -327,7 +360,7 @@ Bugfixes
- get_url - fix honoring ``filename`` from the ``content-disposition`` header even when the type is ``inline`` (https://github.com/ansible/ansible/issues/83690) - get_url - fix honoring ``filename`` from the ``content-disposition`` header even when the type is ``inline`` (https://github.com/ansible/ansible/issues/83690)
- host_group_vars - fixed defining the 'key' variable if the get_vars method is called with cache=False (https://github.com/ansible/ansible/issues/84384) - host_group_vars - fixed defining the 'key' variable if the get_vars method is called with cache=False (https://github.com/ansible/ansible/issues/84384)
- include_vars - fix including previously undefined hash variables with hash_behaviour merge (https://github.com/ansible/ansible/issues/84295). - include_vars - fix including previously undefined hash variables with hash_behaviour merge (https://github.com/ansible/ansible/issues/84295).
- iptables - Allows the wait paramater to be used with iptables chain creation (https://github.com/ansible/ansible/issues/84490) - iptables - Allows the wait parameter to be used with iptables chain creation (https://github.com/ansible/ansible/issues/84490)
- linear strategy - fix executing ``end_role`` meta tasks for each host, instead of handling these as implicit run_once tasks (https://github.com/ansible/ansible/issues/84660). - linear strategy - fix executing ``end_role`` meta tasks for each host, instead of handling these as implicit run_once tasks (https://github.com/ansible/ansible/issues/84660).
- local connection plugin - Become timeout errors now include all received data. Previously, the most recently-received data was discarded. - local connection plugin - Become timeout errors now include all received data. Previously, the most recently-received data was discarded.
- local connection plugin - Ensure ``become`` success validation always occurs, even when an active plugin does not set ``prompt``. - local connection plugin - Ensure ``become`` success validation always occurs, even when an active plugin does not set ``prompt``.

@ -210,7 +210,7 @@ releases:
is called with cache=False (https://github.com/ansible/ansible/issues/84384) is called with cache=False (https://github.com/ansible/ansible/issues/84384)
- include_vars - fix including previously undefined hash variables with hash_behaviour - include_vars - fix including previously undefined hash variables with hash_behaviour
merge (https://github.com/ansible/ansible/issues/84295). merge (https://github.com/ansible/ansible/issues/84295).
- iptables - Allows the wait paramater to be used with iptables chain creation - iptables - Allows the wait parameter to be used with iptables chain creation
(https://github.com/ansible/ansible/issues/84490) (https://github.com/ansible/ansible/issues/84490)
- linear strategy - fix executing ``end_role`` meta tasks for each host, instead - linear strategy - fix executing ``end_role`` meta tasks for each host, instead
of handling these as implicit run_once tasks (https://github.com/ansible/ansible/issues/84660). of handling these as implicit run_once tasks (https://github.com/ansible/ansible/issues/84660).
@ -853,3 +853,61 @@ releases:
- deprecator.yml - deprecator.yml
- ensure_remote_perms.yml - ensure_remote_perms.yml
release_date: '2025-05-06' release_date: '2025-05-06'
2.19.0b4:
changes:
bugfixes:
- ansible-test - Updated the ``pylint`` sanity test to skip some deprecation
validation checks when all arguments are dynamic.
- config - Preserve or apply Origin tag to values returned by config.
- config - Prevented fatal errors when ``MODULE_IGNORE_EXTS`` configuration
was set.
- config - Templating failures on config defaults now issue a warning. Previously,
failures silently returned an unrendered and untrusted template to the caller.
- config - ``ensure_type`` correctly propagates trust and other tags on returned
values.
- config - ``ensure_type`` now converts mappings to ``dict`` when requested,
instead of returning the mapping.
- config - ``ensure_type`` now converts sequences to ``list`` when requested,
instead of returning the sequence.
- config - ``ensure_type`` now correctly errors when ``pathlist`` or ``pathspec``
types encounter non-string list items.
- config - ``ensure_type`` now reports an error when ``bytes`` are provided
for any known ``value_type``. Previously, the behavior was undefined, but
often resulted in an unhandled exception or incorrect return type.
- config - ``ensure_type`` with expected type ``int`` now properly converts
``True`` and ``False`` values to ``int``. Previously, these values were silently
returned unmodified.
- convert_bool.boolean API conversion function - Unhashable values passed to
``boolean`` behave like other non-boolean convertible values, returning False
or raising ``TypeError`` depending on the value of ``strict``. Previously,
unhashable values always raised ``ValueError`` due to an invalid set membership
check.
- dnf5 - when ``bugfix`` and/or ``security`` is specified, skip packages that
do not have any such updates, even for new versions of libdnf5 where this
functionality changed and it is considered failure
- plugin loader - Apply template trust to strings loaded from plugin configuration
definitions and doc fragments.
- template action - Template files where the entire file's output renders as
``None`` are no longer emitted as the string "None", but instead render to
an empty file as in previous releases.
minor_changes:
- facts - add "CloudStack KVM Hypervisor" for Linux VM in virtual facts (https://github.com/ansible/ansible/issues/85089).
- modules - use ``AnsibleModule.warn`` instead of passing ``warnings`` to ``exit_json``
or ``fail_json`` which is deprecated.
release_summary: '| Release Date: 2025-05-12
| `Porting Guide <https://docs.ansible.com/ansible-core/2.19/porting_guides/porting_guide_core_2.19.html>`__
'
codename: What Is and What Should Never Be
fragments:
- 2.19.0b4_summary.yaml
- 85117-add-cloudstack-kvm-for-linux-facts.yml
- ansible-test-pylint-deprecated-fix.yml
- dnf5-advisory-type.yml
- ensure_type.yml
- plugin-loader-trust-docs.yml
- preserve_config_origin.yml
- remove-warnings-retval.yml
- template-none.yml
release_date: '2025-05-12'

@ -0,0 +1,3 @@
release_summary: |
| Release Date: 2025-05-12
| `Porting Guide <https://docs.ansible.com/ansible-core/2.19/porting_guides/porting_guide_core_2.19.html>`__

@ -17,6 +17,6 @@
from __future__ import annotations from __future__ import annotations
__version__ = '2.19.0b3.post0' __version__ = '2.19.0b4'
__author__ = 'Ansible, Inc.' __author__ = 'Ansible, Inc.'
__codename__ = "What Is and What Should Never Be" __codename__ = "What Is and What Should Never Be"

@ -1,5 +1,5 @@
[build-system] [build-system]
requires = ["setuptools >= 66.1.0, <= 80.3.1", "wheel == 0.45.1"] # lower bound to support controller Python versions, upper bound for latest version tested at release requires = ["setuptools >= 66.1.0, <= 80.4.0", "wheel == 0.45.1"] # lower bound to support controller Python versions, upper bound for latest version tested at release
build-backend = "setuptools.build_meta" build-backend = "setuptools.build_meta"
[project] [project]

Loading…
Cancel
Save