Change ParameterData#getJavadoc
to return a list of strings
#6
Labels
enhancement
New feature or request
ParameterData#getJavadoc
to return a list of strings
#6
Currently,
MappingDataContainer.ParameterData#getJavadoc
returns a singleString
. This precludes the possibility of multi-line javadocs for parameters, which is certainly possible both byjavadoc
and Enigma, the current mapping interface tool used by Parchment.I plan to change that method to return a
List<String>
instead, to support the possibility of multi-line javadocs for parameters officially. This has the following consequences:The change in the API interface is a breaking API change and will lead to a bump of Feather's version from 1.0.1 to 2.0.0.
The JSON format of the Mapping Data Container specification will be updated to update the
javadoc
key for parameters from a string to an array of strings. This necessitates a bump in the format version from the current 1.0.0 to 2.0.0.The parsers and writers for the MDC format (in the
io-gson
andio-moshi
subprojects) will be updated to support 2.0.0 of the MDC JSON format, consistent with the change in interface and Feather version.Developers which use Feather will be informed of the breaking change sometime before Parchment exports are produced with the new format, giving them a period to update their applications to use the new Feather version and test compatibility. Consumers of their applications also need to be informed to update.
I will also look over the codebase for any API-breaking changes which can get rolled into the 2.0.0 version update.
The text was updated successfully, but these errors were encountered: