Skip to content

Releases: nd1012/ObjectValidation

Version 1.3.0

30 Apr 09:33
46e8769
Compare
Choose a tag to compare

Changes

  • Fixed problem in ASP.NET with nice-to-have-feature IEnumerable<ValidationResult> - had to remove the enumerable implementation to avoid problems when giving a ValidatableObject back to a client (will be sent as an array :( )
  • ValidateObject.Logger log message handler
  • Added ValidateObject.EnsureValidObject extension
  • Added ValidateObject.GetValidObject extension

Full Changelog: v1.2.1...v1.3.0

Version 1.2.1

25 Apr 04:40
9e99560
Compare
Choose a tag to compare

Changes

  • ValidatableObject doesn't have a parent class and shouldn't call a parent constructor
  • Updated documentation

Full Changelog: v1.2.0...v1.2.1

Version 1.2.0

22 Apr 01:35
Compare
Choose a tag to compare

Changes

  • ValidatableObject enumerates ValidationResult
  • Implicit casting of a ValidatableObject to an array of ValidationResult
  • IIObjectValidatable is public now
  • ValidatableObject.ObjectValidatable method for implementing some ValidatableObject features
  • Enumerable value validation

Full Changelog: v1.1.0...v1.2.0

Version 1.1.0

07 Apr 05:40
Compare
Choose a tag to compare

Full Changelog: v1.0.0...v1.1.0

  • Changed license of ObjectValidation-CountryValidator from MIT to Apache-2.0
  • ItemDataTypeAttribute
  • Conditional property value validation using RequiredIfAttribute
  • AllowedValuesAttribute to validate against allowed values
  • DeniedValuesAttribute to validate against denied values

Version 1.0.0

02 Apr 13:04
Compare
Choose a tag to compare

First version.