Skip to content

Releases: danielwertheim/Ensure.That

v11.0.0-p3

27 Oct 19:14
3312a4c
Compare
Choose a tag to compare
v11.0.0-p3 Pre-release
Pre-release
  • [New]: Explicit support for 4.6.2 to get rid of DLL-dependency explosion that could happen if .NET Standard is used in 4.6.2 projects.

v11.0.0-p2

18 Oct 09:36
87adc5e
Compare
Choose a tag to compare
v11.0.0-p2 Pre-release
Pre-release
  • [Fix]: #161 Custom options with exception factory etc.
  • [Breaking]: #159 Only targeting .NET Standard 2.0 and .NET Standard 2.1
  • [Breaking]: EnsureOptions struct is now made readonly affecting how it's used: opts => opts.WithMessage("asdf") becomes (in EnsureOptions opts) => opts.WithMessage("asdf")

v11.0.0-p1

06 Jul 20:09
0273546
Compare
Choose a tag to compare
v11.0.0-p1 Pre-release
Pre-release
  • [Fix]: #157 Custom options with exception factory etc. wasn't 100% honored other than in ArgumentNullException path.
  • [Breaking]: Moved IExceptionFactory to root namespace as it was wrongly placed under EnsureThat.Internals

v10.1.0

04 Apr 08:54
edf29f1
Compare
Choose a tag to compare

New: Support for Nullable types #154 and #155 - thanks @ndrwrbgs for fixing and @hannasm for reporting and verifying

v10.1.0-p1

31 Mar 10:23
b3eead8
Compare
Choose a tag to compare
v10.1.0-p1 Pre-release
Pre-release
Updates project to support Nullable types

v10.0.0

22 Feb 19:16
57f0a2c
Compare
Choose a tag to compare

[New]: #153 adds support for replacing Ensure.ExceptionFactory as well as passing a custom exception factory delegate when wanting so instead of just a custom message or custom exception. Credits goes to @nevaldas Thanks for your inspirational work in #116 which lead to this change.

[Changed]: #147
SizeIs(string) has been renamed to HasLength
Thanks @ndrwrbgs for bringing this to my attention.

[Changed]: #149
IsGuid(string) now returns the parsed Guid instead of the original string being passed in.
Thanks @ndrwrbgs for bringing this to my attention.

v9.2.0

07 Jun 16:09
8e0883b
Compare
Choose a tag to compare
  • New: Adds support for string IsAllLettersOrDigits #144 - Thanks @pBouillon for the contribution

v9.1.0

04 Jun 18:18
8c2f520
Compare
Choose a tag to compare
  • New: Adds support for HasValue #140 to support both reference types and nullable value types when checking for null.
  • New: Adds support for IsAssignableToType and IsNotAssignableToType #86 - Thanks @loedeman for the contribution

v9.0.1

29 Apr 20:06
4684853
Compare
Choose a tag to compare

The 8.2.0 release introduced a breaking change as described in #136 This release (9.0.1) is more or less that release apart from also bringing back .NET Standard 2.0 support as described in #135 and removing members that previously was marked as obsolete (see #138)

The 8.2.0 release has been deprecated with a reference to previous package and has also been unlisted from NuGet.

v9.0.0

29 Apr 19:25
4e28c0a
Compare
Choose a tag to compare

Replaced by v9.0.1 as obsolete members from v8.x.x was forgotten to be removed.

The 8.2.0 release introduced a breaking change as described in #136 This release (9.0.0) is more or less that release apart from also bringing back .NET Standard 2.0 support as described in #135 The 8.2.0 release will be unlisted from NuGet.