Skip to content

Version 5.0.0

Compare
Choose a tag to compare
@jaydenseric jaydenseric released this 27 Apr 11:05
· 49 commits to master since this release

Major

  • Updated supported Node.js versions 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.

Patch

  • Simplified the package scripts now that jsdoc-md v10 automatically generates a Prettier formatted readme.
  • Always use regex u mode.
  • Stop using hard-rejection to detect unhandled Promise rejections in tests, as Node.js v15+ does this natively.
  • Improved the test helper function replaceStackTraces.
  • Refactored unnecessary template strings.
  • Updated GitHub Actions CI config:
    • Also run tests with Node.js v16.
    • Updated actions/checkout to v2.
    • Updated actions/setup-node to v2.
    • Don’t specify the CI environment variable as it’s set by default.