Skip to content

v6.0.0

Latest

Choose a tag to compare

@ardalis ardalis released this 24 Nov 20:17
7a5cbc0

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, and netstandard2.0. The net8.0 and netstandard2.1 targets were dropped because .NET 8 and 9 are out of support. Projects that can't use .NET 10+ get the netstandard2.0 build instead. (#419)

Fixes

  • Guard.Against.Expression now works with reference types; the struct constraint was removed. (#339, #406)
  • Guard.Against.LengthOutOfRange exceptions 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