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.9.0
Fix memory leak in NotEmptyValidator/EmptyValidator (#2174)
Add more descriptive error messages if a rule throws a NullReferenceException (#2152)
Add support for caching root parameter expressions (eg RuleFor(x => x)) (#2168)
Prevent AddValidatorsFromAssemblyContaining from registering validators twice (#2182)
Add builds for .net 8
Changes in 11.8.1
Fix unintentional behavioural changes in introduced in the previous release as part of #2158
Changes in 11.8.0
Added AbstractValidator.OnRuleAdded to allow customization of rule instances after creation (#2114)
Fix Serbian translation of LengthValidator (#2147)
11.9.0 - 21 Dec 2023
Fix memory leak in NotEmptyValidator/EmptyValidator (#2174)
Add more descriptive error messages if a rule throws a NullReferenceException (#2152)
Add support for caching root parameter expressions (eg RuleFor(x => x)) (#2168)
Add builds for .net 8
Prevent AddValidatorsFromAssemblyContaining from registering validators twice (#2182)
11.8.1 - 22 Nov 2023
Fix unintentional behavioural changes in introduced in the previous release as part of #2158
11.8.0 - 19 Oct 2023
Added AbstractValidator.OnRuleAdded to allow customization of rule instances after creation (#2114)
Fix Serbian translation of LengthValidator (#2147)
Fix chinese culture codes (#2151)
Add Khmer translations (#2155)
Various performance improvements (#2158)
Fix ChildRules with class hierarchies (#2165)
11.7.1 - 12 Aug 2023
Resolved issue with combining multiple ValidationResult instances where RuleSetsExecuted wasn't properly set on the combined result (#2125)
11.6.0 - 4 Jul 2023
Add OnFailurecCreated callback in ValidatorOptions.Global (#2120)
Fix typo in Russian localization (#2102)
Add Tajik language (#2108)
Fixed some typos in Validator Extension docblocks (#2118)
11.5.2 - 7 Apr 2023
Resolve issue with ruleset propogation for multiple levels of child rules (#2097)
11.5.1 - 20 Feb 2023
Deprecated the ability to disable the root model null check via overriding AbstractValidator.EnsureInstanceNotNull (#2069)
Deprecated the Transform and TransformAsync methods (#2072)
11.5.0 - 13 Feb 2023
MemberNameValidatorSelector now supports wildcard indexes in property paths (#2056)
Added overload of TestValidateAsync that accepts a context (#2052)
Minor optimization to regex validator (#2035)
Added Kazakh translations (#2036)
Added Catalan translations and updated Spanish translations (#2050)
Updates to Uzbek Latin and Cyrillic translations (#2040/#2041/#2045)
Updates to Italian translations (#2039)
Updates to French translations (#2065)
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.9.0
Fix memory leak in NotEmptyValidator/EmptyValidator (#2174)
Add more descriptive error messages if a rule throws a NullReferenceException (#2152)
Add support for caching root parameter expressions (eg RuleFor(x => x)) (#2168)
Prevent AddValidatorsFromAssemblyContaining from registering validators twice (#2182)
Add builds for .net 8
Changes in 11.8.1
Fix unintentional behavioural changes in introduced in the previous release as part of #2158
Changes in 11.8.0
Added AbstractValidator.OnRuleAdded to allow customization of rule instances after creation (#2114)
Fix Serbian translation of LengthValidator (#2147)
11.9.0 - 21 Dec 2023
Fix memory leak in NotEmptyValidator/EmptyValidator (#2174)
Add more descriptive error messages if a rule throws a NullReferenceException (#2152)
Add support for caching root parameter expressions (eg RuleFor(x => x)) (#2168)
Add builds for .net 8
Prevent AddValidatorsFromAssemblyContaining from registering validators twice (#2182)
11.8.1 - 22 Nov 2023
Fix unintentional behavioural changes in introduced in the previous release as part of #2158
11.8.0 - 19 Oct 2023
Added AbstractValidator.OnRuleAdded to allow customization of rule instances after creation (#2114)
Fix Serbian translation of LengthValidator (#2147)
Fix chinese culture codes (#2151)
Add Khmer translations (#2155)
Various performance improvements (#2158)
Fix ChildRules with class hierarchies (#2165)
11.7.1 - 12 Aug 2023
Resolved issue with combining multiple ValidationResult instances where RuleSetsExecuted wasn't properly set on the combined result (#2125)
11.6.0 - 4 Jul 2023
Add OnFailurecCreated callback in ValidatorOptions.Global (#2120)
Fix typo in Russian localization (#2102)
Add Tajik language (#2108)
Fixed some typos in Validator Extension docblocks (#2118)
11.5.2 - 7 Apr 2023
Resolve issue with ruleset propogation for multiple levels of child rules (#2097)
11.5.1 - 20 Feb 2023
Deprecated the ability to disable the root model null check via overriding AbstractValidator.EnsureInstanceNotNull (#2069)
Deprecated the Transform and TransformAsync methods (#2072)
11.5.0 - 13 Feb 2023
MemberNameValidatorSelector now supports wildcard indexes in property paths (#2056)
Added overload of TestValidateAsync that accepts a context (#2052)
Minor optimization to regex validator (#2035)
Added Kazakh translations (#2036)
Added Catalan translations and updated Spanish translations (#2050)
Updates to Uzbek Latin and Cyrillic translations (#2040/#2041/#2045)
Updates to Italian translations (#2039)
Updates to French translations (#2065)
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@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.DependencyInjectionExtensions and FluentValidation. These dependencies needed to be updated together. Updates
FluentValidation.DependencyInjectionExtensions
from 11.4.0 to 11.9.0Release notes
Sourced from FluentValidation.DependencyInjectionExtensions's releases.
... (truncated)
Changelog
Sourced from FluentValidation.DependencyInjectionExtensions's changelog.
Commits
f2f2b0d
Update changelog9125e11
AddValidatorsFromAssembly(Containing) will now register Validators only once ...51e365b
Revert "Add support for dependent rules for custom rules #2170"3775c94
Add support for dependent rules for custom rules #2170e2c38e3
Support caching root-level parameter expressions. (#2168/#2173)b3b95c4
Add more descriptive error messages if a rule throws a NullReferenceException...04f1a42
Update docs40f1cc8
Upgrade to .net 8 (#2176)419380c
fix memory leak enumerator (#2174)513eaa1
Fix behavioural changes in EmptyValidator/NotEmptyValidator introduced in pre...Updates
FluentValidation
from 11.4.0 to 11.9.0Release notes
Sourced from FluentValidation's releases.
... (truncated)
Changelog
Sourced from FluentValidation's changelog.
Commits
f2f2b0d
Update changelog9125e11
AddValidatorsFromAssembly(Containing) will now register Validators only once ...51e365b
Revert "Add support for dependent rules for custom rules #2170"3775c94
Add support for dependent rules for custom rules #2170e2c38e3
Support caching root-level parameter expressions. (#2168/#2173)b3b95c4
Add more descriptive error messages if a rule throws a NullReferenceException...04f1a42
Update docs40f1cc8
Upgrade to .net 8 (#2176)419380c
fix memory leak enumerator (#2174)513eaa1
Fix behavioural changes in EmptyValidator/NotEmptyValidator introduced in pre...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 show