Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Bump FluentValidation from 8.0.100 to 9.2.2 #62

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

Conversation

dependabot-preview[bot]
Copy link

Bumps FluentValidation from 8.0.100 to 9.2.2.

Release notes

Sourced from FluentValidation's releases.

9.2.2

Release notes

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

Changes in 9.2.1

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

Changelog

Sourced from FluentValidation's changelog.

9.2.2 - 20 September 2020 Fix one of the inheritance validator overloads not working correctly (#1528)

9.2.1 - 19 September 2020 Add non-generic Add method to inheritance validator. Updates to Persian translations (#1513) Added Bengali translations (#1517)

9.2.0 - 26 August 2020 Add inheritance validator (#1237) Performance improvements.

9.1.3 - 19 August 2020 Fix an issue with IncludeRulesNotInRuleSet not working correctly (#1493)

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)

9.0.1 - 14 July 2020 Fix assembly version was still 8.

9.0 - 6 July 2020 Removed support for netstandard1.1, netstandard1.6 and net45 (net461 still supported) Removed support for unsupported .NET Core versions (2.2 and 3.0). LTS versions are supported (2.1 and 3.1) Default email validation mode now uses the same logic as ASP.NET Core. Previous regex behaviour is opt-in. TestHelper advanced mode now has more features (see https://docs.fluentvalidation.net/en/latest/testing.html#advanced-test-extensions) Equal/NotEqual now perform ordinal comparison when used with string properties Severity can now be set dynamically with a callback Removed WithLocalizedMessage (WithMessage that takes a callback is the replacement) Removed ResourceName from ValidationFailure Removed ResourceName and ResourceType from IStringSource. Removed SetCollectionValidator which was deprecated in 8.0 Removed DelegatingValidator which was deprecated in 8.x. Additional overload of OnAnyFailure that can receive a collection of validation failures Remove DisplayAttribute integration and reference to DataAnnotations. ComparisonProperty placeholder is now formatted like PropertyName Translations of default error messages into other languages are now lazily-loaded

Commits
  • 448180d Remove release workflow. Run manually instead.
  • be6a295 Fix #1528 one of the inheritance validator overloads not working correctly.
  • 6aeb6b6 Bump version number
  • f10d5b7 Update changelog.
  • 2adba70 Add non-generic method to PolymorphicValidator for inheritors to customize.
  • 2e0646e Added Bengali language (#1517)
  • fb93c6c Update PersianLanguage.cs (#1513)
  • d4deb53 Update changelog
  • 1cc1af4 Disable version suffix increment in CI for now
  • 9bb981b Bump version
  • Additional commits viewable 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 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 ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Sep 21, 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.

0 participants