Skip to content

Releases: alexlafroscia/eventual-result

v0.9.1

13 Aug 16:19
82f7a6e
Compare
Choose a tag to compare

Fixed

  • #or and #orElse can change the error type
  • #orElse receives the Err value from the object it is called on

v0.9.0

13 Aug 16:18
a5dc613
Compare
Choose a tag to compare

Added

  • #or and #orElse methods on EventualResult

v0.8.1

10 Aug 16:21
da93c63
Compare
Choose a tag to compare

Fixed

  • EventualResult handles an exception thrown in an originator function

v0.8.0

10 Aug 16:21
bd3bdbc
Compare
Choose a tag to compare

Added

  • EventualResult now has an .unwrapErr method

v0.7.0

09 Aug 19:16
03c41ba
Compare
Choose a tag to compare

Added

  • isSome, isNone, isOk and isErr helper functions
  • None is now immutable

Removed

  • isSome, isNone, isOk and isErr methods have been removed

v0.6.0

09 Aug 15:49
f87cd2c
Compare
Choose a tag to compare

Added

  • Add mapErr method to EventualResult

Changed

  • Removed distinct Option union type and OptionMethods interface in favor of
    a single interface that Option and None implement
  • Removed distinct Result union type and ResultMethods interface in favor of
    a single interface that Ok and Err implement
  • isSome, isNone, isOk and isErr are now methods, rather than properties