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.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.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.1.1.
Release notes
Sourced from FluentValidation's releases.
Changelog
Sourced from FluentValidation's changelog.
Commits
d06577d
Bump version and update changelogd37d15f
Fix the issue that the ChildRules will corrupt the RuleSets of a validator pa...e201af7
Update advanced.mdcedd78e
Add bulgarian translations (#1973)3494233
Update aspnet docs1936a56
Update aspnet docs7604dc9
Switch to file-scoped namespaces3c02999
Fix some doc links0f215b6
Simplify test platforms & CIeb0ea33
CleanupDependabot 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)