Skip to content

Releases: FluentValidation/FluentValidation

8.1.1

24 Sep 10:54
Compare
Choose a tag to compare

Release notes

  • Added RuleSetsExecuted property to ValidationResult.
  • Fix issue with shared condition cache incorrectly caching when used with RuleForEach.

8.1.0

24 Sep 10:56
Compare
Choose a tag to compare

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-level When/WhenAsync/Unless/UnlessAsync.
  • Minor wording changes to default English error messages.
  • Added Skip property to MVC5's CustomizeValidatorAttribute 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

24 Sep 10:56
Compare
Choose a tag to compare

Release notes

  • Fix clientside property comparison validation adaptor in ASP.NET Core integration.

8.0.100

24 Sep 10:56
Compare
Choose a tag to compare

Release notes

  • Added Greek language translation.
  • Resolved an issue where Cascade and Transform couldn't be used with RuleForEach

8.0.0

24 Sep 10:58
Compare
Choose a tag to compare

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 the IPropretyValidator interface.
  • Moved the AttributedValidatorFactory into a separate package.
  • IStringSource.GetString now takes a context.
  • Major cleanup of asynchronous validation workflow.
  • Deprecate SetCollectionValidator in favour of RuleForEach().SetValidator
  • Remove the pre-7 version of Custom/CustomAsync.
  • Removed deprecated localization system.
  • Remove deprecated RemoveRule/ReplaceRule/ClearRules methods.