mirror of https://github.com/ansible/ansible.git
[2.9] Prevent Ansible 2.9 to choke on collections using deprecation by date or collection_name for deprecation calls (#69935)
* Prevent Ansible 2.9 to choke on collections using deprecation by date or collection_name for deprecation calls. * Add changelog fragment. * Fix YAML. * Improve C# compatibility. * Add tests for AnsibleModule. * Fix var name. * Fix type. * Update C# code. * Show deprecation warning if removed_at_date is used for Python modules. * Update changelogs/fragments/69935-2.10-deprecation-support.yml Co-authored-by: Alicia Cozine <879121+acozine@users.noreply.github.com> * Prevent crash of validate-modules if 'removed_in' is not in 'deprecated'. Co-authored-by: Alicia Cozine <879121+acozine@users.noreply.github.com>pull/69409/head
parent
5399127ec0
commit
cf244c094a
@ -0,0 +1,2 @@
|
||||
minor_changes:
|
||||
- "``Display.deprecated()``, ``AnsibleModule.deprecate()`` and ``Ansible.Basic.Deprecate()`` now also accept the deprecation-by-date parameters and collection name parameters from Ansible 2.10, so plugins and modules in collections that conform to Ansible 2.10 will run with newer versions of Ansible 2.9."
|
||||
Loading…
Reference in New Issue