Skip to content

Version 3.0.0

Latest

Choose a tag to compare

@jaydenseric jaydenseric released this 28 May 08:48

Major

  • Updated Node.js support to ^12.20 || >= 14.13.
  • Updated dev dependencies, some of which require newer Node.js versions than were previously supported.
  • The API is now ESM in .mjs files instead of CJS in .js files, accessible via import but not require.
  • The function installFrom is now a default export.
  • The tests are now ESM in .mjs files instead of CJS in a .js file.
  • Added a package exports field.

Patch

  • Updated GitHub Actions CI config:
    • Also run on pull request.
    • Run tests with Node.js v12, v14, v16.
    • Updated actions/checkout to v2.
    • Updated actions/setup-node to v2.
    • Use the simpler npm install-test command.
    • Don’t specify the CI environment variable as it’s set by default.
  • Stop using hard-rejection to detect unhandled Promise rejections in tests, as Node.js v15+ does this natively.
  • Simplified JSDoc related package scripts now that jsdoc-md v10+ automatically generates a Prettier formatted readme.
  • Added a package test:jsdoc script that checks the readme API docs are up to date with the source JSDoc.
  • Improved the package test:prettier script.
  • Configured Prettier option semi to the default, true.
  • Simplified the ESLint config.
  • Updated the package keywords field.
  • More specific package main field.
  • More specific package bin field.
  • Updated CLI module file structure.
  • Removed npm-debug.log from the .gitignore file as npm v4.2.0+ doesn’t create it in the current working directory.
  • Updated the EditorConfig.
  • Improved documentation.
  • The file changelog.md is no longer published.