NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet
NuGet, #964 most downloaded on NuGet
A simple package by @ardalis and @nimblepros with guard clause helper methods. See docs for how to extend using your own extension methods defined in your project.
Latest stable
5.0.0
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 4 weeks to 1.3 years
Some releases are documented
notes for 18 of 40 stable releases
1 version withdrawn
withdrawn after publishing
127 years old
41 releases · first in 1900
Drag across the ruler to compare, or tap a release to open it.
Updating to 5.0 because 4.6 had breaking logic (see #354)
Full Changelog: https://github.com/ardalis/GuardClauses/compare/v4.6.0...v5.0
Added new "exception" optional parameter by @UnleashedGH in #344
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).
Full Changelog: https://github.com/ardalis/GuardClauses/compare/v4.5...v4.6.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Removed different method signatures for NETFRAMEWORK and NETSTANDARD2_0 by @Ergamon in #338
Full Changelog: https://github.com/ardalis/GuardClauses/compare/v4.4.0...v4.5
Perf Improvements #328 by mjebrahimi
Full Changelog: https://github.com/ardalis/GuardClauses/compare/v4.3.0...v4.4.0
Refactor AgainstExpression to Expression for Clarity and Consistency by @SimonNyvall in https://github.com/ardalis/GuardClauses/pull/317
Full Changelog: https://github.com/ardalis/GuardClauses/compare/v4.2.0...v4.3.0
Add JetBrains.Annotations source code
Full Changelog: https://github.com/ardalis/GuardClauses/compare/v4.1.1...v4.2.0
Added netstandard2.1 to TargetFrameworks for backwards compatibility
Implemented NullOrInvalidInput method by @tiagojsrios in https://github.com/ardalis/GuardClauses/pull/178
NullOrOutOfRange clauses, adding support for nullable classes/structs to OutOfRange by @rafaelsc in https://github.com/ardalis/GuardClauses/pull/143
* Add README file to packageImplemented NullOrInvalidInput method by @tiagojsrios in https://github.com/ardalis/GuardClauses/pull/178
NullOrOutOfRange clauses, adding support for nullable classes/structs to OutOfRange by @rafaelsc in https://github.com/ardalis/GuardClauses/pull/143NullOrOutOfRange clauses, adding support for nullable classes/structs to OutOfRange by @rafaelsc in https://github.com/ardalis/GuardClauses/pull/143Full Changelog: https://github.com/ardalis/GuardClauses/compare/v4.0.0...v4.1.0
Add more support for CallerArgumentExpression.
Add more support for CallerArgumentExpression.
Rename Enum's OutOfRange to EnumOutOfRange. Add support for CallerArgumentExpression. Reorganize source files. Improve support for custom error messag
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
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Replaces object return type with strongly typed generic return type (a minor but still breaking change).
Replaces object return type with strongly typed generic return type (a minor but still breaking change).
Add optional return values on all Guard Clauses.
Add optional return values on all Guard Clauses.
Nothing published for this version
Adds ValidatedNotNullAttribute support. (ref: https://stackoverflow.com/questions/44005383/using-a-custom-argument-validation-helper-breaks-code-analy
Adds ValidatedNotNullAttribute support. (ref: https://stackoverflow.com/questions/44005383/using-a-custom-argument-validation-helper-breaks-code-analysis)
Adding C# 8 nullable reference type support
Adding C# 8 nullable reference type support
Added AgainstNegative and AgainstNegativeOrZero guards. Minor XML comment cleanup
Added AgainstNegative and AgainstNegativeOrZero guards. Minor XML comment cleanup
Nothing published for this version
Looks suspiciously like 1.3.0 but needed to rev it to get release pipeline to work.
Looks suspiciously like 1.3.0 but needed to rev it to get release pipeline to work.
Adds support for Guard.Against.Default
Adds support for Guard.Against.Default
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.