Skip to content

0.9.0

Latest
Compare
Choose a tag to compare
@KeRNeLith KeRNeLith released this 16 Sep 07:02

Version 0.9.0

  • Option:

    • Extend support of TryParseEnum to every targets.
    • Extend support of NoneIfNullOrSpaces to every targets.
    • Add an If treatment with templated result.
    • Add NoneIf treatments.
    • WARNING: Rename NoneClass to NoneOption.
    • Add IfOfDefault and ElseOrDefault extensions.
  • Results:

    • Add an extension to throw the wrapped exception of a Result if there is one.
    • Results structure no longer throw NullPointerException when initialized by default rather than with factory methods.
    • Change some OnSuccess parameter to the wrapped value rather than result itself (for consistency).
    • Add an OnFailure extensions for results.
    • Add factory methods to create results from other failed results.
  • Either:

    • Fix a crash in the Equals for Either with direct comparison of a left or right value when null.
  • Misc:

    • Generate a documentation for the library via DocFX.
    • Make Option, results, eithers and Unit serializable types.