Skip to content

v4.0.0

Compare
Choose a tag to compare
@temonk temonk released this 03 Jun 12:28
· 10 commits to main since this release

What's Changed

  • The Validate method now returns a PrimitiveValidationResult instead of throwing an InvalidDomainValueException.
  • New TryCreate methods have been added to all domain primitive classes, which attempt to create an instance and return a boolean indicating success or failure.
  • The InvalidDomainValueException now includes a reference to the instance that caused the exception.
  • A new type PrimitiveValidationResult has been introduced, which includes IsValid and ErrorMessage properties.
  • NuGet packages in all projects have been updated to the latest versions.
  • Tests have been modified to support the new signatures.

Full Changelog: v3.0.1...v4.0.0