Releases: thomaslevesque/Hamlet
Releases · thomaslevesque/Hamlet
1.0.0
1.0.0-beta.2
New
- Added support for:
- .NET Standard 1.0,
- .NET Framework 4.0
- .NET Framework 4.5
Fixed
- Included PDBs in package
1.0.0-beta.1
New
- Added support for C# 8 nullable reference types
Changed
- Replaced
GetValueOrDefaultwith 3 new methods to better support nullability analysis.ValueOrDefault<T>() where T : struct: returns the option's value, ordefault(T)if the option isNoneValueOrNull<T>() where T : class?: returns the option's value, ornullif the option isNoneValueOr<T>(T defaultValue): returns the option's value, ordefaultValueif the option isNone
1.0.0-alpha.4
New
- Add
BindMapmethod - Add
ToArrayandToListmethods - Add
Domethod - Add TryFind and
TryFindIndexmethods
Changed
- Rename
ToOptiontoSomeIfNotNull
1.0.0-alpha.3
New
- Add
Choose,PickandTryPickmethods
1.0.0-alpha.2
New
- Add equality operators
1.0.0-alpha.1
Initial release