Skip to content

Bump FluentValidation from 10.1.0 to 10.2.1#145

Merged
Matthiee merged 1 commit intomasterfrom
dependabot/nuget/FluentValidation-10.2.1
May 31, 2021
Merged

Bump FluentValidation from 10.1.0 to 10.2.1#145
Matthiee merged 1 commit intomasterfrom
dependabot/nuget/FluentValidation-10.2.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 31, 2021

Bumps FluentValidation from 10.1.0 to 10.2.1.

Release notes

Sourced from FluentValidation's releases.

10.2.1

Release notes

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

Changes in 10.2.1

  • Optional internal type registration should work with AddFluentValidation as well as directly on the service collection (#1748)

Changes in 10.2.0

  • Fix display name generation should be consistent between RuleForEach and RuleFor.ForEach (#1231)
  • Allow AddFluentValidation to be called directly on IServiceCollection (#1726)
  • Throw exception when calling ValidateAndThrow even if PreValidate prevents further validation (#1736)
  • ValidationException now includes rule severity (#1733)
  • Optionally support internal types when scanning assemblies for validators (#1742)
  • Deprecate RunDefaultMvcValidationAfterFluentValidationExecutes in MVC configuration. Use DisableDataAnnotationsValidation instead.

Changes in 10.1.0

  • Allow default severity level to be set globally (#1715)
  • Extend use of variance into the internal API to resolve invalid cast exceptions in some scenarios (#1711)
  • Fix clientside metadata being incorrectly generated for cross-property LessThanOrEqual/GreaterThanOrEqual (#1721)

Changes in 10.0.4

  • Resolved an issue where async conditions were run synchronously when applied to synchronous property validators

Changes in 10.0.3

  • Fix ArgumentOutOfRangeException when condition returns false for RuleForEach containing multiple components (#1698)

Changes in 10.0.2

  • ErrorCode is now exposed on IRuleComponent

Changes in 10.0.1

  • Add GetPropertyValue to IValidationRule to support #1688
  • Context object is now strongly typed inside IValidationRule<T>.ApplyCondition/ApplyAsyncCondition for users of the internal API

Changes in 10.0.0

  • Various performance improvements throughout the library
  • Collection rules now only iterate the collection once
  • Property validator classes are now generic
  • Deprecated non-generic PropertyValidator.
  • Changed type of ValidationResult.Errors from IList<ValidationFailure> to List<ValidationFailure>
  • The internal API now uses generics.
  • Various property validator options have been seperated into RuleComponents.
  • Various parts of the internal API are now internal (PropertyRule, CollectionPropertyRule etc).
  • ValidatorDescriptor now returns rule components in various places, where PropertyValidators were previously returned
  • Default service lifetime in ASP.NET projects is now Scoped rather than Transient.
  • Combined IActionContextValidatorInterceptor and IValidatorInterceptor.
  • Changes to the ASP.NET Client Validator Adaptor interfaces. These now receive the rule component.
  • Removed deprecated IStringSource and its inheritors.
  • Removed deprecated FormattedMessageArguments from ValidationFailure.
  • Removed other deprecated code.

... (truncated)

Changelog

Sourced from FluentValidation's changelog.

10.2.1 - 30 May 2021 Optional internal type registration should work with MVC registration (#1748)

10.2.0 - 28 May 2021 Display name generation should be consistent between RuleForEach and RuleFor.ForEach (#1231) Allow AddFluentValidation to be called directly on IServiceCollection (#1726) Throw exception on ValidateAndThrow even if PreValidate prevents further Validation (#1736) ValidationException now includes rule severity (#1733) Optionally support internal types when scanning assemblies for validators (#1742) Deprecate RunDefaultMvcValidationAfterFluentValidationExecutes in MVC configuration. Use DisableDataAnnotationsValidation instead.

Commits
  • ede6057 Revert doc change, update changelog.
  • 17620dc Add missing includeInternalTypes parameter to MVC validator scanning (#1748)
  • f0de9ab Update aspnet.md
  • ce98d9c Bump version
  • 2f910f6 Deprecate RunDefaultMvcValidationAfterFluentValidationExecutes in favour of D...
  • ec05354 Update blazor docs
  • f565117 Update issue templates
  • 41bfcdc Remove some old test extensions
  • c68d8d3 Remove unused test extension
  • 1c5a554 Throw exception on ValidateAndThrow even if PreValidate prevents further Vali...
  • 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 dependabot Bot added the dependencies Pull requests that update a dependency file label May 31, 2021
@dependabot dependabot Bot requested a review from Matthiee May 31, 2021 06:05
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

Merging #145 (bf0da58) into master (2b0848f) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #145   +/-   ##
=======================================
  Coverage   87.58%   87.58%           
=======================================
  Files          53       53           
  Lines        1651     1651           
  Branches      307      307           
=======================================
  Hits         1446     1446           
  Misses        124      124           
  Partials       81       81           

@Matthiee Matthiee merged commit 2ea5cf3 into master May 31, 2021
@Matthiee Matthiee deleted the dependabot/nuget/FluentValidation-10.2.1 branch May 31, 2021 15:08
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