Skip to content

Releases: nd1012/ObjectValidation

Version 2.8.0

21 Sep 03:37
Compare
Choose a tag to compare

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

25 Aug 05:06
Compare
Choose a tag to compare

Changes

  • Updated references

Breaking changes

  • CurrencyCodes.Currency is record now
  • EuVatId.Syntax is frozen now
  • (I)ValidationInfo.Seen is a hash set now
  • ObjectValidationEventArgs.Seen is a hash set now
  • ReflectionHelper stores frozen sets now
  • ValidatableTypes 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

13 Jul 10:25
Compare
Choose a tag to compare

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

24 Mar 17:23
Compare
Choose a tag to compare

Changes

  • Added ValidationAttributeBase

Full Changelog: v2.4.0...v2.5.0

Version 2.4.0

02 Mar 09:30
Compare
Choose a tag to compare

Changes

  • Removed CountLimitAttribute.GetErrorMessage
  • Added ValidationExtensions.CreateValidationResult

Full Changelog: v2.3.0...v2.4.0

Version 2.3.0

17 Feb 15:44
Compare
Choose a tag to compare

Changes

  • Added runtime property count limit to CountLimitAttribute
  • Updated references

Full Changelog: v2.1.0...v2.3.0

Version 2.1.0

10 Feb 11:42
Compare
Choose a tag to compare

Changes

  • Updated references

Full Changelog: v2.0.0...v2.1.0

Version 2.0.0

10 Feb 11:41
Compare
Choose a tag to compare

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

29 Oct 12:49
Compare
Choose a tag to compare

Changes

  • Added OptionsValidator

Full Changelog: v1.12.2...v1.13.0

Version 1.12.2

21 Oct 09:32
063665c
Compare
Choose a tag to compare

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 a null value)

Full Changelog: v1.12.1...v1.12.2