Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency FluentValidation to v9.5.4 #214

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Sep 7, 2020

Mend Renovate

This PR contains the following updates:

Package Type Update Change
FluentValidation (source) nuget minor 9.0.1 -> 9.5.4

Release Notes

JeremySkinner/fluentvalidation

v9.5.4

Compare Source

Release notes

Please read the upgrade guide if you are moving from 8.x to 9.x

Changes in 9.5.4
  • Fix Serbian translation of error messages (#​1683)
  • Add Vietnamese translations of error messages (#​1677)
Changes in 9.5.3
  • Fix Swedish translation for CreditCardValidator (#​1664)
Changes in 9.5.2
  • Fix Dutch translation of some errors (#​1653)
  • Fix string equality comparison in WithCustomState extension (#​1658)
Changes in 9.5.1
  • Fix incorrect wording in deprecation message for Transform (#​1613)
  • Fix ScalePrecision validator being available in intellisense for non-decimal properties.
  • Expose additional overload of Transform that receives the root object in the transformer.
Changes in 9.5.0
  • Introduce new syntax for applying transformations and deprecate the old syntax (#​1613)
Changes in 9.4.0
  • ChildRules now work as expected when inside a ruleset (#​1597)
  • Added ImplicitlyValidateRootCollectionElements option to MVC integration (#​1585)
Changes in 9.3.0
  • Support for .NET 5 and ASP.NET Core 5
  • Improvements to LanguageManager's lazy loading of resources.
  • Deprecate IStringSource and its implementors. Use delegates instead.
  • CustomizeValidatorAttribute now works in Razor pages (netcore 3.1 and net 5.0 only) (#​1541)
  • RuleSetForClientSideMessagesAttribute now works in Razor pages (netcore 3.1 and net 5.0 only) (#​1544)
  • Fixes to Spanish translations.
Changes in 9.2.2
  • Fix one of the inheritance validator overloads not working correctly (#​1528)
Changes 9.2.1
  • Add non-generic extensibility point to inheritance validator
  • Updates to Persian translations (#​1513)
  • Added Bengali translations (#​1517)
Changes in 9.2.0
Changes in 9.1.3
  • Fix an issue with IncludeRulesNotInRuleSet not working correctly (#​1493)
Changes in 9.1.2
  • Make the ValidationContext.ThrowOnFailures getter public.
Changes in 9.1.1
  • Update incorrect wording in CascadeMode.StopOnFirstFailure deprecation warning.
Changes in 9.1.0
  • Add new Validate extension methods that allow options to be configured using a strategy (#​1467)
  • Introduce CascadeMode.Stop and deprecate CascadeMode.StopOnFirstFailure to resolve confusion/abiguity about setting the cascade mode at validator-level (#​1437)
  • RaiseValidationException can be overridden to customize the exception throwing process (#​1162)
  • Make ruleset separator character splitting consistent (#​1424)
  • Transform now works with RuleForEach (#​1450)
  • Introduce constants for rulesets (#​1435)
  • Resolve issue when attempting to use asynchronous conditions in a synchornous validaiton run (#​1438)
  • Added asynchronous versions of the TestHelper methods (#​1423)
Example of using the new validation strategy:
// Validate specific rulesets
validator.Validate(instance, opt => {
  opt.IncludeRuleSets("MyRuleSet", "SomeOtherRuleSet");
  
  // Can also force rules not in a ruleset to be run
  opt.IncludeRulesNotInRuleSet();
});

// Validate specific properties
validator.Validate(instance, opt => {
  opt.IncludeProperties("Forename", "Surname");
  // or
  opt.IncludeProperties(x => x.Surname, x.Forename);
});

// Throw exceptions on failure
validator.Validate(instance, opt => {
   opt.ThrowOnFailures();
});

// Combine various options
validator.Validate(instance, opt => {
  opt.IncludeRuleSets("MyRuleSet", "SomeOtherRuleSet").IncludeRulesNotInRuleSet();
  opt.ThrowOnFailures();
});
Downloads

Binaries can be downloaded from nuget:

v9.5.3

Compare Source

Release notes

Please read the upgrade guide if you are moving from 8.x to 9.x

Changes in 9.5.3
  • Fix Swedish translation for CreditCardValidator (#​1664)
Changes in 9.5.2
  • Fix Dutch translation of some errors (#​1653)
  • Fix string equality comparison in WithCustomState extension (#​1658)
Changes in 9.5.1
  • Fix incorrect wording in deprecation message for Transform (#​1613)
  • Fix ScalePrecision validator being available in intellisense for non-decimal properties.
  • Expose additional overload of Transform that receives the root object in the transformer.
Changes in 9.5.0
  • Introduce new syntax for applying transformations and deprecate the old syntax (#​1613)
Changes in 9.4.0
  • ChildRules now work as expected when inside a ruleset (#​1597)
  • Added ImplicitlyValidateRootCollectionElements option to MVC integration (#​1585)
Changes in 9.3.0
  • Support for .NET 5 and ASP.NET Core 5
  • Improvements to LanguageManager's lazy loading of resources.
  • Deprecate IStringSource and its implementors. Use delegates instead.
  • CustomizeValidatorAttribute now works in Razor pages (netcore 3.1 and net 5.0 only) (#​1541)
  • RuleSetForClientSideMessagesAttribute now works in Razor pages (netcore 3.1 and net 5.0 only) (#​1544)
  • Fixes to Spanish translations.
Changes in 9.2.2
  • Fix one of the inheritance validator overloads not working correctly (#​1528)
Changes 9.2.1
  • Add non-generic extensibility point to inheritance validator
  • Updates to Persian translations (#​1513)
  • Added Bengali translations (#​1517)
Changes in 9.2.0
Changes in 9.1.3
  • Fix an issue with IncludeRulesNotInRuleSet not working correctly (#​1493)
Changes in 9.1.2
  • Make the ValidationContext.ThrowOnFailures getter public.
Changes in 9.1.1
  • Update incorrect wording in CascadeMode.StopOnFirstFailure deprecation warning.
Changes in 9.1.0
  • Add new Validate extension methods that allow options to be configured using a strategy (#​1467)
  • Introduce CascadeMode.Stop and deprecate CascadeMode.StopOnFirstFailure to resolve confusion/abiguity about setting the cascade mode at validator-level (#​1437)
  • RaiseValidationException can be overridden to customize the exception throwing process (#​1162)
  • Make ruleset separator character splitting consistent (#​1424)
  • Transform now works with RuleForEach (#​1450)
  • Introduce constants for rulesets (#​1435)
  • Resolve issue when attempting to use asynchronous conditions in a synchornous validaiton run (#​1438)
  • Added asynchronous versions of the TestHelper methods (#​1423)
Example of using the new validation strategy:
// Validate specific rulesets
validator.Validate(instance, opt => {
  opt.IncludeRuleSets("MyRuleSet", "SomeOtherRuleSet");
  
  // Can also force rules not in a ruleset to be run
  opt.IncludeRulesNotInRuleSet();
});

// Validate specific properties
validator.Validate(instance, opt => {
  opt.IncludeProperties("Forename", "Surname");
  // or
  opt.IncludeProperties(x => x.Surname, x.Forename);
});

// Throw exceptions on failure
validator.Validate(instance, opt => {
   opt.ThrowOnFailures();
});

// Combine various options
validator.Validate(instance, opt => {
  opt.IncludeRuleSets("MyRuleSet", "SomeOtherRuleSet").IncludeRulesNotInRuleSet();
  opt.ThrowOnFailures();
});
Downloads

Binaries can be downloaded from nuget:

v9.5.2

Compare Source

Release notes

Please read the upgrade guide if you are moving from 8.x to 9.x

Changes in 9.5.2
  • Fix Dutch translation of some errors (#​1653)
  • Fix string equality comparison in WithCustomState extension (#​1658)
Changes in 9.5.1
  • Fix incorrect wording in deprecation message for Transform (#​1613)
  • Fix ScalePrecision validator being available in intellisense for non-decimal properties.
  • Expose additional overload of Transform that receives the root object in the transformer.
Changes in 9.5.0
  • Introduce new syntax for applying transformations and deprecate the old syntax (#​1613)
Changes in 9.4.0
  • ChildRules now work as expected when inside a ruleset (#​1597)
  • Added ImplicitlyValidateRootCollectionElements option to MVC integration (#​1585)
Changes in 9.3.0
  • Support for .NET 5 and ASP.NET Core 5
  • Improvements to LanguageManager's lazy loading of resources.
  • Deprecate IStringSource and its implementors. Use delegates instead.
  • CustomizeValidatorAttribute now works in Razor pages (netcore 3.1 and net 5.0 only) (#​1541)
  • RuleSetForClientSideMessagesAttribute now works in Razor pages (netcore 3.1 and net 5.0 only) (#​1544)
  • Fixes to Spanish translations.
Changes in 9.2.2
  • Fix one of the inheritance validator overloads not working correctly (#​1528)
Changes 9.2.1
  • Add non-generic extensibility point to inheritance validator
  • Updates to Persian translations (#​1513)
  • Added Bengali translations (#​1517)
Changes in 9.2.0
Changes in 9.1.3
  • Fix an issue with IncludeRulesNotInRuleSet not working correctly (#​1493)
Changes in 9.1.2
  • Make the ValidationContext.ThrowOnFailures getter public.
Changes in 9.1.1
  • Update incorrect wording in CascadeMode.StopOnFirstFailure deprecation warning.
Changes in 9.1.0
  • Add new Validate extension methods that allow options to be configured using a strategy (#​1467)
  • Introduce CascadeMode.Stop and deprecate CascadeMode.StopOnFirstFailure to resolve confusion/abiguity about setting the cascade mode at validator-level (#​1437)
  • RaiseValidationException can be overridden to customize the exception throwing process (#​1162)
  • Make ruleset separator character splitting consistent (#​1424)
  • Transform now works with RuleForEach (#​1450)
  • Introduce constants for rulesets (#​1435)
  • Resolve issue when attempting to use asynchronous conditions in a synchornous validaiton run (#​1438)
  • Added asynchronous versions of the TestHelper methods (#​1423)
Example of using the new validation strategy:
// Validate specific rulesets
validator.Validate(instance, opt => {
  opt.IncludeRuleSets("MyRuleSet", "SomeOtherRuleSet");
  
  // Can also force rules not in a ruleset to be run
  opt.IncludeRulesNotInRuleSet();
});

// Validate specific properties
validator.Validate(instance, opt => {
  opt.IncludeProperties("Forename", "Surname");
  // or
  opt.IncludeProperties(x => x.Surname, x.Forename);
});

// Throw exceptions on failure
validator.Validate(instance, opt => {
   opt.ThrowOnFailures();
});

// Combine various options
validator.Validate(instance, opt => {
  opt.IncludeRuleSets("MyRuleSet", "SomeOtherRuleSet").IncludeRulesNotInRuleSet();
  opt.ThrowOnFailures();
});
Downloads

Binaries can be downloaded from nuget:

v9.5.1

Compare Source

Release notes

Please read the upgrade guide if you are moving from 8.x to 9.x

Changes in 9.5.1
  • Fix incorrect wording in deprecation message for Transform (#​1613)
  • Fix ScalePrecision validator being available in intellisense for non-decimal properties.
  • Expose additional overload of Transform that receives the root object in the transformer.
Changes in 9.5.0
  • Introduce new syntax for applying transformations and deprecate the old syntax (#​1613)
Changes in 9.4.0
  • ChildRules now work as expected when inside a ruleset (#​1597)
  • Added ImplicitlyValidateRootCollectionElements option to MVC integration (#​1585)
Changes in 9.3.0
  • Support for .NET 5 and ASP.NET Core 5
  • Improvements to LanguageManager's lazy loading of resources.
  • Deprecate IStringSource and its implementors. Use delegates instead.
  • CustomizeValidatorAttribute now works in Razor pages (netcore 3.1 and net 5.0 only) (#​1541)
  • RuleSetForClientSideMessagesAttribute now works in Razor pages (netcore 3.1 and net 5.0 only) (#​1544)
  • Fixes to Spanish translations.
Changes in 9.2.2
  • Fix one of the inheritance validator overloads not working correctly (#​1528)
Changes 9.2.1
  • Add non-generic extensibility point to inheritance validator
  • Updates to Persian translations (#​1513)
  • Added Bengali translations (#​1517)
Changes in 9.2.0
Changes in 9.1.3
  • Fix an issue with IncludeRulesNotInRuleSet not working correctly (#​1493)
Changes in 9.1.2
  • Make the ValidationContext.ThrowOnFailures getter public.
Changes in 9.1.1
  • Update incorrect wording in CascadeMode.StopOnFirstFailure deprecation warning.
Changes in 9.1.0
  • Add new Validate extension methods that allow options to be configured using a strategy (#​1467)
  • Introduce CascadeMode.Stop and deprecate CascadeMode.StopOnFirstFailure to resolve confusion/abiguity about setting the cascade mode at validator-level (#​1437)
  • RaiseValidationException can be overridden to customize the exception throwing process (#​1162)
  • Make ruleset separator character splitting consistent (#​1424)
  • Transform now works with RuleForEach (#​1450)
  • Introduce constants for rulesets (#​1435)
  • Resolve issue when attempting to use asynchronous conditions in a synchornous validaiton run (#​1438)
  • Added asynchronous versions of the TestHelper methods (#​1423)
Example of using the new validation strategy:
// Validate specific rulesets
validator.Validate(instance, opt => {
  opt.IncludeRuleSets("MyRuleSet", "SomeOtherRuleSet");
  
  // Can also force rules not in a ruleset to be run
  opt.IncludeRulesNotInRuleSet();
});

// Validate specific properties
validator.Validate(instance, opt => {
  opt.IncludeProperties("Forename", "Surname");
  // or
  opt.IncludeProperties(x => x.Surname, x.Forename);
});

// Throw exceptions on failure
validator.Validate(instance, opt => {
   opt.ThrowOnFailures();
});

// Combine various options
validator.Validate(instance, opt => {
  opt.IncludeRuleSets("MyRuleSet", "SomeOtherRuleSet").IncludeRulesNotInRuleSet();
  opt.ThrowOnFailures();
});
Downloads

Binaries can be downloaded from nuget:

v9.5.0

Compare Source

Release notes

Please read the upgrade guide if you are moving from 8.x to 9.x

Changes in 9.5.0
  • Introduce new syntax for applying transformations and deprecate the old syntax (#​1613)
Changes in 9.4.0
  • ChildRules now work as expected when inside a ruleset (#​1597)
  • Added ImplicitlyValidateRootCollectionElements option to MVC integration (#​1585)
Changes in 9.3.0
  • Support for .NET 5 and ASP.NET Core 5
  • Improvements to LanguageManager's lazy loading of resources.
  • Deprecate IStringSource and its implementors. Use delegates instead.
  • CustomizeValidatorAttribute now works in Razor pages (netcore 3.1 and net 5.0 only) (#​1541)
  • RuleSetForClientSideMessagesAttribute now works in Razor pages (netcore 3.1 and net 5.0 only) (#​1544)
  • Fixes to Spanish translations.
Changes in 9.2.2
  • Fix one of the inheritance validator overloads not working correctly (#​1528)
Changes 9.2.1
  • Add non-generic extensibility point to inheritance validator
  • Updates to Persian translations (#​1513)
  • Added Bengali translations (#​1517)
Changes in 9.2.0
Changes in 9.1.3
  • Fix an issue with IncludeRulesNotInRuleSet not working correctly (#​1493)
Changes in 9.1.2
  • Make the ValidationContext.ThrowOnFailures getter public.
Changes in 9.1.1
  • Update incorrect wording in CascadeMode.StopOnFirstFailure deprecation warning.
Changes in 9.1.0
  • Add new Validate extension methods that allow options to be configured using a strategy (#​1467)
  • Introduce CascadeMode.Stop and deprecate CascadeMode.StopOnFirstFailure to resolve confusion/abiguity about setting the cascade mode at validator-level (#​1437)
  • RaiseValidationException can be overridden to customize the exception throwing process (#​1162)
  • Make ruleset separator character splitting consistent (#​1424)
  • Transform now works with RuleForEach (#​1450)
  • Introduce constants for rulesets (#​1435)
  • Resolve issue when attempting to use asynchronous conditions in a synchornous validaiton run (#​1438)
  • Added asynchronous versions of the TestHelper methods (#​1423)
Example of using the new validation strategy:
// Validate specific rulesets
validator.Validate(instance, opt => {
  opt.IncludeRuleSets("MyRuleSet", "SomeOtherRuleSet");
  
  // Can also force rules not in a ruleset to be run
  opt.IncludeRulesNotInRuleSet();
});

// Validate specific properties
validator.Validate(instance, opt => {
  opt.IncludeProperties("Forename", "Surname");
  // or
  opt.IncludeProperties(x => x.Surname, x.Forename);
});

// Throw exceptions on failure
validator.Validate(instance, opt => {
   opt.ThrowOnFailures();
});

// Combine various options
validator.Validate(instance, opt => {
  opt.IncludeRuleSets("MyRuleSet", "SomeOtherRuleSet").IncludeRulesNotInRuleSet();
  opt.ThrowOnFailures();
});
Downloads

Binaries can be downloaded from nuget:

v9.4.0

Compare Source

Release notes

Please read the upgrade guide if you are moving from 8.x to 9.x

Changes in 9.4.0
  • ChildRules now work as expected when inside a ruleset (#​1597)
  • Added ImplicitlyValidateRootCollectionElements option to MVC integration (#​1585)
Changes in 9.3.0
  • Support for .NET 5 and ASP.NET Core 5
  • Improvements to LanguageManager's lazy loading of resources.
  • Deprecate IStringSource and its implementors. Use delegates instead.
  • CustomizeValidatorAttribute now works in Razor pages (netcore 3.1 and net 5.0 only) (#​1541)
  • RuleSetForClientSideMessagesAttribute now works in Razor pages (netcore 3.1 and net 5.0 only) (#​1544)
  • Fixes to Spanish translations.
Changes in 9.2.2
  • Fix one of the inheritance validator overloads not working correctly (#​1528)
Changes 9.2.1
  • Add non-generic extensibility point to inheritance validator
  • Updates to Persian translations (#​1513)
  • Added Bengali translations (#​1517)
Changes in 9.2.0
Changes in 9.1.3
  • Fix an issue with IncludeRulesNotInRuleSet not working correctly (#​1493)
Changes in 9.1.2
  • Make the ValidationContext.ThrowOnFailures getter public.
Changes in 9.1.1
  • Update incorrect wording in CascadeMode.StopOnFirstFailure deprecation warning.
Changes in 9.1.0
  • Add new Validate extension methods that allow options to be configured using a strategy (#​1467)
  • Introduce CascadeMode.Stop and deprecate CascadeMode.StopOnFirstFailure to resolve confusion/abiguity about setting the cascade mode at validator-level (#​1437)
  • RaiseValidationException can be overridden to customize the exception throwing process (#​1162)
  • Make ruleset separator character splitting consistent (#​1424)
  • Transform now works with RuleForEach (#​1450)
  • Introduce constants for rulesets (#​1435)
  • Resolve issue when attempting to use asynchronous conditions in a synchornous validaiton run (#​1438)
  • Added asynchronous versions of the TestHelper methods (#​1423)
Example of using the new validation strategy:
// Validate specific rulesets
validator.Validate(instance, opt => {
  opt.IncludeRuleSets("MyRuleSet", "SomeOtherRuleSet");
  
  // Can also force rules not in a ruleset to be run
  opt.IncludeRulesNotInRuleSet();
});

// Validate specific properties
validator.Validate(instance, opt => {
  opt.IncludeProperties("Forename", "Surname");
  // or
  opt.IncludeProperties(x => x.Surname, x.Forename);
});

// Throw exceptions on failure
validator.Validate(instance, opt => {
   opt.ThrowOnFailures();
});

// Combine various options
validator.Validate(instance, opt => {
  opt.IncludeRuleSets("MyRuleSet", "SomeOtherRuleSet").IncludeRulesNotInRuleSet();
  opt.ThrowOnFailures();
});
Downloads

Binaries can be downloaded from nuget:

v9.3.0

Compare Source

Release notes

Please read the upgrade guide if you are moving from 8.x to 9.x

Changes in 9.3.0
  • Support for .NET 5 and ASP.NET Core 5
  • Improvements to LanguageManager's lazy loading of resources.
  • Deprecate IStringSource and its implementors. Use delegates instead.
  • CustomizeValidatorAttribute now works in Razor pages (netcore 3.1 and net 5.0 only) (#​1541)
  • RuleSetForClientSideMessagesAttribute now works in Razor pages (netcore 3.1 and net 5.0 only) (#​1544)
  • Fixes to Spanish translations.
Changes in 9.2.2
  • Fix one of the inheritance validator overloads not working correctly (#​1528)
Changes 9.2.1
  • Add non-generic extensibility point to inheritance validator
  • Updates to Persian translations (#​1513)
  • Added Bengali translations (#​1517)
Changes in 9.2.0
Changes in 9.1.3
  • Fix an issue with IncludeRulesNotInRuleSet not working correctly (#​1493)
Changes in 9.1.2
  • Make the ValidationContext.ThrowOnFailures getter public.
Changes in 9.1.1
  • Update incorrect wording in CascadeMode.StopOnFirstFailure deprecation warning.
Changes in 9.1.0
  • Add new Validate extension methods that allow options to be configured using a strategy (#​1467)
  • Introduce CascadeMode.Stop and deprecate CascadeMode.StopOnFirstFailure to resolve confusion/abiguity about setting the cascade mode at validator-level (#​1437)
  • RaiseValidationException can be overridden to customize the exception throwing process (#​1162)
  • Make ruleset separator character splitting consistent (#​1424)
  • Transform now works with RuleForEach (#​1450)
  • Introduce constants for rulesets (#​1435)
  • Resolve issue when attempting to use asynchronous conditions in a synchornous validaiton run (#​1438)
  • Added asynchronous versions of the TestHelper methods (#​1423)
Example of using the new validation strategy:
// Validate specific rulesets
validator.Validate(instance, opt => {
  opt.IncludeRuleSets("MyRuleSet", "SomeOtherRuleSet");
  
  // Can also force rules not in a ruleset to be run
  opt.IncludeRulesNotInRuleSet();
});

// Validate specific properties
validator.Validate(instance, opt => {
  opt.IncludeProperties("Forename", "Surname");
  // or
  opt.IncludeProperties(x => x.Surname, x.Forename);
});

// Throw exceptions on failure
validator.Validate(instance, opt => {
   opt.ThrowOnFailures();
});

// Combine various options
validator.Validate(instance, opt => {
  opt.IncludeRuleSets("MyRuleSet", "SomeOtherRuleSet").IncludeRulesNotInRuleSet();
  opt.ThrowOnFailures();
});
Downloads

Binaries can be downloaded from nuget:

v9.2.2

Compare Source

Release notes

Please read the upgrade guide if you are moving from 8.x to 9.x

Changes in 9.2.2
  • Fix one of the inheritance validator overloads not working correctly (#​1528)
Changes 9.2.1
  • Add non-generic extensibility point to inheritance validator
  • Updates to Persian translations (#​1513)
  • Added Bengali translations (#​1517)
Changes in 9.2.0
Changes in 9.1.3
  • Fix an issue with IncludeRulesNotInRuleSet not working correctly (#​1493)
Changes in 9.1.2
  • Make the ValidationContext.ThrowOnFailures getter public.
Changes in 9.1.1
  • Update incorrect wording in CascadeMode.StopOnFirstFailure deprecation warning.
Changes in 9.1.0
  • Add new Validate extension methods that allow options to be configured using a strategy (#​1467)
  • Introduce CascadeMode.Stop and deprecate CascadeMode.StopOnFirstFailure to resolve confusion/abiguity about setting the cascade mode at validator-level (#​1437)
  • RaiseValidationException can be overridden to customize the exception throwing process (#​1162)
  • Make ruleset separator character splitting consistent (#​1424)
  • Transform now works with RuleForEach (#​1450)
  • Introduce constants for rulesets (#​1435)
  • Resolve issue when attempting to use asynchronous conditions in a synchornous validaiton run (#​1438)
  • Added asynchronous versions of the TestHelper methods (#​1423)
Example of using the new validation strategy:
// Validate specific rulesets
validator.Validate(instance, opt => {
  opt.IncludeRuleSets("MyRuleSet", "SomeOtherRuleSet");
  
  // Can also force rules not in a ruleset to be run
  opt.IncludeRulesNotInRuleSet();
});

// Validate specific properties
validator.Validate(instance, opt => {
  opt.IncludeProperties("Forename", "Surname");
  // or
  opt.IncludeProperties(x => x.Surname, x.Forename);
});

// Throw exceptions on failure
validator.Validate(instance, opt => {
   opt.ThrowOnFailures();
});

// Combine various options
validator.Validate(instance, opt => {
  opt.IncludeRuleSets("MyRuleSet", "SomeOtherRuleSet").IncludeRulesNotInRuleSet();
  opt.ThrowOnFailures();
});
Downloads

Binaries can be downloaded from nuget:

v9.2.1

Compare Source

Release notes

Please read the upgrade guide if you are moving from 8.x to 9.x

Changes 9.2.1
  • Add non-generic extensibility point to inheritance validator
  • Updates to Persian translations (#​1513)
  • Added Bengali translations (#​1517)
Changes in 9.2.0
Changes in 9.1.3
  • Fix an issue with IncludeRulesNotInRuleSet not working correctly (#​1493)
Changes in 9.1.2
  • Make the ValidationContext.ThrowOnFailures getter public.
Changes in 9.1.1
  • Update incorrect wording in CascadeMode.StopOnFirstFailure deprecation warning.
Changes in 9.1.0
  • Add new Validate extension methods that allow options to be configured using a strategy (#​1467)
  • Introduce CascadeMode.Stop and deprecate CascadeMode.StopOnFirstFailure to resolve confusion/abiguity about setting the cascade mode at validator-level (#​1437)
  • RaiseValidationException can be overridden to customize the exception throwing process (#​1162)
  • Make ruleset separator character splitting consistent (#​1424)
  • Transform now works with RuleForEach (#​1450)
  • Introduce constants for rulesets (#​1435)
  • Resolve issue when attempting to use asynchronous conditions in a synchornous validaiton run (#​1438)
  • Added asynchronous versions of the TestHelper methods (#​1423)
Example of using the new validation strategy:
// Validate specific rulesets
validator.Validate(instance, opt => {
  opt.IncludeRuleSets("MyRuleSet", "SomeOtherRuleSet");
  
  // Can also force rules not in a ruleset to be run
  opt.IncludeRulesNotInRuleSet();
});

// Validate specific properties
validator.Validate(instance, opt => {
  opt.IncludeProperties("Forename", "Surname");
  // or
  opt.IncludeProperties(x => x.Surname, x.Forename);
});

// Throw exceptions on failure
validator.Validate(instance, opt => {
   opt.ThrowOnFailures();
});

// Combine various options
validator.Validate(instance, opt => {
  opt.IncludeRuleSets("MyRuleSet", "SomeOtherRuleSet").IncludeRulesNotInRuleSet();
  opt.ThrowOnFailures();
});
Downloads

Binaries can be downloaded from nuget:

v9.2.0

Compare Source

Release notes

Please read the upgrade guide if you are moving from 8.x to 9.x

Changes in 9.2.0
Changes in 9.1.3
  • Fix an issue with IncludeRulesNotInRuleSet not working correctly (#​1493)
Changes in 9.1.2
  • Make the ValidationContext.ThrowOnFailures getter public.
Changes in 9.1.1
  • Update incorrect wording in CascadeMode.StopOnFirstFailure deprecation warning.
Changes in 9.1.0
  • Add new Validate extension methods that allow options to be configured using a strategy (#​1467)
  • Introduce CascadeMode.Stop and deprecate CascadeMode.StopOnFirstFailure to resolve confusion/abiguity about setting the cascade mode at validator-level (#​1437)
  • RaiseValidationException can be overridden to customize the exception throwing process (#​1162)
  • Make ruleset separator character splitting consistent (#​1424)
  • Transform now works with RuleForEach (#​1450)
  • Introduce constants for rulesets (#​1435)
  • Resolve issue when attempting to use asynchronous conditions in a synchornous validaiton run (#​1438)
  • Added asynchronous versions of the TestHelper methods (#​1423)
Example of using the new validation strategy:
// Validate specific rulesets
validator.Validate(instance, opt => {
  opt.IncludeRuleSets("MyRuleSet", "SomeOtherRuleSet");
  
  // Can also force rules not in a ruleset to be run
  opt.IncludeRulesNotInRuleSet();
});

// Validate specific properties
validator.Validate(instance, opt => {
  opt.IncludeProperties("Forename", "Surname");
  // or
  opt.IncludeProperties(x => x.Surname, x.Forename);
});

// Throw exceptions on failure
validator.Validate(instance, opt => {
   opt.ThrowOnFailures();
});

// Combine various options
validator.Validate(instance, opt => {
  opt.IncludeRuleSets("MyRuleSet", "SomeOtherRuleSet").IncludeRulesNotInRuleSet();
  opt.ThrowOnFailures();
});
Downloads

Binaries can be downloaded from nuget:

v9.1.3

Compare Source

Release notes

Please read the upgrade guide if you are moving from 8.x to 9.x

Changes in 9.1.3

  • Fix an issue with IncludeRulesNotInRuleSet not working correctly (#​1493)

Changes in 9.1.2

  • Make the ValidationContext.ThrowOnFailures getter public.

Changes in 9.1.1

  • Update incorrect wording in CascadeMode.StopOnFirstFailure deprecation warning.

Changes in 9.1.0

  • Add new Validate extension methods that allow options to be configured using a strategy (#​1467)
  • Introduce CascadeMode.Stop and deprecate CascadeMode.StopOnFirstFailure to resolve confusion/abiguity about setting the cascade mode at validator-level (#​1437)
  • RaiseValidationException can be overridden to customize the exception throwing process (#​1162)
  • Make ruleset separator character splitting consistent (#​1424)
  • Transform now works with RuleForEach (#​1450)
  • Introduce constants for rulesets (#​1435)
  • Resolve issue when attempting to use asynchronous conditions in a synchornous validaiton run (#​1438)
  • Added asynchronous versions of the TestHelper methods (#​1423)
Example of using the new validation strategy:
// Validate specific rulesets
validator.Validate(instance, opt => {
  opt.IncludeRuleSets("MyRuleSet", "SomeOtherRuleSet");
  
  // Can also force rules not in a ruleset to be run
  opt.IncludeRulesNotInRuleSet();
});

// Validate specific properties
validator.Validate(instance, opt => {
  opt.IncludeProperties("Forename", "Surname");
  // or
  opt.IncludeProperties(x => x.Surname, x.Forename);
});

// Throw exceptions on failure
validator.Validate(instance, opt => {
   opt.ThrowOnFailures();
});

// Combine various options
validator.Validate(instance, opt => {
  opt.IncludeRuleSets("MyRuleSet", "SomeOtherRuleSet").IncludeRulesNotInRuleSet();
  opt.ThrowOnFailures();
});

Downloads

Binaries can be downloaded from nuget:

v9.1.2

Compare Source

Release notes

Please read the upgrade guide if you are moving from 8.x to 9.x

Changes in 9.1.2

  • Make the ValidationContext.ThrowOnFailures getter public.

Changes in 9.1.1

  • Update incorrect wording in CascadeMode.StopOnFirstFailure deprecation warning.

Changes in 9.1.0

  • Add new Validate extension methods that allow options to be configured using a strategy (#​1467)
  • Introduce CascadeMode.Stop and deprecate CascadeMode.StopOnFirstFailure to resolve confusion/abiguity about setting the cascade mode at validator-level (#​1437)
  • RaiseValidationException can be overridden to customize the exception throwing process (#​1162)
  • Make ruleset separator character splitting consistent (#​1424)
  • Transform now works with RuleForEach (#​1450)
  • Introduce constants for rulesets (#​1435)
  • Resolve issue when attempting to use asynchronous conditions in a synchornous validaiton run (#​1438)
  • Added asynchronous versions of the TestHelper methods (#​1423)
Example of using the new validation strategy:
// Validate specific rulesets
validator.Validate(instance, opt => {
  opt.IncludeRuleSets("MyRuleSet", "SomeOtherRuleSet");
  
  // Can also force rules not in a ruleset to be run
  opt.IncludeRulesNotInRuleSet();
});

// Validate specific properties
validator.Validate(instance, opt => {
  opt.IncludeProperties("Forename", "Surname");
  // or
  opt.IncludeProperties(x => x.Surname, x.Forename);
});

// Throw exceptions on failure
validator.Validate(instance, opt => {
   opt.ThrowOnFailures();
});

// Combine various options
validator.Validate(instance, opt => {
  opt.IncludeRuleSets("MyRuleSet", "SomeOtherRuleSet").IncludeRulesNotInRuleSet();
  opt.ThrowOnFailures();
});

Downloads

Binaries can be downloaded from nuget:

v9.1.1

Compare Source

Release notes

Please read the upgrade guide if you are moving from 8.x to 9.x

Changes in 9.1.1
  • Update incorrect wording in CascadeMode.StopOnFirstFailure deprecation warning.
Changes in 9.1.0
  • Add new Validate extension methods that allow options to be configured using a strategy (#​1467)
  • Introduce CascadeMode.Stop and deprecate CascadeMode.StopOnFirstFailure to resolve confusion/abiguity about setting the cascade mode at validator-level (#​1437)
  • RaiseValidationException can be overridden to customize the exception throwing process (#​1162)
  • Make ruleset separator character splitting consistent (#​1424)
  • Transform now works with RuleForEach (#​1450)
  • Introduce constants for rulesets (#​1435)
  • Resolve issue when attempting to use asynchronous conditions in a synchornous validaiton run (#​1438)
  • Added asynchronous versions of the TestHelper methods (#​1423)
Example of using the new validation strategy:
// Validate specific rulesets
validator.Validate(instance, opt => {
  opt.IncludeRuleSets("MyRuleSet", "SomeOtherRuleSet");
  
  // Can also force rules not in a ruleset to be run
  opt.IncludeRulesNotInRuleSet();
});

// Validate specific properties
validator.Validate(instance, opt => {
  opt.IncludeProperties("Forename", "Surname");
  // or
  opt.IncludeProperties(x => x.Surname, x.Forename);
});

// Throw exceptions on failure
validator.Validate(instance, opt => {
   opt.ThrowOnFailures();
});

// Combine various options
validator.Validate(instance, opt => {
  opt.IncludeRuleSets("MyRuleSet", "SomeOtherRuleSet").IncludeRulesNotInRuleSet();
  opt.ThrowOnFailures();
});
Downloads

Binaries can be downloaded from nuget:

v9.1.0

Release notes

Please read the upgrade guide if you are moving from 8.x to 9.x

Changes in 9.1.0
  • Add new Validate extension methods that allow options to be configured using a strategy (#​1467)
  • Introduce CascadeMode.Stop and deprecate CascadeMode.StopOnFirstFailure to resolve confusion/abiguity about setting the cascade mode at validator-level (#​1437)
  • RaiseValidationException can be overridden to customize the exception throwing process (#​1162)
  • Make ruleset separator character splitting consistent (#​1424)
  • Transform now works with RuleForEach (#​1450)
  • Introduce constants for rulesets (#​1435)
  • Resolve issue when attempting to use asynchronous conditions in a synchornous validaiton run (#​1438)
  • Added asynchronous versions of the TestHelper methods (#​1423)
Example of using the new validation strategy:
// Validate specific rulesets
validator.Validate(instance, opt => {
  opt.IncludeRuleSets("MyRuleSet", "SomeOtherRuleSet");
  
  // Can also force rules not in a ruleset to be run
  

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.**Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/iagocavalcante/w3-generator).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yMDIuNCIsInVwZGF0ZWRJblZlciI6IjM1LjkuMCJ9-->

@renovate renovate bot force-pushed the renovate/fluentvalidation-9.x branch from 0dc003e to a265dcb Compare September 19, 2020 10:55
@renovate renovate bot changed the title Update dependency FluentValidation to v9.2.0 Update dependency FluentValidation to v9.2.1 Sep 19, 2020
@renovate renovate bot force-pushed the renovate/fluentvalidation-9.x branch from a265dcb to c24da23 Compare September 20, 2020 13:34
@renovate renovate bot changed the title Update dependency FluentValidation to v9.2.1 Update dependency FluentValidation to v9.2.2 Sep 20, 2020
@renovate renovate bot force-pushed the renovate/fluentvalidation-9.x branch from c24da23 to 2fe75fd Compare November 28, 2020 14:51
@renovate renovate bot changed the title Update dependency FluentValidation to v9.2.2 Update dependency FluentValidation to v9.3.0 Nov 28, 2020
@renovate renovate bot force-pushed the renovate/fluentvalidation-9.x branch from 2fe75fd to 1b38358 Compare January 24, 2021 11:53
@renovate renovate bot changed the title Update dependency FluentValidation to v9.3.0 Update dependency FluentValidation to v9.4.0 Jan 24, 2021
@renovate renovate bot force-pushed the renovate/fluentvalidation-9.x branch from 1b38358 to 98f90b5 Compare February 1, 2021 11:53
@renovate renovate bot changed the title Update dependency FluentValidation to v9.4.0 Update dependency FluentValidation to v9.5.0 Feb 1, 2021
@renovate renovate bot force-pushed the renovate/fluentvalidation-9.x branch from 98f90b5 to 642cb36 Compare April 26, 2021 16:55
@renovate renovate bot changed the title Update dependency FluentValidation to v9.5.0 Update dependency FluentValidation to v9.5.4 Apr 26, 2021
@renovate
Copy link
Author

renovate bot commented Mar 24, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant