- Previously, if the
propsoption wasfalse, aggregate errors were not printed. To achieve the same behavior, thecauseoption must now be set tofalse.
- Aggregate errors are now printed on their own, which result in a prettier output.
- Add option
logto customize printing the error message.
- Allow exit codes from 125 to 255.
- Improve documentation in
README.md
- Minimal supported Node.js version is now
18.18.0
- Minimal supported
modern-errorsversion is now6.0.0
- Minimal supported Node.js version is now
16.17.0
- Migrate to TypeScript
error.exit()has been renamed toBaseError.exit(error).error.exit()is deprecated but still supported.
- Upgrade to the latest version of
modern-errors
modern-errors@5is now required- The default value for the
exitCodeoption is now1
- Improve tree-shaking support
- Fix
stackoption's default value
- Fix bug with TypeScript types
- Upgrade to
modern-errors@v4
Improve README
Improve README and add a logo
Fix package.json
Fix package.json
Fix package.json
Initial release.