Skip to content

Releases: ehmicky/merge-error-cause

Release 2.5.1

06 Sep 12:46
Compare
Choose a tag to compare

Bug fixes

  • Delete internal wrap property

Release 2.5.0

05 Sep 17:48
Compare
Choose a tag to compare

Features

  • Improve merging properties

Release 2.4.0

04 Sep 17:24
Compare
Choose a tag to compare

Features

  • Improve performance

Release 2.3.0

02 Sep 15:23
Compare
Choose a tag to compare

Features

  • Improve handling empty error messages

Release 2.2.0

01 Sep 13:41
Compare
Choose a tag to compare

Features

Release 2.1.1

31 Aug 16:46
Compare
Choose a tag to compare

Bug fixes

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

Release 2.1.0

31 Aug 16:20
Compare
Choose a tag to compare

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

Release 2.0.0

23 Aug 17:59
Compare
Choose a tag to compare

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

Release 1.3.0

16 Aug 18:57
Compare
Choose a tag to compare

Features

  • Reduce npm package size

Release 1.2.0

16 Jul 16:27
Compare
Choose a tag to compare

Features

  • Improve error normalization