v9.0.0
The default output has not changed. The minimum required Node version is still v12.17. The goals for this release were bug fixing and simplification. Feel free to comment in the release discussion or post an issue.
Breaking changes since v8.0.3
- Removed
.renderSync(),.getTemplateDataSync()and.getJsdocDataSync(). The jsdoc2md API is now async-only. - Previously, passing either
option.filesoroption.sourcewas mandatory. Now, it is eitheroption.files,option.sourceoroption.configure. jsdoc2md/jsdoc-api#27
Non-breaking changes
- Fixed a bug where it was possible for a handlebars template to be passed into the jsdoc-api
templateoption. #303 - Support clever-links, monospace-links,
{@linkcode}and{@linkplain}. #301 - Fixed a 'maximum call stack size exceeded' error. The user now gets a warning if the malformed input which formerly caused the error is detected. jsdoc2md/dmd#89
- Fixed an issue where the dmd internal partials failed to load if a user's directory name contained special glob characters. jsdoc2md/dmd#82
- Added the
--EOLoption to control line-endings. Fixes jsdoc2md/dmd#92. - Fixed an issue where setting
{ pedantic: false }confused the underlying jsdoc. jsdoc2md/jsdoc-api#22 - Can now pass an array of strings to
.source. jsdoc2md/jsdoc-api#11 - Added support for
@hideconstructor. jsdoc2md/dmd#94 - Print a warning when the most common mistake is detected (
@moduletag required) jsdoc2md/dmd#96 - Fixed an issue where a
@examplewas excluded in the output if the doclet did not contain a description. jsdoc2md/jsdoc-parse#33
Other improvements
- Greatly optimised the dependency tree - upgraded all deps to their latest versions (removing deprecation warnings) and factored many old modules out of the project.
Upgrade notes
- Update your code replacing any use of
.renderSync(),.getTemplateDataSync()and.getJsdocDataSync()with their async equivalents.- To see an example of API usage, see here.