Releases: a7mdfre7at/Masterly.NonEmptyList
Releases · a7mdfre7at/Masterly.NonEmptyList
Release v1.2.1
- Re-factored
Tail
property to avoid excessive memory use and performance overhead. - Added documentation for all methods and properties.
Release v1.2.0
- Throw an exception if
otherItems
contains null values. - Throw an exception if
AddRange
is called with an empty collection or a collection containing null values. - Prevent clearing the list by overriding
Clear
method to throwNotSupportedException
. - Prevent removing the last item by overriding
Remove
,RemoveAt
, andRemoveRange
methods to throwInvalidOperationException
when the list has only one item. - Added a
Deconstruct
method to deconstruct the list into its head and tail.
Release v1.1.0
- Add 'From' factory method to create a NonEmptyList from another IEnumerable
Release v1.0.0
- Initial release