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.
Various parts of the internal API are now internal (PropertyRule, CollectionPropertyRule etc).
ValidatorDescriptor now returns rule components in various places.
Changed type of ValidationResult.Errors from IList to List
Default service lifetime is now Scoped rather than Transient.
Combine IActionContextValidatorInterceptor and IValidatorInterceptor.
Changes to the ASP.NET Client Validator Adaptor interfaces. These now receive the rule component.
Removed deprecated IStringSource and its inheritors.
Removed deprecated FormattedMessageArguments from ValidationFailure.
Removed other deprecated code.
9.5.4 - 5 April 2021
Fix Serbian translation of error messages (#1683)
Add Vietnamese translations of error messages (#1677)
9.5.3 - 15 March 2021
Fix Swedish translation for CreditCardValidator (#1664)
9.5.2 - 8 March 2021
Fix Dutch translation of some errors (#1653)
Fix string equality comparison in WithCustomState extension (#1658)
9.5.1 - 11 February 2021
Fix incorrect wording in deprecation message for Transform (#1613)
Fix ScalePrecision validator being available in intellisense for non-decimal properties.
Expose additional overload of Transform that receives the root object in the transformer.
9.5.0 - 31 January 2021
Introduce new syntax for applying transformations and deprecate the old syntax (#1613)
9.4.0 - 14 January 2021
ChildRules now work as expected when inside a ruleset (#1597)
Added ImplicitlyValidateRootCollectionElements option to MVC integration (#1585)
Commits
db0879b Fix #1698 ArgumentOutOfRangeException when condition returns false for RuleFo...
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.0.3.
Release notes
Sourced from FluentValidation's releases.
... (truncated)
Changelog
Sourced from FluentValidation's changelog.
Commits
db0879b
Fix #1698 ArgumentOutOfRangeException when condition returns false for RuleFo...7c0251a
Update bug_report.yml19112f9
Remove references to WebApi/MVC5 integrationaa4d86a
Update aspnet.mde8f809b
Remove deprecated issue template key2edb55b
Update changelogfce90fa
Expose ErrorCode on IRuleComponent09f9edd
Update bug_report.yml2671e7f
Add GetPropertyValue to IValidationRule. Fix condition context parameter type...478c055
Change sample to return IRuleBuilderOptionsConditions (#1689)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)