Release notes
Please read the upgrade guide if you are moving from 10.x to 11.x
Changes in 11.3.0
- Added
Filter
property to auto-validation configuration to optionally include/exclude certain types from auto-validation (FluentValidation/FluentValidation#2091)
Changes in 11.2.2
- Fix issue where implicit child validation could still be executed for Record types even when disabled (#7)
- Add additional overload of
AddToModelState
that doesn't require a prefix (#5)
Changes in 11.2.1
- Add deprecation warnings on various registration methods within the call to
AddFluentValidation
(see FluentValidation/FluentValidation#1963) - The dependency on the FluentValidation.DependencyInjectionExtensions package now uses a floating version.
Changes in 11.2.0
- The dependency on the core FluentValidation library now uses a floating version.
Changes in 11.1.3
- Deprecate the
AddFluentValidation
registration methods. These have been replaced withAddFluentValidationAutoValidation
andAddFluentValidationClientsideAdapters
(see FluentValidation/FluentValidation#1965)
Changes in 11.1.2
- Fixed
NullReferenceException
being thrown inAddFluentValidationClientsideAdapters
caused by a missing registration forIValidatorFactory
Changes in 11.1.1
- Fixed
NullReferenceException
being thrown inAddFluentValidationClientsideAdapters
(FluentValidation/FluentValidation#1969)
Changes in 11.1.0
- Added a
ToDictionary
method toValidationResult
(particularly useful when working with Minimal APIs)- - MVC auto validation: Deprecated Implicit validation of child properties (FluentValidation/FluentValidation#1960)
- MVC auto validation: Deprecated Implicit validation of root collection elements (FluentValidation/FluentValidation#1960)
- Introduce
services.AddFluentValidationAutoValidation()
andservices.AddFluentValidationClientsideAdapters()
as replacements forservices.AddFluentValidation()
(FluentValidation/FluentValidation#1965)
Changes in 11.0
- Throw exceptions when async validator is invoked synchronously (#1705)
- Remove deprecated
RunDefaultMvcValidationAfterFluentValidationExecutes
option from ASP.NET integration.
Downloads
Binaries can be downloaded from nuget: