FluentValidation.AspNetCore 9.3.0-preview2
AspNetCore integration for FluentValidation
Changes in 9.3.0:
* Support for .net 5
Changes in 9.0.0:
* Compatibility with FluentValidation 9.0
* FluentValidationModelValidatorProvider and FluentValidationModelValidator are now public.
* Work around a bug in ASP.NET Core's integration testing components that can cause ConfigureServices to run multiple times.
* Automatically scanned types can be excluded when calling RegisterValidatorsFromAssemblyContaining in ASP.NET Core projects.
* New AutomaticValidationEnabled property for use in ASP.NET Core projects (defaults to true).
* SourceLink integration
* Dropped support for end-of-life .NET Core versions (2.2 and 3.0). LTS versions are supported (2.1 and 3.1)
Changes in 8.6.0:
* Add support for ASP.NET Core 3.1
* AddToModelState no longer includes a dot if PropertyName is null
Changes in 8.5.1:
* Ensure lazily loaded calls to WithMessage can be used for client-side validation, provided they don't attempt to access model properties from inside the delegate (eg when using IStringLocalizer).
Changes in 8.5.0:
* Compatibility with ASP.NET Core 3.
Changes in 8.4.0:
* Added simplified version of several messages across all translations to aid with ASP.NET Clientside validation.
Changes in 8.3.0:
* Fix issue in ASP.NET Core integration with GetServiceProvider not working correctly when invoked against a CustomContext/MessageBuilderContext.
Changes in 8.2.1:
* Resolved issue using InjectValidator with RuleForEach.
* Add support for a default IValidatorInterceptor to be registered with the Service Provider.
Changes in 8.2.0:
* Add extensions for injecting child validators using the ASP.NET Core Service Provider.
Changes in 8.1.3:
* Resolved issue where clientside validation was incorrectly generating metadata for rules with shared conditions.
Changes in 7.6.103:
* Support for validating controller and Razor properties annotated [BindProperty].
Changes in 7.6:
* Updates to support ASP.NET Core 2.1
Changes in 7.5:
* Better handling of clientside messages when using custom overriden language resources
* Added flag in the ValidationContext's RootDataContext when a validator is invoked by the automatic MVC/WebApi integration
Changes in 7.4:
* Added SetRulesetForClientsideMessages method as an alternative to using the RulesetForClientSideMessagesAttribute
* Updated MVC dependency to version 2.0.2
Changes in 7.3:
* Added support for validating collections when using the automatic MVC integration
* Added support for implicat validation of child properties when using the automatic MVC integration
* Added Skip property to the CustomizeValidatorAttribute to opt-out of validating certain properties
Full release notes can be found at https://github.com/FluentValidation/FluentValidation/blob/master/Changelog.txt
.NET Core 2.1
- FluentValidation.DependencyInjectionExtensions (>= 9.3.0-preview2)
- FluentValidation (>= 9.3.0-preview2)
- Microsoft.AspNetCore.Mvc.ViewFeatures (>= 2.1.0)
.NET Core 3.1
- FluentValidation.DependencyInjectionExtensions (>= 9.3.0-preview2)
- FluentValidation (>= 9.3.0-preview2)
.NET 5.0
- FluentValidation.DependencyInjectionExtensions (>= 9.3.0-preview2)
- FluentValidation (>= 9.3.0-preview2)
| Version | Downloads | Last updated |
|---|---|---|
| 11.3.1 | 185 | 06/04/2025 |
| 11.3.0 | 987 | 02/04/2024 |
| 11.2.2 | 135 | 02/04/2024 |
| 11.2.1 | 73 | 07/20/2024 |
| 11.2.0 | 65 | 07/16/2024 |
| 11.1.3 | 64 | 07/20/2024 |
| 11.1.2 | 81 | 07/20/2024 |
| 11.0.3 | 76 | 07/20/2024 |
| 11.0.2 | 74 | 07/20/2024 |
| 11.0.1 | 70 | 07/13/2024 |
| 11.0.0 | 68 | 07/20/2024 |
| 10.4.0 | 182 | 02/04/2024 |
| 10.3.6 | 66 | 07/20/2024 |
| 10.3.5 | 72 | 07/20/2024 |
| 10.3.4 | 86 | 06/21/2024 |
| 10.3.3 | 75 | 07/13/2024 |
| 10.3.1 | 79 | 07/20/2024 |
| 10.3.0 | 90 | 07/20/2024 |
| 10.2.3 | 85 | 07/14/2024 |
| 10.2.2 | 79 | 07/20/2024 |
| 10.2.1 | 81 | 07/20/2024 |
| 10.2.0 | 74 | 07/13/2024 |
| 10.1.0 | 66 | 07/20/2024 |
| 10.0.4 | 64 | 07/20/2024 |
| 10.0.3 | 89 | 07/20/2024 |
| 10.0.2 | 72 | 07/20/2024 |
| 10.0.1 | 68 | 07/14/2024 |
| 10.0.0 | 87 | 07/13/2024 |
| 10.0.0-preview4 | 65 | 07/20/2024 |
| 10.0.0-preview3 | 77 | 07/08/2024 |
| 10.0.0-preview2 | 78 | 07/08/2024 |
| 10.0.0-preview1 | 80 | 07/20/2024 |
| 9.5.4 | 84 | 07/20/2024 |
| 9.5.3 | 72 | 07/20/2024 |
| 9.5.2 | 79 | 07/20/2024 |
| 9.5.1 | 76 | 07/20/2024 |
| 9.5.0 | 112 | 02/09/2024 |
| 9.4.0 | 91 | 07/20/2024 |
| 9.3.0 | 81 | 07/20/2024 |
| 9.3.0-preview3 | 83 | 07/20/2024 |
| 9.3.0-preview2 | 74 | 07/20/2024 |
| 9.3.0-preview1 | 67 | 07/20/2024 |
| 9.2.0 | 72 | 07/20/2024 |
| 9.1.3 | 88 | 07/20/2024 |
| 9.1.2 | 74 | 07/20/2024 |
| 9.1.1 | 72 | 07/20/2024 |
| 9.1.0 | 88 | 07/20/2024 |
| 9.0.1 | 71 | 07/20/2024 |
| 9.0.0-preview5 | 73 | 07/20/2024 |
| 9.0.0-preview4 | 89 | 07/20/2024 |
| 9.0.0-preview3 | 69 | 07/20/2024 |
| 9.0.0-preview2 | 69 | 07/20/2024 |
| 9.0.0-preview1 | 77 | 07/20/2024 |
| 8.6.3 | 79 | 07/20/2024 |
| 8.6.2 | 76 | 07/20/2024 |
| 8.6.1 | 85 | 07/20/2024 |
| 8.6.0 | 73 | 07/20/2024 |
| 8.5.1 | 81 | 07/20/2024 |
| 8.5.0 | 81 | 07/16/2024 |
| 8.5.0-preview5 | 86 | 07/20/2024 |
| 8.5.0-preview4 | 79 | 07/20/2024 |
| 8.5.0-preview3 | 81 | 07/20/2024 |
| 8.5.0-preview2 | 75 | 07/20/2024 |
| 8.5.0-preview1 | 77 | 07/20/2024 |
| 8.4.0 | 78 | 07/20/2024 |
| 8.3.0 | 83 | 07/20/2024 |
| 8.2.2 | 71 | 07/20/2024 |
| 8.2.1 | 78 | 07/20/2024 |
| 8.2.0 | 74 | 07/20/2024 |
| 8.1.3 | 72 | 07/20/2024 |
| 8.1.2 | 75 | 07/13/2024 |
| 8.1.1 | 79 | 07/20/2024 |
| 8.1.0 | 66 | 07/20/2024 |
| 8.0.101 | 76 | 07/13/2024 |
| 8.0.100 | 85 | 07/20/2024 |
| 8.0.0 | 82 | 07/16/2024 |
| 8.0.0-rc1 | 93 | 07/20/2024 |
| 8.0.0-preview4 | 74 | 07/20/2024 |
| 8.0.0-preview3 | 82 | 07/20/2024 |
| 8.0.0-preview2 | 64 | 07/20/2024 |
| 8.0.0-preview1 | 71 | 07/20/2024 |
| 7.6.105 | 76 | 07/20/2024 |
| 7.6.104 | 71 | 07/20/2024 |
| 7.6.103 | 87 | 07/20/2024 |
| 7.6.102 | 71 | 07/20/2024 |
| 7.6.101 | 70 | 07/20/2024 |
| 7.6.0 | 67 | 07/20/2024 |
| 7.6.0-preview1 | 76 | 07/20/2024 |
| 7.5.2 | 67 | 07/20/2024 |
| 7.5.0 | 74 | 07/20/2024 |
| 7.4.0 | 80 | 07/20/2024 |
| 7.3.4 | 76 | 07/20/2024 |
| 7.3.3 | 68 | 07/16/2024 |
| 7.3.2 | 71 | 07/20/2024 |
| 7.3.1 | 73 | 07/20/2024 |
| 7.3.0-beta3 | 74 | 07/20/2024 |
| 7.3.0-beta2 | 79 | 07/20/2024 |
| 7.3.0-beta1 | 74 | 07/20/2024 |
| 7.2.1 | 72 | 07/20/2024 |
| 7.2.0 | 78 | 07/20/2024 |
| 7.2.0-beta3 | 70 | 07/20/2024 |
| 7.2.0-beta2 | 71 | 07/20/2024 |
| 7.2.0-beta1 | 73 | 07/20/2024 |
| 7.1.1 | 72 | 07/20/2024 |
| 7.1.0 | 92 | 07/20/2024 |
| 7.1.0-beta1 | 68 | 07/12/2024 |
| 7.0.3 | 86 | 07/20/2024 |
| 7.0.2 | 76 | 07/20/2024 |
| 7.0.0 | 66 | 07/20/2024 |
| 7.0.0-beta3 | 85 | 07/20/2024 |
| 7.0.0-beta2 | 93 | 07/20/2024 |
| 7.0.0-beta1 | 70 | 07/20/2024 |
| 6.4.0 | 72 | 06/30/2024 |
| 6.4.0-rc4 | 77 | 07/20/2024 |
| 6.4.0-rc3 | 79 | 07/20/2024 |
| 6.4.0-rc2 | 0 | 01/30/2017 |
| 6.4.0-rc1 | 0 | 01/30/2017 |
| 6.4.0-beta9 | 0 | 11/21/2016 |
| 6.4.0-beta8 | 0 | 10/31/2016 |
| 6.4.0-beta7 | 0 | 10/28/2016 |
| 6.4.0-beta6 | 0 | 10/25/2016 |
| 6.4.0-beta5 | 0 | 10/24/2016 |
| 6.4.0-beta4 | 0 | 10/21/2016 |
| 6.4.0-beta3 | 0 | 07/04/2016 |
| 6.4.0-beta2 | 0 | 07/01/2016 |
| 6.4.0-beta10 | 0 | 01/30/2017 |
| 6.4.0-beta1 | 0 | 06/28/2016 |