All Versions
29
Latest Version
Avg Release Cycle
37 days
Latest Release
596 days ago

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:

  • 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 with When 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:

  • v8.4.0

    May 10, 2019