Releases: MewsSystems/FuncSharp
Releases · MewsSystems/FuncSharp
Funcsharp 8.0.0
What's Changed
Added
- Added methods for getting an empty collection instead of null. #148
- Added extra numeric types such as
NonNegativeLong
andNonNegativeShort
in #147 - Added allocation free Match method that isn't lazy. #146
- Partitioning method for splitting collections by condition. Also splitting collections of ITries or coproducts in #151 and #153
- Method for unpacking a collection of tuples into multiple collections in #152
Updated
- Made colection methods consistently crash when collection is null. Previously some methods would and others wouldn't. e.g. IsSingle, IsMultiple, SingleOption, FirstOption etc.
- Disallowed changing the items within NonEmptyEnumerable.
Removed
- Removed
SafeSubstring
extensions on a NonEmptyString.
Contributors
- @marektresnak made their first contribution in #155
- @jirkapok made their first contribution in #146
- @KaliCZ
- @VaclavKucera with the code reviews 💪
Full Changelog: v7.0.1...v8.0.0
FuncSharp 7.0.1
What's Changed
Option<T>
is a struct type now to increase performanceTry<TSuccess, TError>
is also a struct now. It no longer inheritsCoproduct2<TSuccess, TError>.
- various performance improvements of methods on Options and collections
- overall changes to signature of various extensions methods.
What's Removed
IOption<T>
interface has been removedITry<T, E>
interface has been removedTry<TSuccess, TError>
no longer inheritsCoproduct2<TSuccess, TError>.
What's Added
INonEmptyEnumerable<T>
interface with a representation ofNonEmptyEnumerable<T>
has been createdReadOnlyList
static class exists for easy static creation of collections. (for example from params of other collections)- various numeric types have been created such as
PositiveInt
,PositiveDecimal
,NonNegativeInt
etc.
Contributors:
@KaliCZ @fpindej
Full Changelog: https://github.com/MewsSystems/FuncSharp/commits/v7.0.1