Skip to content

Latest commit

History

History
144 lines (80 loc) 路 1.96 KB

CHANGELOG.md

File metadata and controls

144 lines (80 loc) 路 1.96 KB

5.0.0

Breaking changes

  • Minimal supported Node.js version is now 18.18.0

4.0.2

Dependencies

  • Upgrade internal dependencies

4.0.1

Dependencies

  • Upgrade internal dependencies

4.0.0

Breaking changes

  • Minimal supported Node.js version is now 16.17.0

3.1.1

Bug fixes

  • Fix TypeScript types

3.1.0

Features

  • Improve tree-shaking support

3.0.1

Bug fixes

  • Fix handling of errors that do not have any stack trace

3.0.0

Breaking changes

  • Renamed the short option to stack. Its value is inverted.

Before:

handleCliError(error, { short: true })

After:

handleCliError(error, { stack: false })
  • The error's name is now always logged even if stack is false.

Features

  • The colors option has been added to show colors. It defaults to true in terminals.
  • Quoted strings in the error message are now colorized.
  • An icon is now prepended to the error's name. This can be configured using the icon option.
  • The error's icon and name are now logged in red by default. This can be configured using the header option.
  • The props option has been added to hide error properties.

2.5.1

Bug fixes

  • Fix package.json

2.5.0

  • Switch to MIT license

2.4.2

Bug fixes

  • Revert browsers support

2.4.1

Bug fixes

  • Fix error validation message

2.4.0

Features

  • Improve options validation

2.3.0

Features

  • Improve options validation

2.2.0

Features

  • Ensure error properties and colors are printed

2.1.0

Features

  • Browsers support

2.0.0

Breaking changes

1.1.1

Bug fixes

  • Print error name and message on Firefox and Safari

1.1.0

Features

  • Reduce npm package size

1.0.1

Initial release