Repository navigation
This is the last MIT-licensed release of Ardalis.GuardClauses. Future releases will require a (potentially free) commercial license. Find out more
What's Changed
Breaking
- Target frameworks are now
net11.0,net10.0, andnetstandard2.0. Thenet8.0andnetstandard2.1targets were dropped because .NET 8 and 9 are out of support. Projects that can't use .NET 10+ get thenetstandard2.0build instead. (#419)
Fixes
Guard.Against.Expressionnow works with reference types; thestructconstraint was removed. (#339, #406)Guard.Against.LengthOutOfRangeexceptions now keep the parameter name and custom message. (#422)
Packaging
- The NuGet package has its own readme.
- The package license is declared as an MIT license expression, so it shows up on nuget.org and in license-scanning tools. (#359)
- Microsoft.SourceLink.GitHub updated to 10.0.400. (#410)
- Packages are published from GitHub Actions using NuGet trusted publishing. (#421)
Full Changelog: v5.0...v6.0.0