Releases: FluentValidation/FluentValidation
Releases · FluentValidation/FluentValidation
8.1.1
Release notes
- Added
RuleSetsExecuted
property toValidationResult
. - Fix issue with shared condition cache incorrectly caching when used with
RuleForEach
.
8.1.0
Release notes
- Added format support for message placeholders.
- Added support for overriding indexers for collection rules.
- Allow ErrorCode to be used to override localization key in the Language Manager.
- Additional error details are now shown in the
ShouldNotHaveValidationErrorFor
test extension. - Conditions defined with root-level
When
/WhenAsync
/Unless
/UnlessAsync
are now only executed once (instead of once for each rule). - Support
Otherwise
method chained from root-levelWhen
/WhenAsync
/Unless
/UnlessAsync
. - Minor wording changes to default English error messages.
- Added
Skip
property to MVC5'sCustomizeValidatorAttribute
to bring parity with AspNetCore and WebApi integration. - Japanese translation of the default error messages.
- Remove type constraint on the
OverridePropertyName
overload that takes an expression.
8.0.101
Release notes
- Fix clientside property comparison validation adaptor in ASP.NET Core integration.
8.0.100
Release notes
- Added Greek language translation.
- Resolved an issue where Cascade and Transform couldn't be used with RuleForEach
8.0.0
Release notes
- Support validating only specific properties by path.
- Allow specifying a ruleset with
SetValidator
for complex properties. - Introduce
PropertyValidatorOptions
in order to clean up theIPropretyValidator
interface. - Moved the
AttributedValidatorFactory
into a separate package. IStringSource.GetString
now takes a context.- Major cleanup of asynchronous validation workflow.
- Deprecate
SetCollectionValidator
in favour ofRuleForEach().SetValidator
- Remove the pre-7 version of
Custom
/CustomAsync
. - Removed deprecated localization system.
- Remove deprecated
RemoveRule
/ReplaceRule
/ClearRules
methods.