diff --git a/changelogs/fragments/219_catchall.yml b/changelogs/fragments/219_catchall.yml new file mode 100644 index 00000000000..e84269c526d --- /dev/null +++ b/changelogs/fragments/219_catchall.yml @@ -0,0 +1,37 @@ +deprecated_features: + - playbook - The ``timedout.frame`` task result value (injected when a task timeout occurs) is deprecated. + Include ``error`` in the ``DISPLAY_TRACEBACK`` config value to capture a full Python traceback for timed out actions. + + - Jinja test plugins - Returning a non-boolean result from a Jinja test plugin is deprecated. + + - YAML parsing - Usage of the YAML 1.1 ``!!omap`` and ``!!pairs`` tags is deprecated. + Use standard mappings instead. + + - YAML parsing - Usage of the undocumented ``!vault-encrypted`` YAML tag is deprecated. + Use ``!vault`` instead. + + - public API - The ``ansible.errors.AnsibleFilterTypeError`` exception type has been deprecated. + Use ``AnsibleTypeError`` instead. + + - public API - The ``ansible.errors._AnsibleActionDone`` exception type has been deprecated. + Action plugins should return a task result dictionary in success cases instead of raising. + + - public API - The ``ansible.module_utils.common.json.json_dump`` function is deprecated. + Call Python stdlib ``json.dumps`` instead, with ``cls`` set to an Ansible profile encoder type from ``ansible.module_utils.common.json.get_encoder``. + + - config - The ``DEFAULT_UNDEFINED_VAR_BEHAVIOR`` configuration option is deprecated and no longer has any effect. + Attempting to use an undefined variable where undefined values are unexpected is now always an error. + This behavior was enabled by default in previous versions, and disabling it yielded inconsistent results. + + - config - The ``STRING_TYPE_FILTERS`` configuration option is deprecated and no longer has any effect. + Since the template engine now always preserves native types, there is no longer a risk of unintended conversion from strings to native types. + + - config - The ``DEFAULT_ALLOW_UNSAFE_LOOKUPS`` configuration option is deprecated and no longer has any effect. + Ansible templating no longer encounters situations where use of lookup plugins is considered "unsafe". + + - config - Using the ``DEFAULT_MANAGED_STR`` configuration option to customize the value of the ``ansible_managed`` variable is deprecated. + The ``ansible_managed`` variable can now be set the same as any other variable. + + - config - Using the ``DEFAULT_JINJA2_EXTENSIONS`` configuration option to enable Jinja2 extensions is deprecated. + Previously, custom Jinja extensions were disabled by default, as they can destabilize the Ansible templating environment. + Templates should only make use of filter, test and lookup plugins.