Skip to content
This repository was archived by the owner on Dec 11, 2020. It is now read-only.

Bump FluentValidation from 9.0.1 to 9.1.1#358

Merged
dependabot[bot] merged 1 commit intomasterfrom
dependabot/nuget/FluentValidation-9.1.1
Aug 12, 2020
Merged

Bump FluentValidation from 9.0.1 to 9.1.1#358
dependabot[bot] merged 1 commit intomasterfrom
dependabot/nuget/FluentValidation-9.1.1

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 10, 2020

Bumps FluentValidation from 9.0.1 to 9.1.1.

Release notes

Sourced from FluentValidation's releases.

9.1.1

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();
});

Changelog

Sourced from FluentValidation's changelog.

9.1.1 - 8 August 2020 Update StopOnFirstFailure deprecation message.

9.1 - 8 August 2020 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) 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) Add new Validate extension methods that allow options to be configured using a strategy (#1467)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

Dependabot will merge this PR once CI passes on it, as requested by @rsg-bot.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually

@dependabot dependabot bot added .NET 📦 dependencies Pull requests that update a dependency file labels Aug 10, 2020
@github-actions github-actions bot added this to the v7.0.0 milestone Aug 10, 2020
@codecov
Copy link

codecov bot commented Aug 10, 2020

Codecov Report

Merging #358 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #358   +/-   ##
=======================================
  Coverage   12.64%   12.64%           
=======================================
  Files          20       20           
  Lines         435      435           
  Branches       50       50           
=======================================
  Hits           55       55           
  Misses        380      380           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fcf4b60...a9cb49c. Read the comment docs.

@david-driscoll david-driscoll added the :shipit: merge Shipit! label Aug 12, 2020
@rsg-bot
Copy link

rsg-bot commented Aug 12, 2020

@dependabot squash and merge

@dependabot dependabot bot merged commit ca57b49 into master Aug 12, 2020
@dependabot dependabot bot deleted the dependabot/nuget/FluentValidation-9.1.1 branch August 12, 2020 03:12
@mergify mergify bot removed the :shipit: merge Shipit! label Aug 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

📦 dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants