New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Annotating deprecated names with a version number. #9743
Comments
I agree that that might be useful. Admittedly, we can at least generate that information through |
Along these lines: the |
I like this idea.
As I have complained about this before, this also gives us a chance to establish an understandable cadence with removing deprecated features. If we keep things around for 1 release cycle, my favorite to make the cut would be 1-3 months before a release. Doing the cut soon after the release has the chance that a feature can be deprecated for a few weeks only until it gets removed (in the extreme case we deprecated it close before the release), which I find uncomfortably short notice. In any case, having a clear procedure avoids disappointment or case-by-case discussions. |
I think that we should try to get rid of all deprecations in 9.0. After that, we can annotate the (hopefully) not so many deprecations in 9.1. |
Hence we know that those items (@masterleinad already got the timer functions) were deprecated prior to 9.0.0.
👍 I think it makes sense to vote on a clear procedure for deprecations. What about 🚀 for 1 release and 👍 for two? |
I had not known about If you want to have a good chuckle, look through the completely non-deterministic places in which the |
I think we addressed this well enough with |
#9742 reminded me of something I had thought about on a number of occasions before: When we deprecate functions or classes, we just plop a
DEAL_II_DEPRECATED
in front of it. But when coming back to it later and thinking about whether we can remove something, it's not always clear when the deprecation actually happened: Before or after the previous release?It would be useful if we could have an annotation that explains this. For example,
DEAL_II_DEPRECATED_VERSION(9,1)
would mean that the name in question was deprecated in time for the 9.1 release, and can be removed after that release. Any thoughts?The text was updated successfully, but these errors were encountered: