Skip to content

Version 3.0.0

Compare
Choose a tag to compare
@jaydenseric jaydenseric released this 07 Jun 05:24
· 24 commits to master since this release

Major

  • Updated Node.js support to ^12.20 || >= 14.13.
  • Updated browser support to the Browserslist query > 0.5%, not OperaMini all, not IE > 0, not dead.
  • Updated dev dependencies, some of which require newer Node.js versions than were previously supported.
  • Added a package exports field.
  • Refactored the published module to use more modern ES language features.
  • The tests are now ESM in an .mjs file instead of CJS in a .js file.
  • Use JSDoc comments and jsdoc-md in package scripts to generate a new “API” readme section. The published module now contains JSDoc comments, which might affect TypeScript projects.

Patch

  • Updated dev dependencies.
  • Add Node.js to the package browserslist field query.
  • 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.
  • Added a package sideEffects field.
  • More specific package main path.
  • Removed npm-debug.log from the .gitignore file as npm v4.2.0+ doesn’t create it in the current working directory.
  • Improved the package test:prettier script.
  • Configured Prettier option semi to the default, true.
  • The exported fake tag function now has the name fakeTag instead of being anonymous.
  • Updated the EditorConfig.
  • Readme tweaks.
  • The file changelog.md is no longer published.