Skip to content

0.8.0

Compare
Choose a tag to compare
@KeRNeLith KeRNeLith released this 24 Jan 23:42

Version 0.8.0

  • General:

    • Library use C# 7.0 features.
    • Change target NetStandard 1.1 to NetStandard 1.0.
    • Adjust some annotations of library methods.
    • Add early throw for parameters that should not be null.
    • Add exception documentation on library functions.
  • Option:

    • Add extensions to Enum, DateTime, DateTimeOffset and Guid.
    • Replace methods returning void by Unit.
    • Transform conversions from Option to other library types to extensions.
    • Transform operations available for Option as extensions into instance methods.
  • Results:

    • Add extensions OnSuccessOrFailure.
    • Update some OnSuccess/OnFailure extensions to return the input result to make possible to chain them.
    • Add inputs parameters to lambda of some OnSuccess extensions.
    • Transform conversions from Results to other library types to extensions.
  • Unit:

    • Add an implementation of Unit type.
  • Either:

    • Add a first implementation Either monad.
      • Operations methods (IfLeft/IfRight/Match/Map, etc.).
      • Linq extensions.
      • Comparison helpers.
      • Conversions to other library types.