Releases: feO2x/Light.GuardClauses
Releases · feO2x/Light.GuardClauses
12.0.0 Not Nothing
11.0.0 Native AOT
Light.GuardClauses 11.0.0
- Light.GuardClauses now targets .NET 8 and is AOT-compatible
- breaking: EnumInfo<T> no longer has the UnderlyingType property
- In AOT scenarios, avoid the Type-related assertions, they are marked with the DynamicallyAccessedMembersAttribute
10.3.0 - Range.For
Light.GuardClauses 10.3.0
11.0.0-preview1 Native AOT
Light.GuardClauses 11.0.0-preview1
- Light.GuardClauses now targets .NET 8 and is AOT-compatible
- breaking:
EnumInfo<T>
no longer has theUnderlyingType
property - In AOT scenarios, avoid the Type-related assertions, they are marked with the
DynamicallyAccessedMembersAttribute
10.2.0 - Trimmed Strings and Approximate Floats
Light.GuardClauses 10.2.0
- Added
IsLessThanOrApproximately
andIsGreaterThanOrApproximately
assertions for doubles and floats - Added
IsTrimmedXXX
andMustBeTrimmedXXX
assertions for strings
10.1.0 - Support for JetBrains' NoEnumerationAttribute
Light.GuardClauses 10.1.0
- added support for JetBrains'
NoEnumerationAttribute
- many thanks to Chris Donnelly (#82)
10.0.0 Support for CallerArgumentExpression
Light.GuardClauses 10.0.0
- added support for CallerArgumentExpressionAttribute
- Breaking change: the library is now built against .NET Standard 2.0 and .NET Standard 2.1
.NET Analyzer Support
Light.GuardClauses 9.0.0
- added support for .NET Analyzers / FxCopAnalyzers via ValidatedNotNullAttribute.
- Breaking change: simplified parameter list of
Throw.EmptyCollection
\n or \r\n?
Light.GuardClauses 8.1.0
- added
IsNewLine
andMustBeNewLine
- fixed warnings about incorrect NRT use in
IEqualityComparer<T>
implementations
Missing NRTs
Light.GuardClauses 8.0.1
- fixed missing NullableReferenceType indicators in URI assertions and IsSameAs / MustNotBeSameAs, as well as Throw.SameObjectReference