Implementing an official and stable deprecation system #1397
RickyC0626
started this conversation in
Suggestions and Proposals
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Moving #1372 discussion to here.
Description of proposed feature
Our current way of deprecating functions and classes could be improved to be more user and developer friendly. Perhaps we can implement a decorator-based system where the developer can input the following information:
How can the new feature be used?
Additional comments
We could also implement helper methods and/or CLI commands that can:
until="0.6.0"
and current version is0.6.0
or later, a warning will be shown as a reminder to delete the deprecated codeWe could deprecate parameters this way as well.
Beta Was this translation helpful? Give feedback.
All reactions