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

Bump FluentValidation.AspNetCore from 9.1.1 to 9.1.2#363

Merged
dependabot[bot] merged 1 commit intomasterfrom
dependabot/nuget/FluentValidation.AspNetCore-9.1.2
Aug 14, 2020
Merged

Bump FluentValidation.AspNetCore from 9.1.1 to 9.1.2#363
dependabot[bot] merged 1 commit intomasterfrom
dependabot/nuget/FluentValidation.AspNetCore-9.1.2

Conversation

@dependabot
Copy link
Contributor

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

Bumps FluentValidation.AspNetCore from 9.1.1 to 9.1.2.

Release notes

Sourced from FluentValidation.AspNetCore's releases.

9.1.2

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();
</tr></table> ... (truncated)

Changelog

Sourced from FluentValidation.AspNetCore's changelog.

9.1.2 - 12 August 2020 Make the ValidationContext.ThrowOnFailures getter public.

Commits
  • 27eff58 Make ValidationContext.ThrowOnFailures public and bump version
  • 0573482 linux build.sh should run pwsh not powershell
  • 2083813 Fix typos in built-in-validators.md
  • See full diff in compare view

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 13, 2020
@github-actions github-actions bot added this to the v7.0.0 milestone Aug 13, 2020
@codecov
Copy link

codecov bot commented Aug 13, 2020

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #363   +/-   ##
=======================================
  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 87aa9ec...b732e15. Read the comment docs.

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

rsg-bot commented Aug 14, 2020

@dependabot squash and merge

@dependabot dependabot bot merged commit 22d6dab into master Aug 14, 2020
@dependabot dependabot bot deleted the dependabot/nuget/FluentValidation.AspNetCore-9.1.2 branch August 14, 2020 21:11
@mergify mergify bot removed the :shipit: merge Shipit! label Aug 14, 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