Fluent-validation

Latest version: v4.3.1

Safety actively analyzes 682457 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 22

10.0.3

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

10.0.2

Expose ErrorCode property on IRuleComponent.

10.0.1

Add GetPropertyValue method to IValidationRule<T>
Fix context parameter types on IValidationRule.ApplyCondition and ApplyAsyncCondition.

10.0.0

Please review the upgrade guide for 10.0: https://docs.fluentvalidation.net/en/latest/upgrading-to-10.html
Performance improvements.
Collection rules now only iterate the collection once.
Property validators are now generic.
Internal API now uses generics.
Deprecated non-generic PropertyValidator.
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.
Changed type of ValidationResult.Errors from IList<ValidationFailure> to List<ValidationFailure>
Default service lifetime is now Scoped rather than Transient.
Combine 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.

9.5.4

Fix Serbian translation of error messages (1683)
Add Vietnamese translations of error messages (1677)

9.5.3

Fix Swedish translation for CreditCardValidator (1664)

Page 7 of 22

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.