Skip to content

Releases: ardalis/GuardClauses

v5.0

30 Sep 18:28
ad43aa0
Compare
Choose a tag to compare

What's Changed

  • Breaking change(s) introduced in v4.6 (see discussion at #354)
  • Update Obsolete message to note reversal of logic. by @ardalis in #357

Full Changelog: v4.6.0...v5.0

v4.6.0

08 Jul 19:40
c58d4ea
Compare
Choose a tag to compare

Breaking Change

NOTE: There were breaking changes in this release - see discussion in #354. A new 5.0 release has been added to make clear the breaking change (with minimal updates from 4.6).

What's Changed

  • Added new "exception" optional parameter by @UnleashedGH in #344
  • Use Func to pass custom exception to Guard methods by @canro91 in #350
  • Add AnnotatedReferenceAssemblyVersion to fix build by @canro91 in #352

New Contributors

Full Changelog: v4.5...v4.6.0

v4.5

26 Feb 17:16
79729ab
Compare
Choose a tag to compare

What's Changed

  • Removed different method signatures for NETFRAMEWORK and NETSTANDARD2_0 by @Ergamon in #338
  • Update for Guard Against StringLength by @rlarno in #343

New Contributors

Full Changelog: v4.4.0...v4.5

v4.4.0

23 Jan 21:02
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.3.0...v4.4.0

v4.3.0

23 Dec 02:28
Compare
Choose a tag to compare

What's Changed

  • Refactor AgainstExpression to Expression for Clarity and Consistency by @SimonNyvall in #317

New Contributors

Full Changelog: v4.2.0...v4.3.0

v4.2.0

09 Nov 19:12
36d4d4f
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.1.1...v4.2.0

v4.1.1

01 Aug 18:43
Compare
Choose a tag to compare

Attempting to include README in package so it appears on Nuget.org

v4.1.0

01 Aug 18:36
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.0.0...v4.1.0

v4.0.0

18 Jan 20:25
f92ca06
Compare
Choose a tag to compare

Version 4.0.0

Rename Enum's OutOfRange to EnumOutOfRange.
Add support for CallerArgumentExpression.
Reorganize source files.
Improve support for custom error messages.
Ensure InvalidFormat doesn't succeed given an empty string and a RegEx requiring at least one character. #161

v3.3.0

29 Oct 14:36
8109911
Compare
Choose a tag to compare

Changes:

  • OutOfRange refactored to generic
  • Added custom expression-based guards
  • NoEnumeration attribute applied