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 core FluentValidation package. For FluentValidation.AspNetCore release notes, please visit the FluentValidation.AspNetCore repository.
Changes in 11.2.2
MemberNameValidatorSelector should make use of PropertyNameResolver when parsing expressions (#2003)
Changes in 11.2.1
Fix test helper Only() not taking into account parent-level unmatched failures (#1986)
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 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 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)
11.2.2 - 11 September 2022
MemberNameValidatorSelector should make use of PropertyNameResolver when parsing expressions (#2003)
11.2.1 - 28 August 2022
Fix test helper .Only() not taking into account parent-level unmatched failures (#1986)
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)
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)
Bumps FluentValidation from 11.1.0 to 11.2.2.
Release notes
Sourced from FluentValidation's releases.
... (truncated)
Changelog
Sourced from FluentValidation's changelog.
Commits
c39536a
Update changelog29b99ec
MemberNameValidatorSelector should make use of PropertyNameResolver when pars...b6b7faa
Update built-in-validators.mdadf5b00
Update aspnet.md: remove redundant validity check3635387
Fixes variable name for Minimal API example (#1999)36b81c5
Tidy up assertion helperb9c9442
Update version and changelog9c0c587
Fix test helper .Only() not taking into account parent-level unmatched failur...3943248
Initial Test Helper cleanupd3725b7
Update Minimal APIs documentation (#1994)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)