docs: add note on how we handle deprecations (#2185)

This commit is contained in:
Otto Bittner 2023-08-21 16:48:10 +02:00 committed by GitHub
parent afa7fd0edb
commit b2fa9988b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,10 @@
# Deprecations
When removing a feature/flag/command we strive to mark said feature as deprecated one minor version before the removal happens.
I.e. to remove the CLI command `foo` in version v10.6, all invocations of `foo` in v10.5 should print a deprecation warning.
The deprecation should also be noted in the help text of the command to make it show up in the Constellation docs.
The changelog for v10.5 should contain a deprecation warning for `foo`.
The changelog for v10.6, should sort the removal of `foo` in the category `Breaking Changes`.
It may happen that the effort to implement a feature in this manner is deemed to high.