NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet, #57 most downloaded on NuGet
A validation library for .NET that uses a fluent interface to construct strongly-typed validation rules.
Latest stable
12.2.0
Last release 1 months ago
10 Oct 2026
Release timing varies
gaps range from 4 weeks to 10 months
Nearly every release is documented
notes for 59 of the last 60 stable releases
15 versions withdrawn
withdrawn after publishing
127 years old
192 releases · first in 1900
Drag across the ruler to compare, or tap a release to open it.
Resolved issue in AspNetCore integration where the change made in 7.3.3 meant that child collections were incorrectly skipped for DataAnnotations-base
Resolved issue in AspNetCore integration where the change made in 7.3.3 meant that child collections were incorrectly skipped for DataAnnotations-based validation, as well as FV
Resolved issue in AspNetCore integration where child collections were incorrectly validated by the ModelValidatorProvider
Resolved issue in AspNetCore integration where child collections were incorrectly validated by the ModelValidatorProvider
Added CancellationToken support to child validators
Added CancellationToken support to child validators
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
Major improvements to the AspNetCore integration including better collection support and optional support for implicit validators Marked ValidationExc
Major improvements to the AspNetCore integration including better collection support and optional support for implicit validators Marked ValidationException as serializable when running on full framework Updated EnumValidator's Flags support to handle the ~0 value Fixed TestHelper checking for child validator would respond with the wrong type Updated translations for some validators and fixed some incorrect language codes Fixed overload of WithName that takes a lambda. Updated version of the Czech translations Added versions of WhenAsync and UnlessAsync that support CancellationTokens Simplify calls to DependentRules Add Skip property to CustomizeValidatorAttribute in the ASP.NET Core integration Updated language translations for various error messages.
Nothing published for this version
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
Updated AspNetCore integration to support IValidatableObject Updated AspNetCore integration to allow mixing multiple validation strategies in the same
Updated AspNetCore integration to support IValidatableObject Updated AspNetCore integration to allow mixing multiple validation strategies in the same model Updated AspNetCore integration to work with RulesetForClientsideMessagesAttribute, like MVC5 Resolved issue with auto generating property names for nested types in the CustomValidator when using AddFailure Resolved issue where Custom sync/async invocation caused a NullReferenceException Resolved an issue with AspNetCore clientside integration being resolved from the root-level service provider Allow string.Empty in OverridePropertyName
Nothing published for this version
Nothing published for this version
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
…the MaxLengthValidator and MinLengthValidator *Breaking change* Signature change of PropertyValidator.CustomStateProvider Add new RuleFor().Custom val…
Merged pull request - improved messages in ShouldHaveChildValidator test extension Merged pull request - test helper works with nested properties Added additional overload of WithState that accepts a property value Fixed StringLengthFluentValidationPropertyValidator generating the wrong comparison values when used in conjunction with the MaxLengthValidator and MinLengthValidator Breaking change Signature change of PropertyValidator.CustomStateProvider Add new RuleFor().Custom validator method as a replacement of the root-level Custom method AssemblyScanner now excludes abstract and generic types. Resolve issue with InvalidCastException when using lazy WithMessage with RuleForEach
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
Various fixes to clientside validation in asp.net core
Various fixes to clientside validation in asp.net core
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
Switch to Netstandard based build process Deprecated IResourceAccessorBuilder and merged the functionality into LocalizedStringSource Deprecated all u…
Switch to Netstandard based build process Deprecated IResourceAccessorBuilder and merged the functionality into LocalizedStringSource Deprecated all uses of expression-based localization. Use resourcename/resourcetype instead Resolved issue with possible NullReferenceException in the AspNetCore clientside integration for length validators Don't clear the ModelValidatorProviders collection by default in the AspNetCore integration (added new ClearValidatorProviders property to control this behaviour) Assemblies are now signed AssemblyVersion is no longer automatically incremented to avoid binding redirects Removed the old FluentValidation.snk and replaced with FluentValidation-dev.snk (nuget releases use a separate snk not stored in git) Ensure IValidatorFactory is resolved from request scope in asp.net core integration Rewrote the localization support not to require satellite assemblies Fix issue in WebApi integration where a property getter that throws an exception causes validation to fail Fix issue in AspNetCore integration where we tried to resolve a collection validator in some situations where a class validator should be used Improve SplitPascalCase method to support uppercase character sequences ValidationResult.ErrorCode property now always returns the type of the PropertyValidator that generated the message, unless it's been explicitly overridden Fix incorrect clientside validation attributes generated for email validator and credit card validator in the asp.net core integration Fix child model validation in webapi integration
Nothing published for this version
Nothing published for this version
Nothing published for this version
Resolve issue where the accessor cache would incorrectly cache certain expressions on method calls that return members Added the ability to disable th
Resolve issue where the accessor cache would incorrectly cache certain expressions on method calls that return members Added the ability to disable the accessor cache
Nothing published for this version
AspNetCore support Performance improvements for validatior instantiation EnumValidator supports Flags Add ValidationSeverity Add support for collectio
AspNetCore support Performance improvements for validatior instantiation EnumValidator supports Flags Add ValidationSeverity Add support for collection validators on model-level rules Fixes/cleanup to RegexValidator and LengthValidator Async validators should run dependent rules Clearer exception message when passing a null instance into the root-level Validate method Additional overloads and clarity for WithMessage/WithLocalizedMessage overloads
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
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
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
Make ChildValidatorAdaptor.GetValidator public Make some of the private methods in FluentValidationModelValdiatorProvider protected instead of private
Make ChildValidatorAdaptor.GetValidator public Make some of the private methods in FluentValidationModelValdiatorProvider protected instead of private ValidatorSelectors are now globally configurable through ValidatorOptions.ValidatorSelectors ValidatorSelectors can be overridden within the CustomizeValidatorAttribute Added "Include" statement Switched "dotnet" nuget library to uap10.0 Add Enum validator
Nothing published for this version
Overload of ValidateAndThrow supports rulesets. Separate PCL to support Universal Win10 apps
Overload of ValidateAndThrow supports rulesets. Separate PCL to support Universal Win10 apps
Fix issue with TestHelper not using correct overload.
Fix issue with TestHelper not using correct overload.
Nothing published for this version
Core - Fixed DelegateValidator causes a deadlock when running an async function synchronously. Core - Fixed Equal/NotEqual not working with structs Co
Core - Fixed DelegateValidator causes a deadlock when running an async function synchronously. Core - Fixed Equal/NotEqual not working with structs Core - Additional overload of SetValidator that takes a validatorProvider Core - Additional overloads for Length and Matches that take a func for accessing comparison properties Core - ValidationContext.IsChildContext is now public Core - Add support for non-integer indexers in child collections Core - Added Empty and Null validators (opposite of NotEmpty and NotNull) Core - Add ErrorCode property Core - Add support for Dependent Rules Async - Added support for cancellation tokens Async - Add support for conditionals Async - Allow model-level rules with ValidateAsync Localization - added translations for Polish and simple Chinese Localization - Fixed name of Czech resource file MVC/WebApi - Allow ValidatorAttribute on method parameters WebApi - Add support for AddToModelState
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
Patch - Added properties to Error that can be used to build customized message. Fixed issue where setting global resource provider isn't propogated to
Patch - Added properties to Error that can be used to build customized message. Fixed issue where setting global resource provider isn't propogated to metadata, breaking client-side messages in some situations. Patch - allow spaces in credit card numbers Added Support model level-rules with RuleFor(x => x) Fixed issue with PropertyChain not handling nulls/empty strings properly Added support for rule dependencies Added ValidatorDescriptor.GetRulesByRuleset
Patch - Added optional RuleSet arguments to the validation test extensions. Patch - Support MVC4/5 client-side validation for GreaterThanOrEqualToVali
Patch - Added optional RuleSet arguments to the validation test extensions. Patch - Support MVC4/5 client-side validation for GreaterThanOrEqualToValidator Patch - Support MVC4/5 client-side validation for LessThanOrEqualValidator Patch - Remove duplication in Min/MaxFluentValidationPropertyValidator Patch - Async validation for ChildCollectionValidatorAdaptor Update nuget package for wpa81
Applied patch - Danish translation
Fix issue https://fluentvalidation.codeplex.com/workitem/7183 (email address validation)
Added Czech and Finish translation of default error messages
Applied pull request: Apply the same display name resolving to the target property as to the source property.
Display name is now lazily-loaded by default (as a result, localization via DisplayAttribute now works correctly)
Add portable class library and deprecate the Silverlight-specific projects
One column per quarter.