Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency FluentValidation to v10.4.0 #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Aug 19, 2021

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
FluentValidation (source) 10.1.0 -> 10.4.0 age adoption passing confidence

Release Notes

JeremySkinner/fluentvalidation (FluentValidation)

v10.4.0

Compare Source

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.
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)
Changes in 10.0.4
  • Resolved an issue where async conditions were run synchronously when applied to synchronous property validators
Changes in 10.0.3
  • Fix ArgumentOutOfRangeException when condition returns false for RuleForEach containing multiple components (#​1698)
Changes in 10.0.2
  • ErrorCode is now exposed on IRuleComponent
Changes in 10.0.1
  • Add GetPropertyValue to IValidationRule to support #​1688
  • Context object is now strongly typed inside IValidationRule<T>.ApplyCondition/ApplyAsyncCondition for users of the internal API
Changes in 10.0.0
  • Various performance improvements throughout the library
  • Collection rules now only iterate the collection once
  • Property validator classes are now generic
  • Deprecated non-generic PropertyValidator.
  • Changed type of ValidationResult.Errors from IList<ValidationFailure> to List<ValidationFailure>
  • The internal API now uses generics.
  • Various property validator options have been seperated into RuleComponents.
  • Various parts of the internal API are now internal (PropertyRule, CollectionPropertyRule etc).
  • ValidatorDescriptor now returns rule components in various places, where PropertyValidators were previously returned
  • Default service lifetime in ASP.NET projects is now Scoped rather than Transient.
  • Combined IActionContextValidatorInterceptor and IValidatorInterceptor.
  • Changes to the ASP.NET Client Validator Adaptor interfaces. These now receive the rule component.
  • Removed deprecated IStringSource and its inheritors.
  • Removed deprecated FormattedMessageArguments from ValidationFailure.
  • Removed other deprecated code.
Downloads

Binaries can be downloaded from nuget:

v10.3.6

Compare Source

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)

Changes in 10.0.4

  • Resolved an issue where async conditions were run synchronously when applied to synchronous property validators

Changes in 10.0.3

  • Fix ArgumentOutOfRangeException when condition returns false for RuleForEach containing multiple components (#​1698)

Changes in 10.0.2

  • ErrorCode is now exposed on IRuleComponent

Changes in 10.0.1

  • Add GetPropertyValue to IValidationRule to support #​1688
  • Context object is now strongly typed inside IValidationRule<T>.ApplyCondition/ApplyAsyncCondition for users of the internal API

Changes in 10.0.0

  • Various performance improvements throughout the library
  • Collection rules now only iterate the collection once
  • Property validator classes are now generic
  • Deprecated non-generic PropertyValidator.
  • Changed type of ValidationResult.Errors from IList<ValidationFailure> to List<ValidationFailure>
  • The internal API now uses generics.
  • Various property validator options have been seperated into RuleComponents.
  • Various parts of the internal API are now internal (PropertyRule, CollectionPropertyRule etc).
  • ValidatorDescriptor now returns rule components in various places, where PropertyValidators were previously returned
  • Default service lifetime in ASP.NET projects is now Scoped rather than Transient.
  • Combined IActionContextValidatorInterceptor and IValidatorInterceptor.
  • Changes to the ASP.NET Client Validator Adaptor interfaces. These now receive the rule component.
  • Removed deprecated IStringSource and its inheritors.
  • Removed deprecated FormattedMessageArguments from ValidationFailure.
  • Removed other deprecated code.

Downloads

Binaries can be downloaded from nuget:

v10.3.5

Compare Source

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 generated for cross-property LessThanOrEqual/GreaterThanOrEqual (#​1721)
Changes in 10.0.4
  • Resolved an issue where async conditions were run synchronously when applied to synchronous property validators
Changes in 10.0.3
  • Fix ArgumentOutOfRangeException when condition returns false for RuleForEach containing multiple components (#​1698)
Changes in 10.0.2
  • ErrorCode is now exposed on IRuleComponent
Changes in 10.0.1
  • Add GetPropertyValue to IValidationRule to support #​1688
  • Context object is now strongly typed inside IValidationRule<T>.ApplyCondition/ApplyAsyncCondition for users of the internal API
Changes in 10.0.0
  • Various performance improvements throughout the library
  • Collection rules now only iterate the collection once
  • Property validator classes are now generic
  • Deprecated non-generic PropertyValidator.
  • Changed type of ValidationResult.Errors from IList<ValidationFailure> to List<ValidationFailure>
  • The internal API now uses generics.
  • Various property validator options have been seperated into RuleComponents.
  • Various parts of the internal API are now internal (PropertyRule, CollectionPropertyRule etc).
  • ValidatorDescriptor now returns rule components in various places, where PropertyValidators were previously returned
  • Default service lifetime in ASP.NET projects is now Scoped rather than Transient.
  • Combined IActionContextValidatorInterceptor and IValidatorInterceptor.
  • Changes to the ASP.NET Client Validator Adaptor interfaces. These now receive the rule component.
  • Removed deprecated IStringSource and its inheritors.
  • Removed deprecated FormattedMessageArguments from ValidationFailure.
  • Removed other deprecated code.
Downloads

Binaries can be downloaded from nuget:

v10.3.4

Compare Source

Release notes

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

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)

Changes in 10.0.4

  • Resolved an issue where async conditions were run synchronously when applied to synchronous property validators

Changes in 10.0.3

  • Fix ArgumentOutOfRangeException when condition returns false for RuleForEach containing multiple components (#​1698)

Changes in 10.0.2

  • ErrorCode is now exposed on IRuleComponent

Changes in 10.0.1

  • Add GetPropertyValue to IValidationRule to support #​1688
  • Context object is now strongly typed inside IValidationRule<T>.ApplyCondition/ApplyAsyncCondition for users of the internal API

Changes in 10.0.0

  • Various performance improvements throughout the library
  • Collection rules now only iterate the collection once
  • Property validator classes are now generic
  • Deprecated non-generic PropertyValidator.
  • Changed type of ValidationResult.Errors from IList<ValidationFailure> to List<ValidationFailure>
  • The internal API now uses generics.
  • Various property validator options have been seperated into RuleComponents.
  • Various parts of the internal API are now internal (PropertyRule, CollectionPropertyRule etc).
  • ValidatorDescriptor now returns rule components in various places, where PropertyValidators were previously returned
  • Default service lifetime in ASP.NET projects is now Scoped rather than Transient.
  • Combined IActionContextValidatorInterceptor and IValidatorInterceptor.
  • Changes to the ASP.NET Client Validator Adaptor interfaces. These now receive the rule component.
  • Removed deprecated IStringSource and its inheritors.
  • Removed deprecated FormattedMessageArguments from ValidationFailure.
  • Removed other deprecated code.

Downloads

Binaries can be downloaded from nuget:

v10.3.3

Compare Source

Release notes

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

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)
Changes in 10.0.4
  • Resolved an issue where async conditions were run synchronously when applied to synchronous property validators
Changes in 10.0.3
  • Fix ArgumentOutOfRangeException when condition returns false for RuleForEach containing multiple components (#​1698)
Changes in 10.0.2
  • ErrorCode is now exposed on IRuleComponent
Changes in 10.0.1
  • Add GetPropertyValue to IValidationRule to support #​1688
  • Context object is now strongly typed inside IValidationRule<T>.ApplyCondition/ApplyAsyncCondition for users of the internal API
Changes in 10.0.0
  • Various performance improvements throughout the library
  • Collection rules now only iterate the collection once
  • Property validator classes are now generic
  • Deprecated non-generic PropertyValidator.
  • Changed type of ValidationResult.Errors from IList<ValidationFailure> to List<ValidationFailure>
  • The internal API now uses generics.
  • Various property validator options have been seperated into RuleComponents.
  • Various parts of the internal API are now internal (PropertyRule, CollectionPropertyRule etc).
  • ValidatorDescriptor now returns rule components in various places, where PropertyValidators were previously returned
  • Default service lifetime in ASP.NET projects is now Scoped rather than Transient.
  • Combined IActionContextValidatorInterceptor and IValidatorInterceptor.
  • Changes to the ASP.NET Client Validator Adaptor interfaces. These now receive the rule component.
  • Removed deprecated IStringSource and its inheritors.
  • Removed deprecated FormattedMessageArguments from ValidationFailure.
  • Removed other deprecated code.
Downloads

Binaries can be downloaded from nuget:

v10.3.2

Compare Source

Release notes

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

Changes in 10.3.2
  • 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)
Changes in 10.0.4
  • Resolved an issue where async conditions were run synchronously when applied to synchronous property validators
Changes in 10.0.3
  • Fix ArgumentOutOfRangeException when condition returns false for RuleForEach containing multiple components (#​1698)
Changes in 10.0.2
  • ErrorCode is now exposed on IRuleComponent
Changes in 10.0.1
  • Add GetPropertyValue to IValidationRule to support #​1688
  • Context object is now strongly typed inside IValidationRule<T>.ApplyCondition/ApplyAsyncCondition for users of the internal API
Changes in 10.0.0
  • Various performance improvements throughout the library
  • Collection rules now only iterate the collection once
  • Property validator classes are now generic
  • Deprecated non-generic PropertyValidator.
  • Changed type of ValidationResult.Errors from IList<ValidationFailure> to List<ValidationFailure>
  • The internal API now uses generics.
  • Various property validator options have been seperated into RuleComponents.
  • Various parts of the internal API are now internal (PropertyRule, CollectionPropertyRule etc).
  • ValidatorDescriptor now returns rule components in various places, where PropertyValidators were previously returned
  • Default service lifetime in ASP.NET projects is now Scoped rather than Transient.
  • Combined IActionContextValidatorInterceptor and IValidatorInterceptor.
  • Changes to the ASP.NET Client Validator Adaptor interfaces. These now receive the rule component.
  • Removed deprecated IStringSource and its inheritors.
  • Removed deprecated FormattedMessageArguments from ValidationFailure.
  • Removed other deprecated code.
Downloads

Binaries can be downloaded from nuget:

v10.3.1

Compare Source

Release notes

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

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)

Changes in 10.0.4

  • Resolved an issue where async conditions were run synchronously when applied to synchronous property validators

Changes in 10.0.3

  • Fix ArgumentOutOfRangeException when condition returns false for RuleForEach containing multiple components (#​1698)

Changes in 10.0.2

  • ErrorCode is now exposed on IRuleComponent

Changes in 10.0.1

  • Add GetPropertyValue to IValidationRule to support #​1688
  • Context object is now strongly typed inside IValidationRule<T>.ApplyCondition/ApplyAsyncCondition for users of the internal API

Changes in 10.0.0

  • Various performance improvements throughout the library
  • Collection rules now only iterate the collection once
  • Property validator classes are now generic
  • Deprecated non-generic PropertyValidator.
  • Changed type of ValidationResult.Errors from IList<ValidationFailure> to List<ValidationFailure>
  • The internal API now uses generics.
  • Various property validator options have been seperated into RuleComponents.
  • Various parts of the internal API are now internal (PropertyRule, CollectionPropertyRule etc).
  • ValidatorDescriptor now returns rule components in various places, where PropertyValidators were previously returned
  • Default service lifetime in ASP.NET projects is now Scoped rather than Transient.
  • Combined IActionContextValidatorInterceptor and IValidatorInterceptor.
  • Changes to the ASP.NET Client Validator Adaptor interfaces. These now receive the rule component.
  • Removed deprecated IStringSource and its inheritors.
  • Removed deprecated FormattedMessageArguments from ValidationFailure.
  • Removed other deprecated code.

Downloads

Binaries can be downloaded from nuget:

v10.3.0

Compare Source

Release notes

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

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)

Changes in 10.0.4

  • Resolved an issue where async conditions were run synchronously when applied to synchronous property validators

Changes in 10.0.3

  • Fix ArgumentOutOfRangeException when condition returns false for RuleForEach containing multiple components (#​1698)

Changes in 10.0.2

  • ErrorCode is now exposed on IRuleComponent

Changes in 10.0.1

  • Add GetPropertyValue to IValidationRule to support #​1688
  • Context object is now strongly typed inside IValidationRule<T>.ApplyCondition/ApplyAsyncCondition for users of the internal API

Changes in 10.0.0

  • Various performance improvements throughout the library
  • Collection rules now only iterate the collection once
  • Property validator classes are now generic
  • Deprecated non-generic PropertyValidator.
  • Changed type of ValidationResult.Errors from IList<ValidationFailure> to List<ValidationFailure>
  • The internal API now uses generics.
  • Various property validator options have been seperated into RuleComponents.
  • Various parts of the internal API are now internal (PropertyRule, CollectionPropertyRule etc).
  • ValidatorDescriptor now returns rule components in various places, where PropertyValidators were previously returned
  • Default service lifetime in ASP.NET projects is now Scoped rather than Transient.
  • Combined IActionContextValidatorInterceptor and IValidatorInterceptor.
  • Changes to the ASP.NET Client Validator Adaptor interfaces. These now receive the rule component.
  • Removed deprecated IStringSource and its inheritors.
  • Removed deprecated FormattedMessageArguments from ValidationFailure.
  • Removed other deprecated code.

Downloads

Binaries can be downloaded from nuget:

v10.2.3

Compare Source

Release notes

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

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)
Changes in 10.0.4
  • Resolved an issue where async conditions were run synchronously when applied to synchronous property validators
Changes in 10.0.3
  • Fix ArgumentOutOfRangeException when condition returns false for RuleForEach containing multiple components (#​1698)
Changes in 10.0.2
  • ErrorCode is now exposed on IRuleComponent
Changes in 10.0.1
  • Add GetPropertyValue to IValidationRule to support #​1688
  • Context object is now strongly typed inside IValidationRule<T>.ApplyCondition/ApplyAsyncCondition for users of the internal API
Changes in 10.0.0
  • Various performance improvements throughout the library
  • Collection rules now only iterate the collection once
  • Property validator classes are now generic
  • Deprecated non-generic PropertyValidator.
  • Changed type of ValidationResult.Errors from IList<ValidationFailure> to List<ValidationFailure>
  • The internal API now uses generics.
  • Various property validator options have been seperated into RuleComponents.
  • Various parts of the internal API are now internal (PropertyRule, CollectionPropertyRule etc).
  • ValidatorDescriptor now returns rule components in various places, where PropertyValidators were previously returned
  • Default service lifetime in ASP.NET projects is now Scoped rather than Transient.
  • Combined IActionContextValidatorInterceptor and IValidatorInterceptor.
  • Changes to the ASP.NET Client Validator Adaptor interfaces. These now receive the rule component.
  • Removed deprecated IStringSource and its inheritors.
  • Removed deprecated FormattedMessageArguments from ValidationFailure.
  • Removed other deprecated code.
Downloads

Binaries can be downloaded from nuget:

v10.2.2

Compare Source

Release notes

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

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)

Changes in 10.0.4

  • Resolved an issue where async conditions were run synchronously when applied to synchronous property validators

Changes in 10.0.3

  • Fix ArgumentOutOfRangeException when condition returns false for RuleForEach containing multiple components (#​1698)

Changes in 10.0.2

  • ErrorCode is now exposed on IRuleComponent

Changes in 10.0.1

  • Add GetPropertyValue to IValidationRule to support #​1688
  • Context object is now strongly typed inside IValidationRule<T>.ApplyCondition/ApplyAsyncCondition for users of the internal API

Changes in 10.0.0

  • Various performance improvements throughout the library
  • Collection rules now only iterate the collection once
  • Property validator classes are now generic
  • Deprecated non-generic PropertyValidator.
  • Changed type of ValidationResult.Errors from IList<ValidationFailure> to List<ValidationFailure>
  • The internal API now uses generics.
  • Various property validator options have been seperated into RuleComponents.
  • Various parts of the internal API are now internal (PropertyRule, CollectionPropertyRule etc).
  • ValidatorDescriptor now returns rule components in various places, where PropertyValidators were previously returned
  • Default service lifetime in ASP.NET projects is now Scoped rather than Transient.
  • Combined IActionContextValidatorInterceptor and IValidatorInterceptor.
  • Changes to the ASP.NET Client Validator Adaptor interfaces. These now receive the rule component.
  • Removed deprecated IStringSource and its inheritors.
  • Removed deprecated FormattedMessageArguments from ValidationFailure.
  • Removed other deprecated code.

Downloads

Binaries can be downloaded from nuget:

v10.2.1

Compare Source

Release notes

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

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)

Changes in 10.0.4

  • Resolved an issue where async condit

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/fluentvalidation-10.x branch from dec11f0 to 85a2008 Compare August 24, 2021 18:11
@renovate renovate bot changed the title Update dependency FluentValidation to v10.3.1 Update dependency FluentValidation to v10.3.3 Aug 24, 2021
@renovate renovate bot changed the title Update dependency FluentValidation to v10.3.3 Update dependency FluentValidation to v10.3.3 - autoclosed Sep 24, 2021
@renovate renovate bot closed this Sep 24, 2021
@renovate renovate bot deleted the renovate/fluentvalidation-10.x branch September 24, 2021 19:42
@renovate renovate bot changed the title Update dependency FluentValidation to v10.3.3 - autoclosed Update dependency FluentValidation to v10.3.3 Sep 24, 2021
@renovate renovate bot restored the renovate/fluentvalidation-10.x branch September 24, 2021 20:56
@renovate renovate bot reopened this Sep 24, 2021
@renovate renovate bot force-pushed the renovate/fluentvalidation-10.x branch from 85a2008 to 9705f2a Compare September 24, 2021 20:56
@renovate renovate bot changed the title Update dependency FluentValidation to v10.3.3 Update dependency FluentValidation to v10.3.3 - autoclosed Sep 28, 2021
@renovate renovate bot closed this Sep 28, 2021
@renovate renovate bot deleted the renovate/fluentvalidation-10.x branch September 28, 2021 04:43
@renovate renovate bot changed the title Update dependency FluentValidation to v10.3.3 - autoclosed Update dependency FluentValidation to v10.3.3 Sep 28, 2021
@renovate renovate bot restored the renovate/fluentvalidation-10.x branch September 28, 2021 07:29
@renovate renovate bot reopened this Sep 28, 2021
@renovate renovate bot force-pushed the renovate/fluentvalidation-10.x branch from 9705f2a to 01d1bac Compare September 28, 2021 07:29
@renovate renovate bot force-pushed the renovate/fluentvalidation-10.x branch from 01d1bac to ea129e9 Compare March 7, 2022 14:43
@renovate renovate bot changed the title Update dependency FluentValidation to v10.3.3 Update dependency FluentValidation to v10.3.6 Mar 7, 2022
@renovate renovate bot force-pushed the renovate/fluentvalidation-10.x branch from ea129e9 to f25bca9 Compare March 26, 2022 13:40
@renovate renovate bot changed the title Update dependency FluentValidation to v10.3.6 Update dependency FluentValidation to v10.4.0 Mar 26, 2022
@renovate renovate bot force-pushed the renovate/fluentvalidation-10.x branch from f25bca9 to b98794c Compare March 16, 2023 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants