Skip to content

Version 10.0.0

Choose a tag to compare

@jaydenseric jaydenseric released this 27 Apr 04:08
· 51 commits to master since this release

Major

  • Updated Node.js support to ^12.20 || >= 14.13.
  • Updated dependencies, some of which require newer Node.js versions than previously supported.
  • The API is now ESM in .mjs files instead of CJS in .js files, accessible via import but not require.
  • Replaced the the package.json exports field public subpath folder mapping (deprecated by Node.js) with a subpath pattern.
  • By default also scape files with the .cjs file extension for JSDoc.
  • If the optional peer dependency prettier is installed, the new markdown file contents is Prettier formatted.

Patch

  • Also run GitHub Actions CI with Node.js v16.
  • Use regex u mode.
  • JSDoc comment ends (*/) escaped with a backslash (*\/) can now be escaped using additional backslashes (e.g. *\\/ unescapes to *\/).
  • Tweaked a code example for the public function jsdocMd.
  • v9.1.1 changelog entry tweak.