All Versions
29
Latest Version
Avg Release Cycle
37 days
Latest Release
1046 days ago
Changelog History
Page 2
Changelog History
Page 2
-
v9.0-preview4
April 22, 2020 -
v9.0-preview3
February 29, 2020 -
v9.0-preview2 Changes
February 21, 2020๐ Release notes
โฌ๏ธ Please read the upgrade guide for full details: https://docs.fluentvalidation.net/en/latest/upgrading-to-9.html
๐ Changes since 9.0-preview1
Transform
can now be used to transform a property value to another type prior to validation occurring- โ Added
WithMessageArgument
to test helper extensions - โ Added Slovenian translations of default error messages.
- ๐ Fixes/better handling of the non-generic overloads of
AbstractValidator.Validate
- โ Removed the deprecated
FluentValidation.Internal.Comparer
TrackingCollection
has been marked as internal- โก๏ธ Updated to latest version of Microsoft.NETFramework.ReferenceAssemblies for building net4x targets on non-windows platforms.
Downloads
Binaries can be downloaded from nuget:
- ๐ฆ FluentValidation - Main package
- ๐ฆ FluentValidation.AspNetCore - ASP.NET Core integration
-
v9.0-preview1
February 08, 2020 -
v8.6.3
August 28, 2020 -
v8.6.1
December 28, 2019 -
v8.6.0
December 04, 2019 -
v8.5.1
November 02, 2019 -
v8.5.0 Changes
September 24, 2019๐ Release notes
- โ Add support for ASP.NET Core 3.
- โ Add ASP.NET Core-compatible version of the email address validator.
- โ Simplify the advanced test-helper syntax.
- โ Add support for defining child rules inline when using
RuleForEach
. 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 withWhen
has more intuitive behaviour. - ๐ Fixed order of rule execution when using async validation.
Of these new features, the main one to note is the new
ChildRules
syntax. When defining a rule against a collection of complex types, rules for the child properties can be defined directly inline rather than having to use a child validator:public class CustomerValidator : AbstractValidator\<Customer\> { public CustomerValidator() { RuleForEach(x =\> x.Orders).ChildRules(order =\> { order.RuleFor(x =\> x.ProductName).NotNull(); order.RuleFor(x =\> x.Amount).GreaterThan(0); }); } }
Downloads
Binaries can be downloaded from nuget:
- ๐ฆ FluentValidation - Main package
- ๐ฆ FluentValidation.AspNetCore - ASP.NET Core integration
- ๐ฆ FluentValidation.WebApi - Legacy ASP.NET Web Api 2 integration (deprecated)
- ๐ฆ FluentValidation.Mvc5 - Legacy ASP.NET MVC 5 integration (deprecated)
-
v8.4.0
May 10, 2019