Bump FluentValidation.DependencyInjectionExtensions from 10.4.0 to 11.2.0
Bumps FluentValidation.DependencyInjectionExtensions from 10.4.0 to 11.2.0.
Release notes
Sourced from FluentValidation.DependencyInjectionExtensions's releases.
11.2.0
Release notes
Please read the upgrade guide if you are moving from 10.x to 11.x
Note that the after 11.1.0 release, the
FluentValidation.AspNetCorepackage has been moved to a separate repository and is now versioned and released separately. These release notes now only apply to the coreFluentValidationpackage. ForFluentValidation.AspNetCorerelease notes, please visit the FluentValidation.AspNetCore repository.Changes in 11.2.0
- Resolve issue with unexpected results when with nested Include calls with the MemberNameValidatorSelector (#1989)
- Add a new Selector Factory for the Composite Selector (#1988)
Changes in 11.1.1
- Fix issue with incorrect rulesets being executed in a child validator when combined with ChildRules (#1981)
- Bulgarian translations of default messages (#1973)
Changes in 11.1.0
- Added a
ToDictionarymethod toValidationResult(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
IValidatorFactoryandServiceProviderValidatorFactory(#1961)- Introduce
services.AddFluentValidationAutoValidation()andservices.AddFluentValidationClientsideAdapters()as replacements forservices.AddFluentValidation()(#1965)- Remove duplication between sync and async validation in the internal model.
Changes in 11.0.3
- Fix
AsyncValidatorInvokedSynchronouslyExceptionbeing incorrectly thrown when the top-levelWhenmethod withRuleForEach, 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
ValidationResultusing System.Text.Json (#1928)Changes in 11.0.1
- Fix regression in the Test Helper affecting the
With*andWithout*assertion methods (#1937)Changes in 11.0
- Throw exceptions when async validator is invoked synchronously (#1705)
- Removal deprecated OnFailure/OnAnyFailure callbacks.
- Remove deprecated
RunDefaultMvcValidationAfterFluentValidationExecutesoption from ASP.NET integration.- Remove deprecated
Optionsproperty from RuleComponent.- Remove deprecated TestHelper methods.
- Remove non-generic
PropertyValidatorbackwards 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:
- FluentValidation - Main package
- FluentValidation.AspNetCore - ASP.NET Core integration
... (truncated)
Changelog
Sourced from FluentValidation.DependencyInjectionExtensions's changelog.
11.2.0 - 8 August 2022 Resolve issue with unexpected results when with nested Include calls with the MemberNameValidatorSelector (#1989) Add a new Selector Factory for the Composite Selector (#1988)
11.1.1 - 6 August 2022 Fix issue with incorrect rulesets being executed in a child validator when combined with ChildRules (#1981) Bulgarian translations of default messages (#1973)
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
f8003f1Add a factory method for creating the CompositeValidatorSelector (#1988)41ca856Resolve issue with unexpected results when with nested Include calls with the...6be268aSwitch to file scoped namespacesd06577dBump version and update changelogd37d15fFix the issue that the ChildRules will corrupt the RuleSets of a validator pa...e201af7Update advanced.mdcedd78eAdd bulgarian translations (#1973)3494233Update aspnet docs1936a56Update aspnet docs7604dc9Switch to file-scoped namespaces- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Superseded by #766.