Skip to content

Version 3.0.0

Choose a tag to compare

@jaydenseric jaydenseric released this 02 Jan 00:35
· 49 commits to master since this release

Major

  • Support Node.js v10+, from v8+. This mostly applies to this project’s development environment.
  • The published files have been reorganized.
  • The package now exports a single default export, instead of a named export.
  • ESM is no longer published.

Minor

  • Setup GitHub Sponsors funding:
    • Added .github/funding.yml to display a sponsor button in GitHub.
    • Added a package.json funding field to enable npm CLI funding features.

Patch

  • Updated dev dependencies.
  • Setup eslint-plugin-compat.
  • Replaced the size-limit dev dependency with @size-limit/preset-small-lib.
  • Removed the now redundant eslint-plugin-import-order-alphabetical dev dependency.
  • Stop using husky and lint-staged.
  • Added tests using new test-director, coverage-node and hard-rejection dev dependencies.
  • Refactored source to CJS, removed the build scripts and Babel related tooling.
  • Removed the package sideEffects field.
  • Removed package-lock.json from .gitignore and .prettierignore as it’s disabled in .npmrc anyway.
  • Use GitHub Actions instead of Travis for CI.
  • Tweaked the setup instructions.
  • Clarified that Opera Mini isn’t supported in the Browserslist queries and readme “Support” section.
  • Tweaked the JSDoc and simplified the example.