Skip to content
This repository has been archived by the owner on Jul 18, 2023. It is now read-only.

Releases: safakgur/guard

Version 1.12.0

31 Mar 22:39
Compare
Choose a tag to compare

PM> Install-Package Dawn.Guard -Version 1.12.0 [NuGet]

  • Added KindSpecified/Unspecified guards for DateTime (#42 - 757e730, 2cfefa0)
  • Fixed duplicate item guards on platforms < net472 (#48 - 05b5fa2)

Version 1.11.0

01 Mar 15:12
64564ce
Compare
Choose a tag to compare

PM> Install-Package Dawn.Guard -Version 1.11.0 [NuGet]

  • 7080fca: Made compatibility attributes internal.
  • 47fdae0: Added GreaterThan/LessThan guards.

Version 1.10.0

18 Oct 20:24
Compare
Choose a tag to compare

PM> Install-Package Dawn.Guard -Version 1.10.0 [NuGet]

Version 1.9.0

04 Sep 14:11
Compare
Choose a tag to compare

PM> Install-Package Dawn.Guard -Version 1.9.0 [NuGet]

#29: Added NotWhiteSpace overload accepting a string error message.

Version 1.8.0

26 Jan 17:55
Compare
Choose a tag to compare

PM> Install-Package Dawn.Guard -Version 1.8.0 [NuGet]

  • 67a39c1: Added Length/NotLength guards for string.
  • 0fe0b21: Added Count/NotCount guards for collections.
  • 72301e7: Fixed compiled expression caching for member guards.

Version 1.7.0

06 Jan 14:26
Compare
Choose a tag to compare

PM> Install-Package Dawn.Guard -Version v1.7.0 [NuGet]

  • #23: Added scopes.
  • 25a8eb1: Fixed empty string guard's message not being optional.

Version 1.6.0

27 Oct 19:46
Compare
Choose a tag to compare

PM> Install-Package Dawn.Guard -Version v1.6.0 [NuGet]

  • 2fa67f5: Added approx. equality guards for float and double.
  • 210ffb1: Modify can now return an argument of a different type.

Version 1.5.0

12 Oct 21:06
Compare
Choose a tag to compare

PM> Install-Package Dawn.Guard -Version v1.5.0 [NuGet]

  • Added state guards.
  • Added NotAllNull guards.
  • Added Same/NotSame guards (reference equality validations).

Version 1.4.1

19 Sep 20:47
Compare
Choose a tag to compare

PM> Install-Package Dawn.Guard -Version 1.4.1 [NuGet]

NotIn overload that accepts a params array is made public.

Version 1.4.0

30 Aug 12:23
Compare
Choose a tag to compare

PM> Install-Package Dawn.Guard -Version 1.4.0 [NuGet]

  • Added secure arguments.
  • Added In/NotIn support for non-generic collections.
  • Added In/NotIn overloads accepting params arrays.
  • Fixed string StartsWith/EndsWith guards and their opposites not ignoring null values.
  • Non-converting type guards return by-ref where possible.
  • Messages of failed collection guards contain only the first five items.
  • LayoutKind of ArgumentInfo<T> is now Auto.