Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 8, 2025

Updated FluentValidation from 9.2.0 to 11.12.0.

Release notes

Sourced from FluentValidation's releases.

11.11.0

Release notes

Please read the upgrade guide if you are moving from 10.x to 11.x

Changes in 11.11.0

  • Add additional overload of WithState that takes a context (#​2276)

Changes in 11.10.0

  • Add WhereAsync as conterpart to Where on collection rules (#​2240)
  • Create IEnumValidator to expose the targeted Enum type of EnumValidator (#​2244)
  • Add Romansh language translations (#​2239)

Changes in 11.9.2

  • ScalePrecisionValidator error message clarification (#​2211)

Changes in 11.9.1

  • Fix issue with CascadeMode on child validators (#​2207)

Changes in 11.9.0

  • Fix memory leak in NotEmptyValidator/EmptyValidator (#​2174)
  • Add more descriptive error messages if a rule throws a NullReferenceException (#​2152)
  • Add support for caching root parameter expressions (eg RuleFor(x => x)) (#​2168)
  • Prevent AddValidatorsFromAssemblyContaining from registering validators twice (#​2182)
  • Add builds for .net 8

Changes in 11.8.1

  • Fix unintentional behavioural changes in introduced in the previous release as part of #​2158

Changes in 11.8.0

  • Added AbstractValidator.OnRuleAdded to allow customization of rule instances after creation (#​2114)
  • Fix Serbian translation of LengthValidator (#​2147)
  • Fix chinese culture codes (#​2151)
  • Add Khmer translations (#​2155)
  • Various performance improvements (#​2158)
  • Fix ChildRules with class hierarchies (#​2165)

Changes in 11.7.1

  • Resolved issue with combining multiple ValidationResult instances where RuleSetsExecuted wasn't properly set on the combined result (#​2125)

Changes in 11.7.0

  • Add additional constructor for combining multiple ValidationResult instances (#​2125)
  • Add PropertyPath placeholder (#​2134)
  • Fix Brazilian Portuguese translation (#​2131)

Changes in 11.6.0

  • Add OnFailurecCreated callback in ValidatorOptions.Global (#​2120)
  • Fix typo in Russian localization (#​2102)
  • Add Tajik language (#​2108)
  • Fixed some typos in Validator Extension docblocks (#​2118)

... (truncated)

11.10.0

Release notes

Please read the upgrade guide if you are moving from 10.x to 11.x

Note that the after 11.1.0 release, the FluentValidation.AspNetCore package has been moved to a separate repository and is now versioned and released separately. These release notes now only apply to the core FluentValidation package. For FluentValidation.AspNetCore release notes, please visit the FluentValidation.AspNetCore repository.

Changes in 11.10.0

  • Add WhereAsync as conterpart to Where on collection rules (#​2240)
  • Create IEnumValidator to expose the targeted Enum type of EnumValidator (#​2244)
  • Add Romansh language translations (#​2239)

Changes in 11.9.2

  • ScalePrecisionValidator error message clarification (#​2211)

Changes in 11.9.1

  • Fix issue with CascadeMode on child validators (#​2207)

Changes in 11.9.0

  • Fix memory leak in NotEmptyValidator/EmptyValidator (#​2174)
  • Add more descriptive error messages if a rule throws a NullReferenceException (#​2152)
  • Add support for caching root parameter expressions (eg RuleFor(x => x)) (#​2168)
  • Prevent AddValidatorsFromAssemblyContaining from registering validators twice (#​2182)
  • Add builds for .net 8

Changes in 11.8.1

  • Fix unintentional behavioural changes in introduced in the previous release as part of #​2158

Changes in 11.8.0

  • Added AbstractValidator.OnRuleAdded to allow customization of rule instances after creation (#​2114)
  • Fix Serbian translation of LengthValidator (#​2147)
  • Fix chinese culture codes (#​2151)
  • Add Khmer translations (#​2155)
  • Various performance improvements (#​2158)
  • Fix ChildRules with class hierarchies (#​2165)

Changes in 11.7.1

  • Resolved issue with combining multiple ValidationResult instances where RuleSetsExecuted wasn't properly set on the combined result (#​2125)

Changes in 11.7.0

  • Add additional constructor for combining multiple ValidationResult instances (#​2125)
  • Add PropertyPath placeholder (#​2134)
  • Fix Brazilian Portuguese translation (#​2131)

Changes in 11.6.0

  • Add OnFailurecCreated callback in ValidatorOptions.Global (#​2120)
  • Fix typo in Russian localization (#​2102)
  • Add Tajik language (#​2108)
  • Fixed some typos in Validator Extension docblocks (#​2118)

Changes in 11.5.2

... (truncated)

11.9.2

Release notes

Please read the upgrade guide if you are moving from 10.x to 11.x

Note that the after 11.1.0 release, the FluentValidation.AspNetCore package has been moved to a separate repository and is now versioned and released separately. These release notes now only apply to the core FluentValidation package. For FluentValidation.AspNetCore release notes, please visit the FluentValidation.AspNetCore repository.

Changes in 11.9.2

  • ScalePrecisionValidator error message clarification (#​2211)

Changes in 11.9.1

  • Fix issue with CascadeMode on child validators (#​2207)

Changes in 11.9.0

  • Fix memory leak in NotEmptyValidator/EmptyValidator (#​2174)
  • Add more descriptive error messages if a rule throws a NullReferenceException (#​2152)
  • Add support for caching root parameter expressions (eg RuleFor(x => x)) (#​2168)
  • Prevent AddValidatorsFromAssemblyContaining from registering validators twice (#​2182)
  • Add builds for .net 8

Changes in 11.8.1

  • Fix unintentional behavioural changes in introduced in the previous release as part of #​2158

Changes in 11.8.0

  • Added AbstractValidator.OnRuleAdded to allow customization of rule instances after creation (#​2114)
  • Fix Serbian translation of LengthValidator (#​2147)
  • Fix chinese culture codes (#​2151)
  • Add Khmer translations (#​2155)
  • Various performance improvements (#​2158)
  • Fix ChildRules with class hierarchies (#​2165)

Changes in 11.7.1

  • Resolved issue with combining multiple ValidationResult instances where RuleSetsExecuted wasn't properly set on the combined result (#​2125)

Changes in 11.7.0

  • Add additional constructor for combining multiple ValidationResult instances (#​2125)
  • Add PropertyPath placeholder (#​2134)
  • Fix Brazilian Portuguese translation (#​2131)

Changes in 11.6.0

  • Add OnFailurecCreated callback in ValidatorOptions.Global (#​2120)
  • Fix typo in Russian localization (#​2102)
  • Add Tajik language (#​2108)
  • Fixed some typos in Validator Extension docblocks (#​2118)

Changes in 11.5.2

  • Resolve issue with ruleset propagation for multiple levels of child rules (#​2097)

Changes in 11.5.1

  • Deprecated the ability to disable the root model null check via overriding AbstractValidator.EnsureInstanceNotNull (See #​2069 for migration steps)
  • Deprecated the Transform and TransformAsync methods (See #​2072 for migration steps)
    ... (truncated)

11.9.1

Release notes

Please read the upgrade guide if you are moving from 10.x to 11.x

Note that the after 11.1.0 release, the FluentValidation.AspNetCore package has been moved to a separate repository and is now versioned and released separately. These release notes now only apply to the core FluentValidation package. For FluentValidation.AspNetCore release notes, please visit the FluentValidation.AspNetCore repository.

Changes in 11.9.1

Fix issue with CascadeMode on child validators (#​2207)

Changes in 11.9.0

  • Fix memory leak in NotEmptyValidator/EmptyValidator (#​2174)
  • Add more descriptive error messages if a rule throws a NullReferenceException (#​2152)
  • Add support for caching root parameter expressions (eg RuleFor(x => x)) (#​2168)
  • Prevent AddValidatorsFromAssemblyContaining from registering validators twice (#​2182)
  • Add builds for .net 8

Changes in 11.8.1

  • Fix unintentional behavioural changes in introduced in the previous release as part of #​2158

Changes in 11.8.0

  • Added AbstractValidator.OnRuleAdded to allow customization of rule instances after creation (#​2114)
  • Fix Serbian translation of LengthValidator (#​2147)
  • Fix chinese culture codes (#​2151)
  • Add Khmer translations (#​2155)
  • Various performance improvements (#​2158)
  • Fix ChildRules with class hierarchies (#​2165)

Changes in 11.7.1

  • Resolved issue with combining multiple ValidationResult instances where RuleSetsExecuted wasn't properly set on the combined result (#​2125)

Changes in 11.7.0

  • Add additional constructor for combining multiple ValidationResult instances (#​2125)
  • Add PropertyPath placeholder (#​2134)
  • Fix Brazilian Portuguese translation (#​2131)

Changes in 11.6.0

  • Add OnFailurecCreated callback in ValidatorOptions.Global (#​2120)
  • Fix typo in Russian localization (#​2102)
  • Add Tajik language (#​2108)
  • Fixed some typos in Validator Extension docblocks (#​2118)

Changes in 11.5.2

  • Resolve issue with ruleset propagation for multiple levels of child rules (#​2097)

Changes in 11.5.1

  • Deprecated the ability to disable the root model null check via overriding AbstractValidator.EnsureInstanceNotNull (See #​2069 for migration steps)
  • Deprecated the Transform and TransformAsync methods (See #​2072 for migration steps)

Changes in 11.5.0

  • MemberNameValidatorSelector now supports wildcard indexes in property paths (#​2056)
    ... (truncated)

11.9.0

Release notes

Please read the upgrade guide if you are moving from 10.x to 11.x

Note that the after 11.1.0 release, the FluentValidation.AspNetCore package has been moved to a separate repository and is now versioned and released separately. These release notes now only apply to the core FluentValidation package. For FluentValidation.AspNetCore release notes, please visit the FluentValidation.AspNetCore repository.

Changes in 11.9.0

  • Fix memory leak in NotEmptyValidator/EmptyValidator (#​2174)
  • Add more descriptive error messages if a rule throws a NullReferenceException (#​2152)
  • Add support for caching root parameter expressions (eg RuleFor(x => x)) (#​2168)
  • Prevent AddValidatorsFromAssemblyContaining from registering validators twice (#​2182)
  • Add builds for .net 8

Changes in 11.8.1

  • Fix unintentional behavioural changes in introduced in the previous release as part of #​2158

Changes in 11.8.0

  • Added AbstractValidator.OnRuleAdded to allow customization of rule instances after creation (#​2114)
  • Fix Serbian translation of LengthValidator (#​2147)
  • Fix chinese culture codes (#​2151)
  • Add Khmer translations (#​2155)
  • Various performance improvements (#​2158)
  • Fix ChildRules with class hierarchies (#​2165)

Changes in 11.7.1

  • Resolved issue with combining multiple ValidationResult instances where RuleSetsExecuted wasn't properly set on the combined result (#​2125)

Changes in 11.7.0

  • Add additional constructor for combining multiple ValidationResult instances (#​2125)
  • Add PropertyPath placeholder (#​2134)
  • Fix Brazilian Portuguese translation (#​2131)

Changes in 11.6.0

  • Add OnFailurecCreated callback in ValidatorOptions.Global (#​2120)
  • Fix typo in Russian localization (#​2102)
  • Add Tajik language (#​2108)
  • Fixed some typos in Validator Extension docblocks (#​2118)

Changes in 11.5.2

  • Resolve issue with ruleset propagation for multiple levels of child rules (#​2097)

Changes in 11.5.1

  • Deprecated the ability to disable the root model null check via overriding AbstractValidator.EnsureInstanceNotNull (See #​2069 for migration steps)
  • Deprecated the Transform and TransformAsync methods (See #​2072 for migration steps)

Changes in 11.5.0

  • MemberNameValidatorSelector now supports wildcard indexes in property paths (#​2056)
  • Added overload of TestValidateAsync that accepts a context (#​2052)
  • Minor optimization to regex validator (#​2035)
  • Added Kazakh translations (#​2036)
    ... (truncated)

11.8.1

Release notes

Please read the upgrade guide if you are moving from 10.x to 11.x

Note that the after 11.1.0 release, the FluentValidation.AspNetCore package has been moved to a separate repository and is now versioned and released separately. These release notes now only apply to the core FluentValidation package. For FluentValidation.AspNetCore release notes, please visit the FluentValidation.AspNetCore repository.

Changes in 11.8.1

  • Fix unintentional behavioural changes in introduced in the previous release as part of #​2158

Changes in 11.8.0

  • Added AbstractValidator.OnRuleAdded to allow customization of rule instances after creation (#​2114)
  • Fix Serbian translation of LengthValidator (#​2147)
  • Fix chinese culture codes (#​2151)
  • Add Khmer translations (#​2155)
  • Various performance improvements (#​2158)
  • Fix ChildRules with class hierarchies (#​2165)

Changes in 11.7.1

  • Resolved issue with combining multiple ValidationResult instances where RuleSetsExecuted wasn't properly set on the combined result (#​2125)

Changes in 11.7.0

  • Add additional constructor for combining multiple ValidationResult instances (#​2125)
  • Add PropertyPath placeholder (#​2134)
  • Fix Brazilian Portuguese translation (#​2131)

Changes in 11.6.0

  • Add OnFailurecCreated callback in ValidatorOptions.Global (#​2120)
  • Fix typo in Russian localization (#​2102)
  • Add Tajik language (#​2108)
  • Fixed some typos in Validator Extension docblocks (#​2118)

Changes in 11.5.2

  • Resolve issue with ruleset propagation for multiple levels of child rules (#​2097)

Changes in 11.5.1

  • Deprecated the ability to disable the root model null check via overriding AbstractValidator.EnsureInstanceNotNull (See #​2069 for migration steps)
  • Deprecated the Transform and TransformAsync methods (See #​2072 for migration steps)

Changes in 11.5.0

  • MemberNameValidatorSelector now supports wildcard indexes in property paths (#​2056)
  • Added overload of TestValidateAsync that accepts a context (#​2052)
  • Minor optimization to regex validator (#​2035)
  • Added Kazakh translations (#​2036)
  • Added Catalan translations and updated Spanish translations (#​2050)
  • Updates to Uzbek Latin and Cyrillic translations (#​2040/#​2041/#​2045)
  • Updates to Italian translations (#​2039)
  • Updates to French translations (#​2065)

Changes in 11.4.0

  • Deprecate ScalePrecision validator and introduce PrecisionScale validator as its replacement (#​2030)
    ... (truncated)

11.8.0

Release notes

Please read the upgrade guide if you are moving from 10.x to 11.x

Note that the after 11.1.0 release, the FluentValidation.AspNetCore package has been moved to a separate repository and is now versioned and released separately. These release notes now only apply to the core FluentValidation package. For FluentValidation.AspNetCore release notes, please visit the FluentValidation.AspNetCore repository.

Changes in 11.8.0

  • Added AbstractValidator.OnRuleAdded to allow customization of rule instances after creation (#​2114)
  • Fix Serbian translation of LengthValidator (#​2147)
  • Fix chinese culture codes (#​2151)
  • Add Khmer translations (#​2155)
  • Various performance improvements (#​2158)
  • Fix ChildRules with class hierarchies (#​2165)

Changes in 11.7.1

  • Resolved issue with combining multiple ValidationResult instances where RuleSetsExecuted wasn't properly set on the combined result (#​2125)

Changes in 11.7.0

  • Add additional constructor for combining multiple ValidationResult instances (#​2125)
  • Add PropertyPath placeholder (#​2134)
  • Fix Brazilian Portuguese translation (#​2131)

Changes in 11.6.0

  • Add OnFailurecCreated callback in ValidatorOptions.Global (#​2120)
  • Fix typo in Russian localization (#​2102)
  • Add Tajik language (#​2108)
  • Fixed some typos in Validator Extension docblocks (#​2118)

Changes in 11.5.2

  • Resolve issue with ruleset propagation for multiple levels of child rules (#​2097)

Changes in 11.5.1

  • Deprecated the ability to disable the root model null check via overriding AbstractValidator.EnsureInstanceNotNull (See #​2069 for migration steps)
  • Deprecated the Transform and TransformAsync methods (See #​2072 for migration steps)

Changes in 11.5.0

  • MemberNameValidatorSelector now supports wildcard indexes in property paths (#​2056)
  • Added overload of TestValidateAsync that accepts a context (#​2052)
  • Minor optimization to regex validator (#​2035)
  • Added Kazakh translations (#​2036)
  • Added Catalan translations and updated Spanish translations (#​2050)
  • Updates to Uzbek Latin and Cyrillic translations (#​2040/#​2041/#​2045)
  • Updates to Italian translations (#​2039)
  • Updates to French translations (#​2065)

Changes in 11.4.0

  • Deprecate ScalePrecision validator and introduce PrecisionScale validator as its replacement (#​2030)

Changes in 11.3.0

  • Add a net7 build
    ... (truncated)

11.7.1

Release notes

Please read the upgrade guide if you are moving from 10.x to 11.x

Note that the after 11.1.0 release, the FluentValidation.AspNetCore package has been moved to a separate repository and is now versioned and released separately. These release notes now only apply to the core FluentValidation package. For FluentValidation.AspNetCore release notes, please visit the FluentValidation.AspNetCore repository.

Changes in 11.7.1

  • Resolved issue with combining multiple ValidationResult instances where RuleSetsExecuted wasn't properly set on the combined result (#​2125)

Changes in 11.7.0

  • Add additional constructor for combining multiple ValidationResult instances (#​2125)
  • Add PropertyPath placeholder (#​2134)
  • Fix Brazilian Portuguese translation (#​2131)

Changes in 11.6.0

  • Add OnFailurecCreated callback in ValidatorOptions.Global (#​2120)
  • Fix typo in Russian localization (#​2102)
  • Add Tajik language (#​2108)
  • Fixed some typos in Validator Extension docblocks (#​2118)

Changes in 11.5.2

  • Resolve issue with ruleset propagation for multiple levels of child rules (#​2097)

Changes in 11.5.1

  • Deprecated the ability to disable the root model null check via overriding AbstractValidator.EnsureInstanceNotNull (See #​2069 for migration steps)
  • Deprecated the Transform and TransformAsync methods (See #​2072 for migration steps)

Changes in 11.5.0

  • MemberNameValidatorSelector now supports wildcard indexes in property paths (#​2056)
  • Added overload of TestValidateAsync that accepts a context (#​2052)
  • Minor optimization to regex validator (#​2035)
  • Added Kazakh translations (#​2036)
  • Added Catalan translations and updated Spanish translations (#​2050)
  • Updates to Uzbek Latin and Cyrillic translations (#​2040/#​2041/#​2045)
  • Updates to Italian translations (#​2039)
  • Updates to French translations (#​2065)

Changes in 11.4.0

  • Deprecate ScalePrecision validator and introduce PrecisionScale validator as its replacement (#​2030)

Changes in 11.3.0

  • Add a net7 build
  • Annotate string parameters with StringSyntaxAttribute.Regex in net7 builds (#​1957)
  • Fixes to SourceLink integration (#​2019)
  • Add Uzbek Latin and Cyrillic languages (#​2013)
  • Updates to Danish language (#​2012)

Changes in 11.2.2

  • MemberNameValidatorSelector should make use of PropertyNameResolver when parsing expressions (#​2003)

... (truncated)

11.7.0

Release notes

Please read the upgrade guide if you are moving from 10.x to 11.x

Note that the after 11.1.0 release, the FluentValidation.AspNetCore package has been moved to a separate repository and is now versioned and released separately. These release notes now only apply to the core FluentValidation package. For FluentValidation.AspNetCore release notes, please visit the FluentValidation.AspNetCore repository.

Changes in 11.7.0

  • Add additional constructor for combining multiple ValidationResult instances (#​2125)
  • Add PropertyPath placeholder (#​2134)
  • Fix Brazilian Portuguese translation (#​2131)

Changes in 11.6.0

  • Add OnFailurecCreated callback in ValidatorOptions.Global (#​2120)
  • Fix typo in Russian localization (#​2102)
  • Add Tajik language (#​2108)
  • Fixed some typos in Validator Extension docblocks (#​2118)

Changes in 11.5.2

  • Resolve issue with ruleset propagation for multiple levels of child rules (#​2097)

Changes in 11.5.1

  • Deprecated the ability to disable the root model null check via overriding AbstractValidator.EnsureInstanceNotNull (See #​2069 for migration steps)
  • Deprecated the Transform and TransformAsync methods (See #​2072 for migration steps)

Changes in 11.5.0

  • MemberNameValidatorSelector now supports wildcard indexes in property paths (#​2056)
  • Added overload of TestValidateAsync that accepts a context (#​2052)
  • Minor optimization to regex validator (#​2035)
  • Added Kazakh translations (#​2036)
  • Added Catalan translations and updated Spanish translations (#​2050)
  • Updates to Uzbek Latin and Cyrillic translations (#​2040/#​2041/#​2045)
  • Updates to Italian translations (#​2039)
  • Updates to French translations (#​2065)

Changes in 11.4.0

  • Deprecate ScalePrecision validator and introduce PrecisionScale validator as its replacement (#​2030)

Changes in 11.3.0

  • Add a net7 build
  • Annotate string parameters with StringSyntaxAttribute.Regex in net7 builds (#​1957)
  • Fixes to SourceLink integration (#​2019)
  • Add Uzbek Latin and Cyrillic languages (#​2013)
  • Updates to Danish language (#​2012)

Changes in 11.2.2

  • MemberNameValidatorSelector should make use of PropertyNameResolver when parsing expressions (#​2003)

Changes in 11.2.1

  • Fix test helper Only() not taking into account parent-level unmatched failures (#​1986)

... (truncated)

11.6.0

Release notes

Please read the upgrade guide if you are moving from 10.x to 11.x

Note that the after 11.1.0 release, the FluentValidation.AspNetCore package has been moved to a separate repository and is now versioned and released separately. These release notes now only apply to the core FluentValidation package. For FluentValidation.AspNetCore release notes, please visit the FluentValidation.AspNetCore repository.

Changes in 11.6.0

  • Add OnFailurecCreated callback in ValidatorOptions.Global (#​2120)
  • Fix typo in Russian localization (#​2102)
  • Add Tajik language (#​2108)
  • Fixed some typos in Validator Extension docblocks (#​2118)

Changes in 11.5.2

  • Resolve issue with ruleset propagation for multiple levels of child rules (#​2097)

Changes in 11.5.1

  • Deprecated the ability to disable the root model null check via overriding AbstractValidator.EnsureInstanceNotNull (See #​2069 for migration steps)
  • Deprecated the Transform and TransformAsync methods (See #​2072 for migration steps)

Changes in 11.5.0

  • MemberNameValidatorSelector now supports wildcard indexes in property paths (#​2056)
  • Added overload of TestValidateAsync that accepts a context (#​2052)
  • Minor optimization to regex validator (#​2035)
  • Added Kazakh translations (#​2036)
  • Added Catalan translations and updated Spanish translations (#​2050)
  • Updates to Uzbek Latin and Cyrillic translations (#​2040/#​2041/#​2045)
  • Updates to Italian translations (#​2039)
  • Updates to French translations (#​2065)

Changes in 11.4.0

  • Deprecate ScalePrecision validator and introduce PrecisionScale validator as its replacement (#​2030)

Changes in 11.3.0

  • Add a net7 build
  • Annotate string parameters with StringSyntaxAttribute.Regex in net7 builds (#​1957)
  • Fixes to SourceLink integration (#​2019)
  • Add Uzbek Latin and Cyrillic languages (#​2013)
  • Updates to Danish language (#​2012)

Changes in 11.2.2

  • MemberNameValidatorSelector should make use of PropertyNameResolver when parsing expressions (#​2003)

Changes in 11.2.1

  • Fix test helper Only() not taking into account parent-level unmatched failures (#​1986)

Changes in 11.2.0

  • Resolve issue with unexpected results when with nested Include calls with the MemberNameValidatorSelector (#​1989)
  • Add a new Selector Factory for the Composite Selector (#​1988)

Changes in 11.1.1

... (truncated)

11.5.2

Release notes

Please read the upgrade guide if you are moving from 10.x to 11.x

Note that the after 11.1.0 release, the FluentValidation.AspNetCore package has been moved to a separate repository and is now versioned and released separately. These release notes now only apply to the core FluentValidation package. For FluentValidation.AspNetCore release notes, please visit the FluentValidation.AspNetCore repository.

Changes in 11.5.2

  • Resolve issue with ruleset propagation for multiple levels of child rules (#​2097)

Changes in 11.5.1

  • Deprecated the ability to disable the root model null check via overriding AbstractValidator.EnsureInstanceNotNull (See #​2069 for migration steps)
  • Deprecated the Transform and TransformAsync methods (See #​2072 for migration steps)

Changes in 11.5.0

  • MemberNameValidatorSelector now supports wildcard indexes in property paths (#​2056)
  • Added overload of TestValidateAsync that accepts a context (#​2052)
  • Minor optimization to regex validator (#​2035)
  • Added Kazakh translations (#​2036)
  • Added Catalan translations and updated Spanish translations (#​2050)
  • Updates to Uzbek Latin and Cyrillic translations (#​2040/#​2041/#​2045)
  • Updates to Italian translations (#​2039)
  • Updates to French translations (#​2065)

Changes in 11.4.0

  • Deprecate ScalePrecision validator and introduce PrecisionScale validator as its replacement (#​2030)

Changes in 11.3.0

  • Add a net7 build
  • Annotate string parameters with StringSyntaxAttribute.Regex in net7 builds (#​1957)
  • Fixes to SourceLink integration (#​2019)
  • Add Uzbek Latin and Cyrillic languages (#​2013)
  • Updates to Danish language (#​2012)

Changes in 11.2.2

  • MemberNameValidatorSelector should make use of PropertyNameResolver when parsing expressions (#​2003)

Changes in 11.2.1

  • Fix test helper Only() not taking into account parent-level unmatched failures (#​1986)

Changes in 11.2.0

  • Resolve issue with unexpected results when with nested Include calls with the MemberNameValidatorSelector (#​1989)
  • Add a new Selector Factory for the Composite Selector (#​1988)

Changes in 11.1.1

  • Fix issue with incorrect rulesets being executed in a child validator when combined with ChildRules (#​1981)
  • Bulgarian translations of default messages (#​1973)

Changes in 11.1.0

  • Added a ToDictionary method to ValidationResult (particularly useful when working with Minimal APIs)-
  • MVC auto validation: Deprecated Implicit validation of child properties (#​1960)
    ... (truncated)

11.5.1

Release notes

Please read the upgrade guide if you are moving from 10.x to 11.x

Note that the after 11.1.0 release, the FluentValidation.AspNetCore package has been moved to a separate repository and is now versioned and released separately. These release notes now only apply to the core FluentValidation package. For FluentValidation.AspNetCore release notes, please visit the FluentValidation.AspNetCore repository.

Changes in 11.5.1

  • Deprecated the ability to disable the root model null check via overriding AbstractValidator.EnsureInstanceNotNull (See #​2069 for migration steps)
  • Deprecated the Transform and TransformAsync methods (See #​2072 for migration steps)

Changes in 11.5.0

  • MemberNameValidatorSelector now supports wildcard indexes in property paths (#​2056)
  • Added overload of TestValidateAsync that accepts a context (#​2052)
  • Minor optimization to regex validator (#​2035)
  • Added Kazakh translations (#​2036)
  • Added Catalan translations and updated Spanish translations (#​2050)
  • Updates to Uzbek Latin and Cyrillic translations (#​2040/#​2041/#​2045)
  • Updates to Italian translations (#​2039)
  • Updates to French translations (#​2065)

Changes in 11.4.0

  • Deprecate ScalePrecision validator and introduce PrecisionScale validator as its replacement (#​2030)

Changes in 11.3.0

  • Add a net7 build
  • Annotate string parameters with StringSyntaxAttribute.Regex in net7 builds (#​1957)
  • Fixes to SourceLink integration (#​2019)
  • Add Uzbek Latin and Cyrillic languages (#​2013)
  • Updates to Danish language (#​2012)

Changes in 11.2.2

  • MemberNameValidatorSelector should make use of PropertyNameResolver when parsing expressions (#​2003)

Changes in 11.2.1

  • Fix test helper Only() not taking into account parent-level unmatched failures (#​1986)

Changes in 11.2.0

  • Resolve issue with unexpected results when with nested Include calls with the MemberNameValidatorSelector (#​1989)
  • Add a new Selector Factory for the Composite Selector (#​1988)

Changes in 11.1.1

  • Fix issue with incorrect rulesets being executed in a child validator when combined with ChildRules (#​1981)
  • Bulgarian translations of default messages (#​1973)

Changes in 11.1.0

  • Added a ToDictionary method to ValidationResult (particularly useful when working with Minimal APIs)-
  • MVC auto validation: Deprecated Implicit validation of child properties (#​1960)
  • MVC auto validation: Deprecated Implicit validation of root collection elements (#​1960)
  • Deprecated InjectValidator (#​1960)
  • Deprecated IValidatorFactory and ServiceProviderValidatorFactory (#​1961)
    ... (truncated)

11.5.0

Release notes

Please read the upgrade guide if you are moving from 10.x to 11.x

Note that the after 11.1.0 release, the FluentValidation.AspNetCore package has been moved to a separate repository and is now versioned and released separately. These release notes now only apply to the core FluentValidation package. For FluentValidation.AspNetCore release notes, please visit the FluentValidation.AspNetCore repository.

Changes in 11.5.0

  • MemberNameValidatorSelector now supports wildcard indexes in property paths (#​2056)
  • Added overload of TestValidateAsync that accepts a context (#​2052)
  • Minor optimization to regex validator (#​2035)
  • Added Kazakh translations (#​2036)
  • Added Catalan translations and updated Spanish translations (#​2050)
  • Updates to Uzbek Latin and Cyrillic translations (#​2040/#​2041/#​2045)
  • Updates to Italian translations (#​2039)
  • Updates to French translations (#​2065)

Changes in 11.4.0

  • Deprecate ScalePrecision validator and introduce PrecisionScale validator as its replacement (#​2030)

Changes in 11.3.0

  • Add a net7 build
  • Annotate string parameters with StringSyntaxAttribute.Regex in net7 builds (#​1957)
  • Fixes to SourceLink integration (#​2019)
  • Add Uzbek Latin and Cyrillic languages (#​2013)
  • Updates to Danish language (#​2012)

Changes in 11.2.2

  • MemberNameValidatorSelector should make use of PropertyNameResolver when parsing expressions (#​2003)

Changes in 11.2.1

  • Fix test helper Only() not taking into account parent-level unmatched failures (#​1986)

Changes in 11.2.0

  • Resolve issue with unexpected results when with nested Include calls with the MemberNameValidatorSelector (#​1989)
  • Add a new Selector Factory for the Composite Selector (#​1988)

Changes in 11.1.1

  • Fix issue with incorrect rulesets being executed in a child validator when combined with ChildRules (#​1981)
  • Bulgarian translations of default messages (#​1973)

Changes in 11.1.0

  • Added a ToDictionary method to ValidationResult (particularly useful when working with Minimal APIs)-
  • MVC auto validation: Deprecated Implicit validation of child properties (#​1960)
  • MVC auto validation: Deprecated Implicit validation of root collection elements (#​1960)
  • Deprecated InjectValidator (#​1960)
  • Deprecated IValidatorFactory and ServiceProviderValidatorFactory (#​1961)
  • Introduce services.AddFluentValidationAutoValidation() and services.AddFluentValidationClientsideAdapters() as replacements for services.AddFluentValidation() (#​1965)
  • Remove duplication between sync and async validation in the internal model.

Changes in 11.0.3

... (truncated)

11.4.0

Release notes

Please read the upgrade guide if you are moving from 10.x to 11.x

Note that the after 11.1.0 release, the FluentValidation.AspNetCore package has been moved to a separate repository and is now versioned and released separately. These release notes now only apply to the core FluentValidation package. For FluentValidation.AspNetCore release notes, please visit the FluentValidation.AspNetCore repository.

Changes in 11.4.0

  • Deprecate ScalePrecision validator and introduce PrecisionScale validator as its replacement (#​2030)

Changes in 11.3.0

  • Add a net7 build
  • Annotate string parameters with StringSyntaxAttribute.Regex in net7 builds (#​1957)
  • Fixes to SourceLink integration (#​2019)
  • Add Uzbek Latin and Cyrillic languages (#​2013)
  • Updates to Danish language (#​2012)

Changes in 11.2.2

  • MemberNameValidatorSelector should make use of PropertyNameResolver when parsing expressions (#​2003)

Changes in 11.2.1

  • Fix test helper Only() not taking into account parent-level unmatched failures (#​1986)

Changes in 11.2.0

  • Resolve issue with unexpected results when with nested Include calls with the MemberNameValidatorSelector (#​1989)
  • Add a new Selector Factory for the Composite Selector (#​1988)

Changes in 11.1.1

  • Fix issue with incorrect rulesets being executed in a child validator when combined with ChildRules (#​1981)
  • Bulgarian translations of default messages (#​1973)

Changes in 11.1.0

  • Added a ToDictionary method to ValidationResult (particularly useful when working with Minimal APIs)-
  • MVC auto validation: Deprecated Implicit validation of child properties (#​1960)
  • MVC auto validation: Deprecated Implicit validation of root collection elements (#​1960)
  • Deprecated InjectValidator (#​1960)
  • Deprecated IValidatorFactory and ServiceProviderValidatorFactory (#​1961)
  • Introduce services.AddFluentValidationAutoValidation() and services.AddFluentValidationClientsideAdapters() as replacements for services.AddFluentValidation() (#​1965)
  • Remove duplication between sync and async validation in the internal model.

Changes in 11.0.3

  • Fix AsyncValidatorInvokedSynchronouslyException being incorrectly thrown when the top-level When method with RuleForEach, even when invoked asynchronously (#​1955)

Changes in 11.0.2

  • Child validator contexts now contain a reference to their parent context (#​1945)
  • Support deserialization of ValidationResult using System.Text.Json (#​1928)

Changes in 11.0.1

  • Fix regression in the Test Helper affecting the With* and Without* assertion methods (#​1937)

... (truncated)

11.3.0

Release notes

Please read the upgrade guide if you are moving from 10.x to 11.x

Note that the after 11.1.0 release, the FluentValidation.AspNetCore package has been moved to a separate repository and is now versioned and released separately. These release notes now only apply to the core FluentValidation package. For FluentValidation.AspNetCore release notes, please visit the FluentValidation.AspNetCore repository.

Changes in 11.3.0

  • Add a net7 build
  • Annotate string parameters with StringSyntaxAttribute.Regex in net7 builds (#​1957)
  • Fixes to SourceLink integration (#​2019)
  • Add Uzbek Latin and Cyrillic languages (#​2013)
  • Updates to Danish language (#​2012)

Changes in 11.2.2

  • MemberNameValidatorSelector should make use of PropertyNameResolver when parsing expressions (#​2003)

Changes in 11.2.1

  • Fix test helper Only() not taking into account parent-level unmatched failures (#​1986)

Changes in 11.2.0

  • Resolve issue with unexpected results when with nested Include calls with the MemberNameValidatorSelector (#​1989)
  • Add a new Selector Factory for the Composite Selector (#​1988)

Changes in 11.1.1

  • Fix issue with incorrect rulesets being executed in a child validator when combined with ChildRules (#​1981)
  • Bulgarian translations of default messages (#​1973)

Changes in 11.1.0

  • Added a ToDictionary method to ValidationResult (particularly useful when working with Minimal APIs)-
  • MVC auto validation: Deprecated Implicit validation of child properties (#​1960)
  • MVC auto validation: Deprecated Implicit validation of root collection elements (#​1960)
  • Deprecated InjectValidator (#​1960)
  • Deprecated IValidatorFactory and ServiceProviderValidatorFactory (#​1961)
  • Introduce services.AddFluentValidationAutoValidation() and services.AddFluentValidationClientsideAdapters() as replacements for services.AddFluentValidation() (#​1965)
  • Remove duplication between sync and async validation in the internal model.

Changes in 11.0.3

  • Fix AsyncValidatorInvokedSynchronouslyException being incorrectly thrown when the top-level When method with RuleForEach, even when invoked asynchronously (#​1955)

Changes in 11.0.2

  • Child validator contexts now contain a reference to their parent context (#​1945)
  • Support deserialization of ValidationResult using System.Text.Json (#​1928)

Changes in 11.0.1

  • Fix regression in the Test Helper affecting the With* and Without* assertion methods (#​1937)

Changes in 11.0

  • Throw exceptions when async validator is invoked synchronously (#​1705)
  • Removal deprecated OnFailure/OnAnyFailure callbacks.
    ... (truncated)

11.2.2

Release notes

Please read the upgrade guide if you are moving from 10.x to 11.x

Note that the after 11.1.0 release, the FluentValidation.AspNetCore package has been moved to a separate repository and is now versioned and released separately. These release notes now only apply to the core FluentValidation package. For FluentValidation.AspNetCore release notes, please visit the FluentValidation.AspNetCore repository.

Changes in 11.2.2

  • MemberNameValidatorSelector should make use of PropertyNameResolver when parsing expressions (#​2003)

Changes in 11.2.1

  • Fix test helper Only() not taking into account parent-level unmatched failures (#​1986)

Changes in 11.2.0

  • Resolve issue with unexpected results when with nested Include calls with the MemberNameValidatorSelector (#​1989)
  • Add a new Selector Factory for the Composite Selector (#​1988)

Changes in 11.1.1

  • Fix issue with incorrect rulesets being executed in a child validator when combined with ChildRules (#​1981)
  • Bulgarian translations of default messages (#​1973)

Changes in 11.1.0

  • Added a ToDictionary method to ValidationResult (particularly useful when working with Minimal APIs)-
  • MVC auto validation: Deprecated Implicit validation of child properties (#​1960)
  • MVC auto validation: Deprecated Implicit validation of root collection elements (#​1960)
  • Deprecated InjectValidator (#​1960)
  • Deprecated IValidatorFactory and ServiceProviderValidatorFactory (#​1961)
  • Introduce services.AddFluentValidationAutoValidation() and services.AddFluentValidationClientsideAdapters() as replacements for services.AddFluentValidation() (#​1965)
  • Remove duplication between sync and async validation in the internal model.

Changes in 11.0.3

  • Fix AsyncValidatorInvokedSynchronouslyException being incorrectly thrown when the top-level When method with RuleForEach, even when invoked asynchronously (#​1955)

Changes in 11.0.2

  • Child validator contexts now contain a reference to their parent context (#​1945)
  • Support deserialization of ValidationResult using System.Text.Json (#​1928)

Changes in 11.0.1

  • Fix regression in the Test Helper affecting the With* and Without* assertion methods (#​1937)

Changes in 11.0

  • Throw exceptions when async validator is invoked synchronously (#​1705)
  • Removal deprecated OnFailure/OnAnyFailure callbacks.
  • Remove deprecated RunDefaultMvcValidationAfterFluentValidationExecutes option from ASP.NET integration.
  • Remove deprecated Options property from RuleComponent.
  • Remove deprecated TestHelper methods.
  • Remove non-generic PropertyValidator backwards compatibility layer.
  • Add method Only() to the test helper asserting that no other validation errors were raised.
  • Ensure property covariance is properly handled throughout the internal model (#​1713)

... (truncated)

11.2.1

Release notes

Please read the upgrade guide if you are moving from 10.x to 11.x

Note that the after 11.1.0 release, the FluentValidation.AspNetCore package has been moved to a separate repository and is now versioned and released separately. These release notes now only apply to the core FluentValidation package. For FluentValidation.AspNetCore release notes, please visit the FluentValidation.AspNetCore repository.

Changes in 11.2.1

  • Fix test helper Only() not taking into account parent-level unmatched failures (#​1986)

Changes in 11.2.0

  • Resolve issue with unexpected results when with nested Include calls with the MemberNameValidatorSelector (#​1989)
  • Add a new Selector Factory for the Composite Selector (#​1988)

Changes in 11.1.1

  • Fix issue with incorrect rulesets being executed in a child validator when combined with ChildRules (#​1981)
  • Bulgarian translations of default messages (#​1973)

Changes in 11.1.0

  • Added a ToDictionary method to ValidationResult (particularly useful when working with Minimal APIs)-
  • MVC auto validation: Deprecated Implicit validation of child properties (#​1960)
  • MVC auto validation: Deprecated Implicit validation of root collection elements (#​1960)
  • Deprecated InjectValidator (#​1960)
  • Deprecated IValidatorFactory and ServiceProviderValidatorFactory (#​1961)
  • Introduce services.AddFluentValidationAutoValidation() and services.AddFluentValidationClientsideAdapters() as replacements for services.AddFluentValidation() (#​1965)
  • Remove duplication between sync and async validation in the internal model.

Changes in 11.0.3

  • Fix AsyncValidatorInvokedSynchronouslyException being incorrectly thrown when the top-level When method with RuleForEach, even when invoked asynchronously (#​1955)

Changes in 11.0.2

  • Child validator contexts now contain a reference to their parent context (#​1945)
  • Support deserialization of ValidationResult using System.Text.Json (#​1928)

Changes in 11.0.1

  • Fix regression in the Test Helper affecting the With* and Without* assertion methods (#​1937)

Changes in 11.0

  • Throw exceptions when async validator is invoked synchronously (#​1705)
  • Removal deprecated OnFailure/OnAnyFailure callbacks.
  • Remove deprecated RunDefaultMvcValidationAfterFluentValidationExecutes option from ASP.NET integration.
  • Remove deprecated Options property from RuleComponent.
  • Remove deprecated TestHelper methods.
  • Remove non-generic PropertyValidator backwards compatibility layer.
  • Add method Only() to the test helper asserting that no other validation errors were raised.
  • Ensure property covariance is properly handled throughout the internal model (#​1713)

Downloads

... (truncated)

11.2.0

Release notes

Please read the upgrade guide if you are moving from 10.x to 11.x

Note that the after 11.1.0 release, the FluentValidation.AspNetCore package has been moved to a separate repository and is now versioned and released separately. These release notes now only apply to the core FluentValidation package. For FluentValidation.AspNetCore release notes, please visit the FluentValidation.AspNetCore repository.

Changes in 11.2.0

  • Resolve issue with unexpected results when with nested Include calls with the MemberNameValidatorSelector (#​1989)
  • Add a new Selector Factory for the Composite Selector (#​1988)

Changes in 11.1.1

  • Fix issue with incorrect rulesets being executed in a child validator when combined with ChildRules (#​1981)
  • Bulgarian translations of default messages (#​1973)

Changes in 11.1.0

  • Added a ToDictionary method to ValidationResult (particularly useful when working with Minimal APIs)-
  • MVC auto validation: Deprecated Implicit validation of child properties (#​1960)
  • MVC auto validation: Deprecated Implicit validation of root collection elements (#​1960)
  • Deprecated InjectValidator (#​1960)
  • Deprecated IValidatorFactory and ServiceProviderValidatorFactory (#​1961)
  • Introduce services.AddFluentValidationAutoValidation() and services.AddFluentValidationClientsideAdapters() as replacements for services.AddFluentValidation() (#​1965)
  • Remove duplication between sync and async validation in the internal model.

Changes in 11.0.3

  • Fix AsyncValidatorInvokedSynchronouslyException being incorrectly thrown when the top-level When method with RuleForEach, even when invoked asynchronously (#​1955)

Changes in 11.0.2

  • Child validator contexts now contain a reference to their parent context (#​1945)
  • Support deserialization of ValidationResult using System.Text.Json (#​1928)

Changes in 11.0.1

  • Fix regression in the Test Helper affecting the With* and Without* assertion methods (#​1937)

Changes in 11.0

  • Throw exceptions when async validator is invoked synchronously (#​1705)
  • Removal deprecated OnFailure/OnAnyFailure callbacks.
  • Remove deprecated RunDefaultMvcValidationAfterFluentValidationExecutes option from ASP.NET integration.
  • Remove deprecated Options property from RuleComponent.
  • Remove deprecated TestHelper methods.
  • Remove non-generic PropertyValidator backwards compatibility layer.
  • Add method Only() to the test helper asserting that no other validation errors were raised.
  • Ensure property covariance is properly handled throughout the internal model (#​1713)

Downloads

Binaries can be downloaded from nuget:

11.1.1

Release notes

Please read the upgrade guide if you are moving from 10.x to 11.x

Note that the after 11.1.0 release, the FluentValidation.AspNetCore package has been moved to a separate repository and is now versioned and released separately. These release notes now only apply to the core FluentValidation package. For FluentValidation.AspNetCore release notes, please visit the FluentValidation.AspNetCore repository.

Changes in 11.1.1

  • Fix issue with incorrect rulesets being executed in a child validator when combined with ChildRules (#​1981)
  • Bulgarian translations of default messages (#​1973)

Changes in 11.1.0

  • Added a ToDictionary method to ValidationResult (particularly useful when working with Minimal APIs)-
  • MVC auto validation: Deprecated Implicit validation of child properties (#​1960)
  • MVC auto validation: Deprecated Implicit validation of root collection elements (#​1960)
  • Deprecated InjectValidator (#​1960)
  • Deprecated IValidatorFactory and ServiceProviderValidatorFactory (#​1961)
  • Introduce services.AddFluentValidationAutoValidation() and services.AddFluentValidationClientsideAdapters() as replacements for services.AddFluentValidation() (#​1965)
  • Remove duplication between sync and async validation in the internal model.

Changes in 11.0.3

  • Fix AsyncValidatorInvokedSynchronouslyException being incorrectly thrown when the top-level When method with RuleForEach, even when invoked asynchronously (#​1955)

Changes in 11.0.2

  • Child validator contexts now contain a reference to their parent context (#​1945)
  • Support deserialization of ValidationResult using System.Text.Json (#​1928)

Changes in 11.0.1

  • Fix regression in the Test Helper affecting the With* and Without* assertion methods (#​1937)

Changes in 11.0

  • Throw exceptions when async validator is invoked synchronously (#​1705)
  • Removal deprecated OnFailure/OnAnyFailure callbacks.
  • Remove deprecated RunDefaultMvcValidationAfterFluentValidationExecutes option from ASP.NET integration.
  • Remove deprecated Options property from RuleComponent.
  • Remove deprecated TestHelper methods.
  • Remove non-generic PropertyValidator backwards compatibility layer.
  • Add method Only() to the test helper asserting that no other validation errors were raised.
  • Ensure property covariance is properly handled throughout the internal model (#​1713)

Downloads

Binaries can be downloaded from nuget:

11.1.0

Release notes

Please read the upgrade guide if you are moving from 10.x to 11.x

Changes in 11.1.0

  • Added a ToDictionary method to ValidationResult (particularly useful when working with Minimal APIs)-
  • MVC auto validation: Deprecated Implicit validation of child properties (#​1960)
  • MVC auto validation: Deprecated Implicit validation of root collection elements (#​1960)
  • Deprecated InjectValidator (#​1960)
  • Deprecated IValidatorFactory and ServiceProviderValidatorFactory (#​1961)
  • Introduce services.AddFluentValidationAutoValidation() and services.AddFluentValidationClientsideAdapters() as replacements for services.AddFluentValidation() (#​1965)
  • Remove duplication between sync and async validation in the internal model.

Changes in 11.0.3

  • Fix AsyncValidatorInvokedSynchronouslyException being incorrectly thrown when the top-level When method with RuleForEach, even when invoked asynchronously (#​1955)

Changes in 11.0.2

  • Child validator contexts now contain a reference to their parent context (#​1945)
  • Support deserialization of ValidationResult using System.Text.Json (#​1928)

Changes in 11.0.1

  • Fix regression in the Test Helper affecting the With* and Without* assertion methods (#​1937)

Changes in 11.0

  • Throw exceptions when async validator is invoked synchronously (#​1705)
  • Removal deprecated OnFailure/OnAnyFailure callbacks.
  • Remove deprecated RunDefaultMvcValidationAfterFluentValidationExecutes option from ASP.NET integration.
  • Remove deprecated Options property from RuleComponent.
  • Remove deprecated TestHelper methods.
  • Remove non-generic PropertyValidator backwards compatibility layer.
  • Add method Only() to the test helper asserting that no other validation errors were raised.
  • Ensure property covariance is properly handled throughout the internal model (#​1713)

Downloads

Binaries can be downloaded from nuget:

11.0.3

Release notes

Please read the upgrade guide if you are moving from 10.x to 11.x

Changes in 11.0.3

  • Fix AsyncValidatorInvokedSynchronouslyException being incorrectly thrown when the top-level When method with RuleForEach, even when invoked asynchronously (#​1955)

Changes in 11.0.2

  • Child validator contexts now contain a reference to their parent context (#​1945)
  • Support deserialization of ValidationResult using System.Text.Json (#​1928)

Changes in 11.0.1

  • Fix regression in the Test Helper affecting the With* and Without* assertion methods (#​1937)

Changes in 11.0

  • Throw exceptions when async validator is invoked synchronously (#​1705)
  • Removal deprecated OnFailure/OnAnyFailure callbacks.
  • Remove deprecated RunDefaultMvcValidationAfterFluentValidationExecutes option from ASP.NET integration.
  • Remove deprecated Options property from RuleComponent.
  • Remove deprecated TestHelper methods.
  • Remove non-generic PropertyValidator backwards compatibility layer.
  • Add method Only() to the test helper asserting that no other validation errors were raised.
  • Ensure property covariance is properly handled throughout the internal model (#​1713)

Downloads

Binaries can be downloaded from nuget:

11.0.2

Release notes

Please read the upgrade guide if you are moving from 10.x to 11.x

Changes in 11.0.2

  • Child validator contexts now contain a reference to their parent context (#​1945)
  • Support deserialization of ValidationResult using System.Text.Json (#​1928)

Changes in 11.0.1

  • Fix regression in the Test Helper affecting the With* and Without* assertion methods (#​1937)

Changes in 11.0

  • Throw exceptions when async validator is invoked synchronously (#​1705)
  • Removal deprecated OnFailure/OnAnyFailure callbacks.
  • Remove deprecated RunDefaultMvcValidationAfterFluentValidationExecutes option from ASP.NET integration.
  • Remove deprecated Options property from RuleComponent.
  • Remove deprecated TestHelper methods.
  • Remove non-generic PropertyValidator backwards compatibility layer.
  • Add method Only() to the test helper asserting that no other validation errors were raised.
  • Ensure property covariance is properly handled throughout the internal model (#​1713)

Downloads

Binaries can be downloaded from nuget:

11.0.1

Release notes

Please read the upgrade guide if you are moving from 10.x to 11.x

Changes in 11.0.1

  • Fix regression in the Test Helper affecting the With* and Without* assertion methods (#​1937)

Changes in 11.0

  • Throw exceptions when async validator is invoked synchronously (#​1705)
  • Removal deprecated OnFailure/OnAnyFailure callbacks.
  • Remove deprecated RunDefaultMvcValidationAfterFluentValidationExecutes option from ASP.NET integration.
  • Remove deprecated Options property from RuleComponent.
  • Remove deprecated TestHelper methods.
  • Remove non-generic PropertyValidator backwards compatibility layer.
  • Add method Only() to the test helper asserting that no other validation errors were raised.
  • Ensure property covariance is properly handled throughout the internal model (#​1713)

Downloads

Binaries can be downloaded from nuget:

11.0

Release notes

Please read the upgrade guide if you are moving from 10.x to 11.x

Changes in 11.0

  • Throw exceptions when async validator is invoked synchronously (#​1705)
  • Removal deprecated OnFailure/OnAnyFailure callbacks.
  • Remove deprecated RunDefaultMvcValidationAfterFluentValidationExecutes option from ASP.NET integration.
  • Remove deprecated Options property from RuleComponent.
  • Remove deprecated TestHelper methods.
  • Remove non-generic PropertyValidator backwards compatibility layer.
  • Add method Only() to the test helper asserting that no other validation errors were raised.
  • Ensure property covariance is properly handled throughout the internal model (#​1713)

Downloads

Binaries can be downloaded from nuget:

10.4.0

Release notes

Please read the upgrade guide if you are moving from 9.x to 10.x

Changes in 10.4.0

  • Allow use of "*" with RuleSetForClientSideMessagesAttribute and HttpContext.SetRulesetForClientsideMessages (#​1912)
  • Fix Azerbaijani language code (#​1874)

Changes in 10.3.6

  • Fix Azerbaijani language code (#​1865)
  • Setting DisableAutomaticValidation to true should prevent implicit validation running (#​1868)
  • Enable package validation (#​1860)

Changes in 10.3.5

  • Fixed issue with ValidateAndThrow not working in some scenarios where context creation requires type conversion (#​1863).

Changes in 10.3.4

  • Clientside messages shouldn't be generated for the lazy version of LessThanOrEqual/GreaterThanOrEqual (#​1818)
  • Remove enumable boxing in Empty/NotEmpty validators (#​1823)

Changes in 10.3.3

  • Remove class constraint from TestValidate (#​1815)

Changes in 10.3.1

  • Fix ScalePrecision error message when digits is calculated as negative (#​1790)
  • Shared conditions shouldn't rely on object hashcode for unique ID (#​1810)

Changes in 10.3.0

  • Update Russian, Thai, Azerbaijani error message translations (#​1761, #​1768, #​1770)
  • Deprecate the old test helper methods in favour of TestValidate.
  • Deprecate OnFailure and OnAnyFailure callbacks.

Changes in 10.2.3

  • Resolve issue with rulesets not cascading correctly to Inheritance Validators (#​1754)

Changes in 10.2.2

  • Add backwards compatibility overloads for the changes in 10.2.1 (#​1752)

Changes in 10.2.1

  • Optional internal type registration should work with AddFluentValidation as well as directly on the service collection (#​1748)

Changes in 10.2.0

  • Fix display name generation should be consistent between RuleForEach and RuleFor.ForEach (#​1231)
  • Allow AddFluentValidation to be called directly on IServiceCollection (#​1726)
  • Throw exception when calling ValidateAndThrow even if PreValidate prevents further validation (#​1736)
  • ValidationException now includes rule severity (#​1733)
  • Optionally support internal types when scanning assemblies for validators (#​1742)
  • Deprecate RunDefaultMvcValidationAfterFluentValidationExecutes in MVC configuration. Use DisableDataAnnotationsValidation instead.

... (truncated)

10.3.6

Release notes

Please read the upgrade guide if you are moving from 9.x to 10.x

Changes in 10.3.6

  • Fix Azerbaijani language code (#​1865)
  • Setting DisableAutomaticValidation to true should prevent implicit validation running (#​1868)
  • Enable package validation (#​1860)

Changes in 10.3.5

  • Fixed issue with ValidateAndThrow not working in some scenarios where context creation requires type conversion (#​1863).

Changes in 10.3.4

  • Clientside messages shouldn't be generated for the lazy version of LessThanOrEqual/GreaterThanOrEqual (#​1818)
  • Remove enumable boxing in Empty/NotEmpty validators (#​1823)

Changes in 10.3.3

  • Remove class constraint from TestValidate (#​1815)

Changes in 10.3.1

  • Fix ScalePrecision error message when digits is calculated as negative (#​1790)
  • Shared conditions shouldn't rely on object hashcode for unique ID (#​1810)

Changes in 10.3.0

  • Update Russian, Thai, Azerbaijani error message translations (#​1761, #​1768, #​1770)
  • Deprecate the old test helper methods in favour of TestValidate.
  • Deprecate OnFailure and OnAnyFailure callbacks.

Changes in 10.2.3

  • Resolve issue with rulesets not cascading correctly to Inheritance Validators (#​1754)

Changes in 10.2.2

  • Add backwards compatibility overloads for the changes in 10.2.1 (#​1752)

Changes in 10.2.1

  • Optional internal type registration should work with AddFluentValidation as well as directly on the service collection (#​1748)

Changes in 10.2.0

  • Fix display name generation should be consistent between RuleForEach and RuleFor.ForEach (#​1231)
  • Allow AddFluentValidation to be called directly on IServiceCollection (#​1726)
  • Throw exception when calling ValidateAndThrow even if PreValidate prevents further validation (#​1736)
  • ValidationException now includes rule severity (#​1733)
  • Optionally support internal types when scanning assemblies for validators (#​1742)
  • Deprecate RunDefaultMvcValidationAfterFluentValidationExecutes in MVC configuration. Use DisableDataAnnotationsValidation instead.

Changes in 10.1.0

  • Allow default severity level to be set globally (#​1715)
  • Extend use of variance into the internal API to resolve invalid cast exceptions in some scenarios (#​1711)
  • Fix clientside metadata being incorrectly generated for cross-property LessThanOrEqual/GreaterThanOrEqual (#​1721)
    ... (truncated)

10.3.5

Release notes

Please read the upgrade guide if you are moving from 9.x to 10.x

Changes in 10.3.5

  • Fixed issue with ValidateAndThrow not working in some scenarios where context creation requires type conversion (#​1863).

Changes in 10.3.4

  • Clientside messages shouldn't be generated for the lazy version of LessThanOrEqual/GreaterThanOrEqual (#​1818)
  • Remove enumable boxing in Empty/NotEmpty validators (#​1823)

Changes in 10.3.3

  • Remove class constraint from TestValidate (#​1815)

Changes in 10.3.1

  • Fix ScalePrecision error message when digits is calculated as negative (#​1790)
  • Shared conditions shouldn't rely on object hashcode for unique ID (#​1810)

Changes in 10.3.0

  • Update Russian, Thai, Azerbaijani error message translations (#​1761, #​1768, #​1770)
  • Deprecate the old test helper methods in favour of TestValidate.
  • Deprecate OnFailure and OnAnyFailure callbacks.

Changes in 10.2.3

  • Resolve issue with rulesets not cascading correctly to Inheritance Validators (#​1754)

Changes in 10.2.2

  • Add backwards compatibility overloads for the changes in 10.2.1 (#​1752)

Changes in 10.2.1

  • Optional internal type registration should work with AddFluentValidation as well as directly on the service collection (#​1748)

Changes in 10.2.0

  • Fix display name generation should be consistent between RuleForEach and RuleFor.ForEach (#​1231)
  • Allow AddFluentValidation to be called directly on IServiceCollection (#​1726)
  • Throw exception when calling ValidateAndThrow even if PreValidate prevents further validation (#​1736)
  • ValidationException now includes rule severity (#​1733)
  • Optionally support internal types when scanning assemblies for validators (#​1742)
  • Deprecate RunDefaultMvcValidationAfterFluentValidationExecutes in MVC configuration. Use DisableDataAnnotationsValidation instead.

Changes in 10.1.0

  • Allow default severity level to be set globally (#​1715)
  • Extend use of variance into the internal API to resolve invalid cast exceptions in some scenarios (#​1711)
  • Fix clientside metadata being incorrectly gen...

Description has been truncated

---
updated-dependencies:
- dependency-name: FluentValidation
  dependency-version: 11.12.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Dec 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant