New
1.8.0
- Fix: Deprecate old
fold()functions and introduce new ones that use the underlying value rather thanSuccess. This was an oversight in the previous implementation. Binary compatibility is preserved. - Enhancement: Mark functions
inlinewhere possible to allow carried over context (i.e. in suspend functions, etc) - Enhancement: Use contracts to inform the compiler about possible calls to lambdas.
- New: Add fluent
onSuccessandonFailure*functional extension APIs toApiResult.
What's Changed
- Misc extensions improvements by @ZacSweers in https://github.com/slackhq/EitherNet/pull/71
Full Changelog: https://github.com/slackhq/EitherNet/compare/1.7.0...1.8.0