Non-breaking changes since v9.0.5
- Any text passed to the
@deprecated
tag is now displayed. #90
Upgrade notes
See this testbed directory for example source code and output.
Previously, the tag @deprecated This method has been deprecated since v2.0.0
would simply print ***Deprecated***
in the output, ignoring the deprecation text. The new behaviour:
- For an empty
@deprecated
tag with no text, display***Deprecated***
(same as before). - If the tag has text, e.g.
@deprecated This method has been deprecated since v2.0.0
, then the full text line will be printed as written- This will replace the previous
***Deprecated***
line with***This method has been deprecated since v2.0.0***
. - This approach gives you full control over the text displayed (without assuming you want the line to begin with "Deprecated").
- This will replace the previous