Releases: ardalis/GuardClauses
Releases · ardalis/GuardClauses
v5.0
v4.6.0
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
- @UnleashedGH made their first contribution in #344
- @canro91 made their first contribution in #350
Full Changelog: v4.5...v4.6.0
v4.5
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
What's Changed
- Bump xunit from 2.6.1 to 2.6.2 by @dependabot in #310
- Bump Microsoft.NET.Test.Sdk from 17.7.2 to 17.8.0 by @dependabot in #311
- Bump Microsoft.SourceLink.GitHub from 1.1.1 to 8.0.0 by @dependabot in #314
- Bump github/codeql-action from 2 to 3 by @dependabot in #321
- Bump actions/upload-artifact from 3 to 4 by @dependabot in #322
- Bump dawidd6/action-download-artifact from 2 to 3 by @dependabot in #323
- StringTooShort with tests by @ardalis in #330
- StringTooLong and tests by @ardalis in #332
- feat: add string length out of range. by @HamidRezaAshkiyan in #333
- Compiler Warning Fixes by @ardalis in #335
- Performance Improvements: NullOrEmpty check on IEnumerable by @mjebrahimi in #328
New Contributors
- @HamidRezaAshkiyan made their first contribution in #333
- @mjebrahimi made their first contribution in #328
Full Changelog: v4.3.0...v4.4.0
v4.3.0
What's Changed
- Refactor AgainstExpression to Expression for Clarity and Consistency by @SimonNyvall in #317
New Contributors
- @SimonNyvall made their first contribution in #317
Full Changelog: v4.2.0...v4.3.0
v4.2.0
What's Changed
- Add JetBrains.Annotations source code by @KonH in #304
- 291 Added backwards compatibility by @Marvin-Brouwer in #303
New Contributors
- @Marvin-Brouwer made their first contribution in #303
Full Changelog: v4.1.1...v4.2.0
v4.1.1
v4.1.0
What's Changed
- Added CallerArgumentExpression and tests for more methods by @stap123 in #177
- Implemented NullOrInvalidInput method by @tiagojsrios in #178
- Bump altcover from 8.2.833 to 8.2.835 by @dependabot in #182
- Bump ReportGenerator from 5.0.2 to 5.0.4 by @dependabot in #185
- Bump coverlet.msbuild from 3.1.0 to 3.1.2 by @dependabot in #184
- Bump Microsoft.NET.Test.Sdk from 17.0.0 to 17.1.0 by @dependabot in #186
- code cleanup by @ardalis in #187
- Embed license in nuget package by @jafin in #208
- Bump Microsoft.NET.Test.Sdk from 17.1.0 to 17.2.0 by @dependabot in #207
- Bump xunit.runner.visualstudio from 2.4.3 to 2.4.5 by @dependabot in #206
- Bump ReportGenerator from 5.0.4 to 5.1.7 by @dependabot in #210
- Bump github/codeql-action from 1 to 2 by @dependabot in #203
- Bump altcover from 8.2.835 to 8.2.837 by @dependabot in #194
- Bump coverlet.collector from 3.1.0 to 3.1.2 by @dependabot in #189
- Bump irongut/CodeCoverageSummary from 1.0.2 to 1.2.0 by @dependabot in #188
- Bump ReportGenerator from 5.1.7 to 5.1.9 by @dependabot in #212
- Bump xunit from 2.4.1 to 2.4.2 by @dependabot in #218
- Bump irongut/CodeCoverageSummary from 1.2.0 to 1.3.0 by @dependabot in #217
- Bump altcover from 8.2.837 to 8.3.838 by @dependabot in #214
- Bump actions/setup-dotnet from 1 to 2 by @dependabot in #190
- Bump actions/checkout from 2 to 3 by @dependabot in #191
- Bump TunnelVisionLabs.ReferenceAssemblyAnnotator from 1.0.0-alpha.154 to 1.0.0-alpha.160 by @dependabot in #197
- Upgrade Packages and Fix Tests by @Coop56 in #235
- Remove JetBrains Annotations by @Coop56 in #236
- Bump actions/setup-dotnet from 2 to 3 by @dependabot in #234
- Add NullOrEmpty and NullOrWhiteSpace overloads for ReadOnlySpan by @KonH in #237
- Created async overload for clausules that use a predicate by @danny-bos-developer in #228
- Bump ReportGenerator from 5.1.17 to 5.1.18 by @dependabot in #262
- Bump Microsoft.NET.Test.Sdk from 17.4.1 to 17.5.0 by @dependabot in #259
- Working through build issues for new contributors by @sadukie in #265
- Testing the new PR build by @sadukie in #266
- Bump Microsoft.NET.Test.Sdk from 17.5.0 to 17.6.0 by @dependabot in #272
- Bump ReportGenerator from 5.1.18 to 5.1.20 by @dependabot in #271
- Bump ReportGenerator from 5.1.20 to 5.1.22 by @dependabot in #280
- Bump Microsoft.NET.Test.Sdk from 17.6.0 to 17.6.2 by @dependabot in #279
- Make type parameter T of the Null() method nullable and add overload for value types. by @amal-stack in #261
- Bump altcover from 8.6.14 to 8.6.68 by @dependabot in #287
- Bump xunit from 2.4.2 to 2.5.0 by @dependabot in #286
- Bump xunit.runner.visualstudio from 2.4.5 to 2.5.0 by @dependabot in #285
- Bump ReportGenerator from 5.1.22 to 5.1.23 by @dependabot in #284
- Add tests removed due to bug in previous xunit versions by @joaonunomota in #276
- Upgrade to dotnet 7.0 by @amal-stack in #282
- Bump Microsoft.NET.Test.Sdk from 17.6.2 to 17.6.3 by @dependabot in #283
- Bump coverlet.msbuild from 3.2.0 to 6.0.0 by @dependabot in #275
- Bump coverlet.collector from 3.2.0 to 6.0.0 by @dependabot in #273
- Adds
NullOrOutOfRange
clauses, adding support for nullable classes/structs toOutOfRange
by @rafaelsc in #143
New Contributors
- @tiagojsrios made their first contribution in #178
- @jafin made their first contribution in #208
- @Coop56 made their first contribution in #235
- @KonH made their first contribution in #237
- @danny-bos-developer made their first contribution in #228
- @sadukie made their first contribution in #265
- @amal-stack made their first contribution in #261
- @joaonunomota made their first contribution in #276
Full Changelog: v4.0.0...v4.1.0
v4.0.0
v3.3.0
Changes:
- OutOfRange refactored to generic
- Added custom expression-based guards
- NoEnumeration attribute applied