FatturaElettronica / FatturaElettronica.Forms

Windows.Forms per FatturaElettronica.NET
http://fatturaelettronicaopensource.org/
Other
4 stars 11 forks source link

Bump FluentValidation from 9.3.0 to 10.2.1 #110

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Bumps FluentValidation from 9.3.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.

10.1.0 - 28 April 2021 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)

10.0.4 - 17 April 2021 Fix a bug where async conditions were sometimes run synchronously.

10.0.3 - 15 April 2021 Fix ArgumentOutOfRangeException when condition returns false for RuleForEach containing multiple components (#1698)

10.0.2 - 9 April 2021 Expose ErrorCode property on IRuleComponent.

10.0.1 - 8 April 2021 Add GetPropertyValue method to IValidationRule Fix context parameter types on IValidationRule.ApplyCondition and ApplyAsyncCondition.

10.0.0 - 6 April 2021 Please review the upgrade guide for 10.0: https://docs.fluentvalidation.net/en/latest/upgrading-to-10.html Performance improvements. Collection rules now only iterate the collection once. Property validators are now generic. Internal API now uses generics. Deprecated non-generic PropertyValidator. 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. Changed type of ValidationResult.Errors from IList to List Default service lifetime is now Scoped rather than Transient. Combine 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.

9.5.4 - 5 April 2021 Fix Serbian translation of error messages (#1683) Add Vietnamese translations of error messages (#1677)

... (truncated)

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 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](https://app.dependabot.com): - 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[bot] commented 3 years ago

Superseded by #111.