Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 1.04 KB

CHANGELOG.md

File metadata and controls

28 lines (16 loc) · 1.04 KB

Changelog

All notable changes to this project will be documented in this file.

[1.2.0] - 2024-12-06

Added

  • Option TryParse for: bool, byte, short, int, long, decimal, double, float, Guid, DateTimeOffset, DateTime, DateOnly, TimeOnly, TimeSpan, Enum (ex: intOption.TryParse).
  • ModelStateDictionary.AddResultErrors() extension method to add Result errors to the ModelStateDictionary.
  • ValidationOption<T> for scenarios non-message based validation scenarios.

[1.1.1] - 2024-12-06

Fixed

  • Option.NoneValue, Option.NoneValueAsync properties.

[1.1.0] - 2024-12-01

Added

  • Option<T>.TryGet(out T result) to safely provide the internal value. A return value indicates whether or not the Option was Some(x) or None.
  • Option<T>.ToString(string defaultValue, string? format = null, IFormatProvider? provider = null) to minimize code required to execute ToString against the inner value safely (i.e., replaces Map -> ToString -> DefaultValue chain).

[1.0.0] - 2024-11-29

Hello world!