10.3.0 - 9 July 2021
Update Russian translations (#1761)
Add Thai translations (#1768)
Add Azerbaijani translations (#1770)
Deprecate the old test helper methods in favour of TestValidate.
Deprecate OnFailure and OnAnyFailure callbacks.
10.2.3 - 3 Jun 2021
Resolve issue with rulesets not cascading correctly to Inheritance Validators (#1754)
10.2.2 - 1 Jun 2021
Add backwards compatibility overloads for validator registration methods.
10.2.1 - 30 May 2021
Optional internal type registration should work with MVC registration (#1748)
10.2.0 - 28 May 2021
Display name generation should be consistent between RuleForEach and RuleFor.ForEach (#1231)
Allow AddFluentValidation to be called directly on IServiceCollection (#1726)
Throw exception on ValidateAndThrow even if PreValidate prevents further Validation (#1736)
ValidationException now includes rule severity (#1733)
Optionally support internal types when scanning assemblies for validators (#1742)
Deprecate RunDefaultMvcValidationAfterFluentValidationExecutes in MVC configuration. Use DisableDataAnnotationsValidation instead.
10.1.0 - 28 April 2021
Allow default severity level to be set globally (#1715)
Extend use of variance into the internal API to resolve invalid cast exceptions in some scenarios (#1711)
Fix clientside metadata being incorrectly generated for cross-property LessThanOrEqual/GreaterThanOrEqual (#1721)
10.0.4 - 17 April 2021
Fix a bug where async conditions were sometimes run synchronously.
10.0.3 - 15 April 2021
Fix ArgumentOutOfRangeException when condition returns false for RuleForEach containing multiple components (#1698)
10.0.2 - 9 April 2021
Expose ErrorCode property on IRuleComponent.
10.0.1 - 8 April 2021
Add GetPropertyValue method to IValidationRule
Fix context parameter types on IValidationRule.ApplyCondition and ApplyAsyncCondition.
10.0.0 - 6 April 2021
Please review the upgrade guide for 10.0: https://docs.fluentvalidation.net/en/latest/upgrading-to-10.html
Performance improvements.
Collection rules now only iterate the collection once.
Property validators are now generic.
Internal API now uses generics.
Deprecated non-generic PropertyValidator.
Various property validator options have been seperated into RuleComponents.
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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps FluentValidation from 9.3.0 to 10.3.0.
Release notes
Sourced from FluentValidation's releases.
... (truncated)
Changelog
Sourced from FluentValidation's changelog.
... (truncated)
Commits
dd47813
Update version85c7d6b
Update changelogf818399
Deprecate OnFailure callbackeb9655d
Update di.md2c31f83
Update di.mdefa01cb
Add brief page about DI (#1773)5e8d057
Reformatting & changelog update90e4d38
Deprecate the old test helper methods.71157e8
Add Azerbaijani language (#1770)5426d94
Update changelogDependabot 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)