Releases: akamsteeg/Pitcher
Releases · akamsteeg/Pitcher
v2.1.1
v2.1.0
- [Feature] Use "is null" instead of "== null" for null checks (#10)
- [Feature] Add Throw.ArgumentOutOfRange.WhenNegativeNumber() to throw an ArgumentOutOfRangeException when a number is less than zero (#11)
- [Feature] Add Throw.ArgumentOutOfRange.WhenPositiveNumber() to throw an ArgumentOutOfRangeException
- [Feature]] Add Throw.ArgumentOutOfRange.WhenLessThan() where T is IComparable to throw an ArgumentOutOfRangeException when the argument is less than the specified value (#13)
- [Feature]] Add Throw.ArgumentOutOfRange.WhenMoreThan;() where T is IComparable to throw an ArgumentOutOfRangeException when the argument is more than the specified value (#14)
v2.0.0
- [Breaking] Strong-named the assembly (#9)
- [Breaking] Moved to a single NETSTANDARD2.0 TFM (#5)
- [Deprecated] Throw.ArgumentNull.WhenNull(string, string) and Throw.ArgumentNull.WhenNull(string, string, string) are marked as obsolete (#7)
- [Feature] Added Throw.ArgumentNull.WhenNullOrEmpty(string, string) and Throw.ArgumentNull.WhenNullOrEmpty(string, string, string) to throw an ArgumentNullException on null or empty strings (#7)
- [Feature] Added Throw.ArgumentNull.WhenNullOrEmpty(IEnumerable, string) and Throw.ArgumentNull.WhenNullOrEmpty(IEnumerable, string, string) to throw an ArgumentNullException on null or empty enumerables (#6)