Release notes
Please read the upgrade guide for full details: https://docs.fluentvalidation.net/en/latest/upgrading-to-9.html
Changes in 9.0-preview5
- Remove
IValidator.Validate(object)
overload to improve typesafety (use a context if you need to preserve this behaviour) - Replace non-generic
ValidationContext
class withIValidationContext
interface ChildValidatorAdaptor
andIncludeRule
now require a generic type parameter indicating the root type being validated- Expression accessors for comparison properties are now cached where possible
{ComparisonProperty}
placeholder now passes through the same logic as the{PropertyName}
placeholder for consistency
Downloads
Binaries can be downloaded from nuget:
- FluentValidation - Main package
- FluentValidation.AspNetCore - ASP.NET Core integration