Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Deprecated: Output an informational message for deprecation when no version provided #16774
When there is no
The fact that we warn when there is no clear path for removing deprecation is very confusing in my opinion. The change proposed tries to make it less dramatic for 3rd party developers. The idea is that when there is no version provided we are going to support deprecated version forever according to Deprecations document. As soon as we decide to remove it, we should specify the target version for removal and it will automatically make the message stronger.
I tend to agree with @aduth that deprecations should be a warning indifferent of version. It is one of the ways that pushes people to work on stuff they don't like, all these warnings, while informational messages are not motivating enough :)
Something to add is the word "version" to this string: "%feature% is deprecated and will be removed in version 11"