Releases: nd1012/ObjectValidation
Releases · nd1012/ObjectValidation
Version 1.12.1
Version 1.12.0
Changes
- Added
ValidatableRecordBase
- Added
ValidatableTypes.ForcedTypesInherited
andValidatableTypes.DeniedInherited
- Fixed missing inherited denied type testing
Full Changelog: v1.11.0...v1.12.0
Version 1.11.0
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
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
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
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
Changes
Additions
- Updated docs
- Updated references
- Property getting code uses a
ReflectionHelper.PropertyGetter_Delegate
now ReflectionHelper
is public now
Bugfixes
IpAttribute
didn't allownull
values (but the property may allow them)
Full Changelog: v1.6.0...v1.7.0
Version 1.6.0
Version 1.5.0
Changes
ValidatableObject
->ValidatableObjectBase
(Item)NoValidationAttribute.SkipNullValueCheck
to fully skip a value or an item validation (iffalse
(the default) the value/items will still be checked fornull
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
Changes
IMultipleValidations
for validation attributes which can return multiple validation results for a valueValidationReferenceAttribute
for referencing validation attributes of another property within the validation context objectValidationReferenceIfAttribute
for conditional property referencingValidationTemplateAttribute
for predefined validation templatesValidationTemplateIfAttribute
for conditional validation templatesValidationTemplates
for managing validation templatesValidatableTypes
for denying/forcing type validationValidationExtensions.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