summaryrefslogtreecommitdiffstats
path: root/changelogs
diff options
context:
space:
mode:
authorFelix Fontein <felix@fontein.de>2020-06-10 00:21:19 +0200
committerGitHub <noreply@github.com>2020-06-10 00:21:19 +0200
commita862ff2d4324f871565ef5b749c6a96ad0ad767e (patch)
tree2e34f490a9c5f5c9da26e26defb65d33cd2143e9 /changelogs
parentSplit out and install sanity test requirements. (#69971) (diff)
downloadansible-a862ff2d4324f871565ef5b749c6a96ad0ad767e.tar.xz
ansible-a862ff2d4324f871565ef5b749c6a96ad0ad767e.zip
Deprecation revisited (#69926)
* Allow to specify collection_name separately for deprecation. * Use new functionality in Ansible. * Use new functionality in tests. * Update tagging/untagging functions. * Update pylint deprecated sanity test. * Update validate-modules. Missing are basic checks for version_added (validate semantic version format for collections). * Improve version validation. Re-add version_added validation. * Make sure collection names are added to return docs before schema validation. * Extra checks to avoid crashes on bad data. * Make C# module utils code work, and update/extend tests. * Add changelog fragment. * Stop extracting collection name from potentially tagged versions/dates. * Simplify C# code. * Update Windows modules docs. * Forgot semicolons.
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/fragments/deprecation-collection-name.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/changelogs/fragments/deprecation-collection-name.yml b/changelogs/fragments/deprecation-collection-name.yml
new file mode 100644
index 0000000000..1e796a65d8
--- /dev/null
+++ b/changelogs/fragments/deprecation-collection-name.yml
@@ -0,0 +1,2 @@
+major_changes:
+- "When deprecations are done in code, they to specify a ``collection_name`` so that deprecation warnings can mention which collection - or ansible-base - is deprecating a feature. This affects all ``Display.deprecated()`` or ``AnsibleModule.deprecate()`` or ``Ansible.Basic.Deprecate()`` calls, and ``removed_in_version``/``removed_at_date`` or ``deprecated_aliases`` in module argument specs."