Skip to content

Releases: nd1012/ObjectValidation

Version 1.12.1

15 Oct 09:16
Compare
Choose a tag to compare

Changes

  • Fixed a bug in the validatable property selection

Full Changelog: v1.12.0...v1.12.1

Version 1.12.0

07 Oct 12:04
9d983f9
Compare
Choose a tag to compare

Changes

  • Added ValidatableRecordBase
  • Added ValidatableTypes.ForcedTypesInherited and ValidatableTypes.DeniedInherited
  • Fixed missing inherited denied type testing

Full Changelog: v1.11.0...v1.12.0

Version 1.11.0

10 Sep 13:01
Compare
Choose a tag to compare

Changes

Breaking changes

  • ValidateableTypes.Forced/DeniedTypes will now be tested for inherited types, too

Additions

  • Updated references

Full Changelog: v1.10.0...v1.11.0

Version 1.10.0

07 Sep 18:45
570eb2e
Compare
Choose a tag to compare

Changes

This is a release counter fix dummy version, which isn't different from code of version 1.9.0.

Full Changelog: v1.9.0...v1.10.0

Version 1.9.0

07 Sep 18:38
c3c2e55
Compare
Choose a tag to compare

Changes

NOTE: Due to a release counting mistake this should be release 1.10.0. Version 1.10.0 will be released in order to fix the release counter.

Additions

  • Deny null values, if a DisallowNullAttribute is present
  • Allow null values, if a AllowNullAttribute is present
  • Updated nullability checks for property values and dictionary/list/array values/items

Bugfixes

  • Fixed a bug which prevented deep object validation of IObjectValidatable

Full Changelog: v1.8.0...v1.9.0

Version 1.8.0

30 Aug 20:10
94d39cd
Compare
Choose a tag to compare

Changes

Breaking

  • ValidationTemplates properties are now fields

Additions

  • Added extensions in ValueValidation for direct value validation using a list of attributes, or a validation template

Full Changelog: v1.7.0...v1.8.0

Version 1.7.0

12 Aug 12:06
233a19e
Compare
Choose a tag to compare

Changes

Additions

  • Updated docs
  • Updated references
  • Property getting code uses a ReflectionHelper.PropertyGetter_Delegate now
  • ReflectionHelper is public now

Bugfixes

  • IpAttribute didn't allow null values (but the property may allow them)

Full Changelog: v1.6.0...v1.7.0

Version 1.6.0

16 Jun 19:12
d884c19
Compare
Choose a tag to compare

Changes

  • Property reflection performance improvements

Full Changelog: v1.5.0...v1.6.0

Version 1.5.0

20 May 09:26
a870b9b
Compare
Choose a tag to compare

Changes

  • ValidatableObject -> ValidatableObjectBase
  • (Item)NoValidationAttribute.SkipNullValueCheck to fully skip a value or an item validation (if false (the default) the value/items will still be checked for null values, if not nullable)
  • Changed validatable type determination logic to force allowed or deny denied and filtered types

Full Changelog: v1.4.0...v1.5.0

Version 1.4.0

06 May 11:18
9f5b63d
Compare
Choose a tag to compare

Changes

  • IMultipleValidations for validation attributes which can return multiple validation results for a value
  • ValidationReferenceAttribute for referencing validation attributes of another property within the validation context object
  • ValidationReferenceIfAttribute for conditional property referencing
  • ValidationTemplateAttribute for predefined validation templates
  • ValidationTemplateIfAttribute for conditional validation templates
  • ValidationTemplates for managing validation templates
  • ValidatableTypes for denying/forcing type validation
  • ValidationExtensions.IgnoreGetOnlyErrors for ignoring failed getters of properties which don't have a public setter
  • More context information in error messages
  • Better abstract list/dictionary key/item type handling
  • Some performance improvments
  • Added PDBs and source code to the NuGet package

Full Changelog: v1.3.0...v1.4.0