Skip to content

Releases: a7mdfre7at/Masterly.NonEmptyList

Release v1.2.1

15 Sep 18:39
Compare
Choose a tag to compare
  • Re-factored Tail property to avoid excessive memory use and performance overhead.
  • Added documentation for all methods and properties.

Release v1.2.0

15 Sep 16:24
Compare
Choose a tag to compare
  • 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 throw NotSupportedException.
  • Prevent removing the last item by overriding Remove, RemoveAt, and RemoveRange methods to throw InvalidOperationException when the list has only one item.
  • Added a Deconstruct method to deconstruct the list into its head and tail.

Release v1.1.0

15 Sep 12:12
62b3e87
Compare
Choose a tag to compare
  • Add 'From' factory method to create a NonEmptyList from another IEnumerable

Release v1.0.0

13 Sep 18:23
fb91667
Compare
Choose a tag to compare
  • Initial release