Releases: nd1012/ObjectValidation
Releases · nd1012/ObjectValidation
Version 2.8.0
Changes
ObjectValidation-CountryValidator
release version 2.5.0- Added
HostAttribute.UseCache
- Added
HostAttribute.CheckIfExistsCache
Full Changelog: v2.7.0...v2.8.0
Version 2.7.0
Changes
- Updated references
Breaking changes
CurrencyCodes.Currency
is record nowEuVatId.Syntax
is frozen now(I)ValidationInfo.Seen
is a hash set nowObjectValidationEventArgs.Seen
is a hash set nowReflectionHelper
stores frozen sets nowValidatableTypes
stores hash sets now- By-ref and by-ref-like properties will be skipped
Additions
CurrencyCodes.Currency.Factor/Validate
are virtual now- Added
(Item)HostAttribute
Full Changelog: v2.6.0...v2.7.0
Version 2.6.0
Changes
- Added
ValidationHelper
RequiredIfAttribute
can now be added multiple times to an element
Full Changelog: v2.5.0...v2.6.0
Version 2.5.0
Version 2.4.0
Changes
- Removed
CountLimitAttribute.GetErrorMessage
- Added
ValidationExtensions.CreateValidationResult
Full Changelog: v2.3.0...v2.4.0
Version 2.3.0
Changes
- Added runtime property count limit to
CountLimitAttribute
- Updated references
Full Changelog: v2.1.0...v2.3.0
Version 2.1.0
Version 2.0.0
Changes
Breaking changes
- Build target is now .NET 8
ItemAllowed/DeniedValuesAttribute
now use the new .NET 8 data annotation attributes for underlaying validation
Additions
- Added
ItemBase64StringAttribute
- Added
ItemLengthAttribute
Removals
- Removed
Allowed/DeniedValuesAttribute
(use the new .NET 8 variants instead - same usage)
Full Changelog: v1.13.0...v2.0.0
Version 1.13.0
Version 1.12.2
Changes
- Fixed
null
property value default validation (needs to be skipped, because the default behavior of .NET validation attributes is to return an error for anull
value)
Full Changelog: v1.12.1...v1.12.2