Skip to content

Latest commit

 

History

History
138 lines (78 loc) · 2.21 KB

CHANGELOG.md

File metadata and controls

138 lines (78 loc) · 2.21 KB

5.0.0

Breaking changes

  • Minimal supported Node.js version is now 18.18.0

4.0.1

Dependencies

  • Upgrade internal dependencies

4.0.0

Breaking changes

  • Minimal supported Node.js version is now 16.17.0

3.5.0

Features

3.4.0

Features

3.3.0

Features

  • Add browser support

3.2.0

Features

  • Improve TypeScript types

3.1.1

Bug fixes

  • Fix package.json

3.1.0

  • Switch to MIT license

3.0.0

Breaking changes

2.5.1

Bug fixes

  • Delete internal wrap property

2.5.0

Features

  • Improve merging properties

2.4.0

Features

  • Improve performance

2.3.0

Features

  • Improve handling empty error messages

2.2.0

Features

2.1.1

Bug fixes

  • Allow ErrorClass.prototype.constructor to mismatch ErrorClass, in order to support polyfills like error-cause-polyfill

2.1.0

Features

  • Improve how error classes are merged thanks to set-error-class
  • Improve how error message are merged thanks to set-error-message
  • Improve how error properties are merged thanks to set-error-props
  • Improve how error.stack is merged
  • Improve TypeScript types

2.0.0

Breaking changes

  • The argument is now directly modified, providing it is an Error instance. Otherwise, a new error is created then returned.
  • The outer error type is now kept when it is AggregateError

Features

1.3.0

Features

  • Reduce npm package size

1.2.0

Features

  • Improve error normalization