Update fluentvalidation to 11.11.0 #2355
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
11.10.0
->11.11.0
11.10.0
->11.11.0
Release Notes
JeremySkinner/fluentvalidation (FluentValidation)
v11.11.0
Compare Source
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.AspNetCore
package has been moved to a separate repository and is now versioned and released separately. These release notes now only apply to the coreFluentValidation
package. ForFluentValidation.AspNetCore
release notes, please visit the FluentValidation.AspNetCore repository.Changes in 11.11.0
Changes in 11.10.0
Changes in 11.9.2
ScalePrecisionValidator
error message clarification (#2211)Changes in 11.9.1
Changes in 11.9.0
NullReferenceException
(#2152)RuleFor(x => x)
) (#2168)AddValidatorsFromAssemblyContaining
from registering validators twice (#2182)Changes in 11.8.1
Changes in 11.8.0
AbstractValidator.OnRuleAdded
to allow customization of rule instances after creation (#2114)Changes in 11.7.1
Changes in 11.7.0
Changes in 11.6.0
Changes in 11.5.2
Changes in 11.5.1
AbstractValidator.EnsureInstanceNotNull
(See #2069 for migration steps)Transform
andTransformAsync
methods (See #2072 for migration steps)Changes in 11.5.0
Changes in 11.4.0
ScalePrecision
validator and introducePrecisionScale
validator as its replacement (#2030)Changes in 11.3.0
StringSyntaxAttribute.Regex
in net7 builds (#1957)Changes in 11.2.2
MemberNameValidatorSelector
should make use ofPropertyNameResolver
when parsing expressions (#2003)Changes in 11.2.1
Only()
not taking into account parent-level unmatched failures (#1986)Changes in 11.2.0
Include
calls with theMemberNameValidatorSelector
(#1989)Changes in 11.1.1
Changes in 11.1.0
ToDictionary
method toValidationResult
(particularly useful when working with Minimal APIs)-InjectValidator
(#1960)IValidatorFactory
andServiceProviderValidatorFactory
(#1961)services.AddFluentValidationAutoValidation()
andservices.AddFluentValidationClientsideAdapters()
as replacements forservices.AddFluentValidation()
(#1965)Changes in 11.0.3
AsyncValidatorInvokedSynchronouslyException
being incorrectly thrown when the top-levelWhen
method withRuleForEach
, even when invoked asynchronously (#1955)Changes in 11.0.2
ValidationResult
using System.Text.Json (#1928)Changes in 11.0.1
With*
andWithout*
assertion methods (#1937)Changes in 11.0
RunDefaultMvcValidationAfterFluentValidationExecutes
option from ASP.NET integration.Options
property from RuleComponent.PropertyValidator
backwards compatibility layer.Only()
to the test helper asserting that no other validation errors were raised.Downloads
Binaries can be downloaded from nuget:
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.