New: your coding agent can read the release notes before it upgrades. Set up the MCP server →
NuGet
ASP.NET WebApi integration for FluentValidation
Last release 7 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 5 months
Most releases are documented
notes for 28 of 45 stable releases
2 versions withdrawn
withdrawn after publishing
127 years old
59 releases · first in 1900
Add explicit netcoreapp3.1 target to ASP.NET Core integration.
Add explicit netcoreapp3.1 target to ASP.NET Core integration.
Add support for ASP.NET Core 3.1 Fixed issue with property indexers being incorrectly stripped out when using test extensions. AddToModelState no long
Add support for ASP.NET Core 3.1 Fixed issue with property indexers being incorrectly stripped out when using test extensions. AddToModelState no longer includes a dot if PropertyName is null
One column per quarter.
Ensure lazily loaded calls to WithMessage can be used for client-side validation, provided they don't attempt to access model properties from inside t
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). Fix issue where OnFailure didn't work properly when invoked on validators with conditions.
Add ASP.NET Core-compatible version of the email address validator. Simplify the advanced testhelper syntax. Add support for ASP.NET Core 3. Add suppo
Add ASP.NET Core-compatible version of the email address validator. Simplify the advanced testhelper syntax. Add support for ASP.NET Core 3. Add support for defining child rules inline. ValidatorDescriptor now has consistent handling of model-level rules. RuleForEach can now access collection index in error message with {CollectionIndex} placeholder. Welsh language translations of default error messages. Hungrian language translations of default error messages. Indonesian language translations of default error messages. Using RuleForEach combined with When is now more intuitive. Fixed order of rule execution when using async validation.
Added simplified version of several messages across all translations to aid with ASP.NET Clientside validation. New enum validator for string properti
Added simplified version of several messages across all translations to aid with ASP.NET Clientside validation. New enum validator for string properties.
Improved how calls to When/Unless are handled internally. DelegatingValidator is now marked as deprecated. Improvements to Croatian language translati…
Fix issue in ASP.NET Core integration with GetServiceProvider not working correctly when invoked against a CustomContext/MessageBuilderContext. Improved how LanguageStringSource works with error-code overrides. Fix thread-safety issue with use of PropertyValidatorOptions.Empty (now removed). Improved how calls to When/Unless are handled internally. DelegatingValidator is now marked as deprecated. Improvements to Croatian language translations. Improvements to Georgian language translations. Resolved subtle bug where top-level WhenAsync wouldn't work correctly when wrapping a top-level call to When.
Fix issue with WebApi integration where DataAnnotations validation could generate duplicate messages when used in the same project as FluentValidation
Fix issue with WebApi integration where DataAnnotations validation could generate duplicate messages when used in the same project as FluentValidation.
Add extensions for injecting child validators using the ASP.NET Core Service Provider. WithLocalizedMessage is deprecated. Use the overload of WithMes…
Add extensions for injecting child validators using the ASP.NET Core Service Provider. WithLocalizedMessage is deprecated. Use the overload of WithMessage that takes a Func instead. Implement RuleFor(...).ForEach(...) as an alternative to RuleForEach
Resolved issue where clientside validation was incorrectly generating metadata for rules with shared conditions. ScalePrecisionValidator now has a pub
Resolved issue where clientside validation was incorrectly generating metadata for rules with shared conditions. ScalePrecisionValidator now has a public method in the fluent interface. Fix placeholder names in ScalePrecisionValidator for consistency. Updates to Portuguese (Brazil) translations.
Fix the same issue from 8.1.1 but for async conditions. Fix issue where shared When/Unless conditions didn't execute correctly when used with RuleForE
Fix the same issue from 8.1.1 but for async conditions. Fix issue where shared When/Unless conditions didn't execute correctly when used with RuleForEach.
Added RuleSetsExecuted property to ValidationResult. Fix issue with shared condition cache incorrectly caching when used with RuleForEach.
Added RuleSetsExecuted property to ValidationResult. Fix issue with shared condition cache incorrectly caching when used with RuleForEach.
Added format support for message placeholders. Added support for overriding indexers for collection rules. Allow ErrorCode to be used to override loca
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.
Added Greek language translation. Resolved an issue where Cascade and Transform couldn't be used with RuleForEach
Added Greek language translation. Resolved an issue where Cascade and Transform couldn't be used with RuleForEach
IStringSource.GetString now takes a context. Major cleanup of asynchronous validation workflow. Deprecate SetCollectionValidator in favour of RuleForE…
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.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Added Albanian language translations Added Chinese Traditional language translation Fix #858 ValidationTestExtension.When() incorrectly checks each fa
Added Albanian language translations Added Chinese Traditional language translation Fix #858 ValidationTestExtension.When() incorrectly checks each failure instead of all failures
Added AbstractValidator.PreValidate to allow immediate cancellation of validation.
Added AbstractValidator.PreValidate to allow immediate cancellation of validation.
Using [BindProperty] in AspNetCore now works when implicit child validation is disabled. ShouldHaveChildValidator now works when the child validator i
Using [BindProperty] in AspNetCore now works when implicit child validation is disabled. ShouldHaveChildValidator now works when the child validator is inside a DependentRules block. Test helpers are now compatible with custom property name resolvers set using ValidatorOptions.PropertyNameResolver. Switched to embedded debug symbols.
Fixed a regression where calling ValidateAsync with RuleForEach would no longer execute tasks sequentially (#799).
Fixed a regression where calling ValidateAsync with RuleForEach would no longer execute tasks sequentially (#799).
Added support for RuleForEach to the testing extensions (#238). Fixed a regression where calling ValidateAsync with RuleForEach could cause a deadlock
Added support for RuleForEach to the testing extensions (#238). Fixed a regression where calling ValidateAsync with RuleForEach could cause a deadlock (#799). Added ToString overrides on ValidationResult to generate a string representation of all errors (#778). Updated logos thanks to Dylan Beattie (#780).
Nothing published for this version
Support multiple rulesets on a rule. Make setters on ValidationFailure's properties public to allow for easier deserialization. Additional overload fo
Support multiple rulesets on a rule. Make setters on ValidationFailure's properties public to allow for easier deserialization. Additional overload for OverridePropertyName that takes an expression. Add overload of Include that lazily creates the inner validator. Allow replacing the default Error Code resolution process
Support CustomizeValidatorAttribute in WebApi integration Resolved issues with referencing FluentValidation from legacy PCLs.
Support CustomizeValidatorAttribute in WebApi integration Resolved issues with referencing FluentValidation from legacy PCLs.
Nothing published for this version
Nothing published for this version
Introduce MessageFormatterFactory Additional language translations Additional checks to ensure HttpContext is registered
Introduce MessageFormatterFactory Additional language translations Additional checks to ensure HttpContext is registered
Nothing published for this version
Resolved issue where incorrect property name was generated when using RuleForEach combined with SetValidator Resolved an issue where nesting async val
Resolved issue where incorrect property name was generated when using RuleForEach combined with SetValidator Resolved an issue where nesting async validators inside DependentRules didn't wait for completion
Nothing published for this version
Nothing published for this version
Added missing overload for WithMessage Ensure LanguageManager.Culture takes precedence over the current thread's culture
Added missing overload for WithMessage Ensure LanguageManager.Culture takes precedence over the current thread's culture
Improve message for MinimumLength and MaximumLength validators in English (other translations would be welcome). Added FluentValidationModelValidatorP
Improve message for MinimumLength and MaximumLength validators in English (other translations would be welcome). Added FluentValidationModelValidatorProvider.DisableDiscoveryOfPropertyValidators for backwards compatibility
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fix DependentRules not working inside a top-level call to When Fix enum validator to work correctly with nullable enums
Fix DependentRules not working inside a top-level call to When Fix enum validator to work correctly with nullable enums
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fix issue with TestHelper not using correct overload.
Fix issue with TestHelper not using correct overload.
Nothing published for this version
Nothing published for this version
RegExValidator can now use a special {RegularExpression} placeholder in its error message. Fix two crashes when using the PCL build Fix issue with Get
RegExValidator can now use a special {RegularExpression} placeholder in its error message. Fix two crashes when using the PCL build Fix issue with GetAssembly
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →