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.3.0
Add a net7 build
Annotate string parameters with StringSyntaxAttribute.Regex in net7 builds (#1957)
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.3.0 - 10 Nov 2022
Annotate string parameters with StringSyntaxAttribute.Regex in net7 builds (#1957)
Fixes to SourceLink integration (#2019)
Add Uzbek Latin and Cyrillic languages (#2013)
Updates to Danish language (#2012)
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.2.2 to 11.3.0.
Release notes
Sourced from FluentValidation's releases.
... (truncated)
Changelog
Sourced from FluentValidation's changelog.
Commits
84462a6
Update changelog and bump version6fd09b3
.NET 7 updates (#1968)0c2ff0e
Update aspnet.mdea0026f
Remove notice referencing old version of FV73265df
Make Dutch translations more consistent.4ea9c0d
Fix SourceLink MSBuild flags (#2019)4adfb52
Uzbek Latin and Cyrillic languages added.1c7cf0f
Update DanishLanguage.csDependabot 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)