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

Bump FluentValidation.DependencyInjectionExtensions from 9.0.1 to 9.1.2 #34

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps FluentValidation.DependencyInjectionExtensions from 9.0.1 to 9.1.2.

Release notes

Sourced from FluentValidation.DependencyInjectionExtensions'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.DependencyInjectionExtensions's changelog.

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

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 13, 2020
@github-actions github-actions bot added this to the v0.1.0 milestone Aug 13, 2020
@david-driscoll david-driscoll added the :shipit: merge Shipit! label Aug 14, 2020
@rsg-bot
Copy link
Contributor

rsg-bot commented Aug 14, 2020

@dependabot squash and merge

@github-actions github-actions bot removed the .NET label Aug 14, 2020
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 19, 2020

Looks like FluentValidation.DependencyInjectionExtensions is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Aug 19, 2020
@dependabot dependabot bot deleted the dependabot/nuget/FluentValidation.DependencyInjectionExtensions-9.1.2 branch August 19, 2020 03:06
@github-actions github-actions bot removed this from the v0.1.0 milestone Aug 19, 2020
@david-driscoll david-driscoll removed the :shipit: merge Shipit! label May 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants