Debian Codegraph @

context/deprecation.md

raw
1 # Backward compatibility and deprecation
2
3 Backward compatibility is prioritized over most other concerns.
4
5 ## Deprecation cycle
6
7 - Deprecation cycle: 4 releases (deprecation + 2 releases + removal).
8 - Removal version: current version in `lib/ansible/release.py` plus 3.
9 - Example: deprecating in 2.19 means removal in 2.22.
10
11 ## Deprecating code
12
13 Use `Display.deprecated` or `AnsibleModule.deprecate` with the removal version.