Repository navigation
11.0.3
Release notes
Please read the upgrade guide if you are moving from 10.x to 11.x
Changes in 11.0.3
- Fix
AsyncValidatorInvokedSynchronouslyExceptionbeing incorrectly thrown when the top-levelWhenmethod withRuleForEach, even when invoked asynchronously (#1955)
Changes in 11.0.2
- Child validator contexts now contain a reference to their parent context (#1945)
- Support deserialization of
ValidationResultusing System.Text.Json (#1928)
Changes in 11.0.1
- Fix regression in the Test Helper affecting the
With*andWithout*assertion methods (#1937)
Changes in 11.0
- Throw exceptions when async validator is invoked synchronously (#1705)
- Removal deprecated OnFailure/OnAnyFailure callbacks.
- Remove deprecated
RunDefaultMvcValidationAfterFluentValidationExecutesoption from ASP.NET integration. - Remove deprecated
Optionsproperty from RuleComponent. - Remove deprecated TestHelper methods.
- Remove non-generic
PropertyValidatorbackwards compatibility layer. - Add method
Only()to the test helper asserting that no other validation errors were raised. - Ensure property covariance is properly handled throughout the internal model (#1713)
Downloads
Binaries can be downloaded from nuget:
- FluentValidation - Main package
- FluentValidation.AspNetCore - ASP.NET Core integration