Skip to content

Version 5.0.0

Compare
Choose a tag to compare
@jaydenseric jaydenseric released this 07 Dec 01:50
· 72 commits to master since this release

Major

  • Updated supported Node.js versions to ^10.17.0 || ^12.0.0 || >= 13.7.0.
  • Updated dependencies, some of which require newer Node.js versions than were previously supported.
  • The updated kleur dependency causes subtle differences in which environments get colored console output.
  • Published files have been reorganized, so previously supported deep imports will need to be rewritten according to the newly documented paths.
  • Removed the package module field.
  • The summary message when tests fail now outputs using stderr via console.error instead of using stdout via console.info.

Patch

  • Removed Node.js v13 and added v15 to the versions tested in GitHub Actions CI.
  • Simplified the GitHub Actions CI config with the npm install-test command.
  • Updated the EditorConfig.
  • Use destructuring for require of the Node.js path API in tests.
  • Use the FORCE_COLOR environment variable in tests to ensure output is colorized.
  • Use the .ans file extension for snapshot text files containing ANSI colorization.
  • Removed npm-debug.log from the .gitignore file as npm v4.2.0+ doesn’t create it in the current working directory.
  • When tests fail and the throwOnFailure option is used, don’t set the process exit code to 1.
  • Tweaked the order of ANSI escape codes in messages so modifiers come before colors.