Skip to content

Bump FluentValidation.DependencyInjectionExtensions from 10.4.0 to 11.1.0

Created by: dependabot[bot]

Bumps FluentValidation.DependencyInjectionExtensions from 10.4.0 to 11.1.0.

Release notes

Sourced from FluentValidation.DependencyInjectionExtensions's releases.

11.1.0

Release notes

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

Changes in 11.1.0

  • Added a ToDictionary method to ValidationResult (particularly useful when working with Minimal APIs)-
  • MVC auto validation: Deprecated Implicit validation of child properties (#1960)
  • MVC auto validation: Deprecated Implicit validation of root collection elements (#1960)
  • Deprecated InjectValidator (#1960)
  • Deprecated IValidatorFactory and ServiceProviderValidatorFactory (#1961)
  • Introduce services.AddFluentValidationAutoValidation() and services.AddFluentValidationClientsideAdapters() as replacements for services.AddFluentValidation() (#1965)
  • Remove duplication between sync and async validation in the internal model.

Changes in 11.0.3

  • Fix AsyncValidatorInvokedSynchronouslyException being incorrectly thrown when the top-level When method with RuleForEach, even when invoked asynchronously (#1955)

Changes in 11.0.2

  • Child validator contexts now contain a reference to their parent context (#1945)
  • Support deserialization of ValidationResult using System.Text.Json (#1928)

Changes in 11.0.1

  • Fix regression in the Test Helper affecting the With* and Without* assertion methods (#1937)

Changes in 11.0

  • Throw exceptions when async validator is invoked synchronously (#1705)
  • Removal deprecated OnFailure/OnAnyFailure callbacks.
  • Remove deprecated RunDefaultMvcValidationAfterFluentValidationExecutes option from ASP.NET integration.
  • Remove deprecated Options property from RuleComponent.
  • Remove deprecated TestHelper methods.
  • Remove non-generic PropertyValidator backwards compatibility layer.
  • Add method Only() to the test helper asserting that no other validation errors were raised.
  • Ensure property covariance is properly handled throughout the internal model (#1713)

Downloads

Binaries can be downloaded from nuget:

11.0.3

Release notes

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

Changes in 11.0.3

  • Fix AsyncValidatorInvokedSynchronouslyException being incorrectly thrown when the top-level When method with RuleForEach, even when invoked asynchronously (#1955)

Changes in 11.0.2

... (truncated)

Changelog

Sourced from FluentValidation.DependencyInjectionExtensions's changelog.

11.1.0 - 22 June 2022 Added a ToDictionary method to ValidationResult MVC auto validation: Deprecated Implicit validation of child properties (#1960) MVC auto validation: Deprecated Implicit validation of root collection elements (#1960) Deprecated InjectValidator (#1960) Deprecate validator factories (#1961) Introduce services.AddFluentValidationAutoValidation() and services.AddFluentValidationClientsideAdapters() as replacements for services.AddFluentValidation() (#1965) Remove duplication between sync and async validation in the internal model.

11.0.3 - 10 June 2022 Fix an issue where an exception would be thrown when calling ValidateAsync if a rule was wrapped with a call to WhenAsync. (#1955)

11.0.2 - 27 May 2022 Child validator contexts should contain a reference to their parent context (#1945) Support deserialization of ValidationResult using System.Text.Json (#1928)

11.0.1 - 7 May 2022 Fix regression in the Test Helper affecting the With* and Without* assertion methods (#1937)

11.0.0 - 30 Apr 2022 Ensure property covariance is properly handled throughout the internal model (#1713) Throw exceptions when async validator is invoked synchronously (#1705) Removal deprecated OnFailure/OnAnyFailure callbacks. Remove deprecated RunDefaultMvcValidationAfterFluentValidationExecutes option from ASP.NET integration. Remove deprecated Options property from RuleComponent. Remove deprecated TestHelper methods. Remove PropertyValidator backwards compatibility layer. Add method Only() asserting that no other validation errors were raised.

Commits
  • 3ac7d18 Update changelog
  • a24ed7b Add ToDictionary method to ValidationResult for ease of use when working with...
  • 9dd102b Switch to using ValueTask for internal rule execution, and remove duplicated ...
  • 0569aea Deprecate various methods on FluentValidationMvcConfiguration in favour of th...
  • 08b6643 Documentation updates
  • 28d5024 Deprecate IValidatorFactory
  • d59b8f5 Fix build and update changelog
  • 21f8a07 Deprecate various MVC features (InjectValidator, implicit validation) - see #...
  • bcd387c Cleanup asp.net test project
  • 64e80cb Tidy up AsyncValidatorInvokedSynchronouslyException handling
  • 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)

Merge request reports