Add option Email::VALIDATION_MODE_HTML5_ALLOW_NO_TLD with "html5-allow-no-tld" e-mail validation mode, to match with the W3C official specification
Add method getCause() to ConstraintViolationInterface
Add the When constraint and validator
Deprecate the "loose" e-mail validation mode, use "html5" instead
Add the negate option to the Expression constraint, to inverse the logic of the violation's creation
Add the extensions option to the File constraint as an alternative to mimeTypes which checks the mime type of the file, its extension, and the consistency between them
Add padding for enhanced privacy to the NotCompromisedPasswordValidator
6.1
Add the fields option to the Unique constraint, to define which collection keys should be checked for uniqueness
Deprecate Constraint::$errorNames, use Constraint::ERROR_NAMES instead
Deprecate constraint ExpressionLanguageSyntax, use ExpressionSyntax instead
Add method __toString() to ConstraintViolationInterface & ConstraintViolationListInterface
Allow creating constraints with required arguments
Add the match option to the Choice constraint
6.0
Remove the allowEmptyString option from the Length constraint
Remove the NumberConstraintTrait trait
ValidatorBuilder::enableAnnotationMapping() does not accept a Doctrine annotation reader anymore
ValidatorBuilder::enableAnnotationMapping() won't automatically setup a Doctrine annotation reader anymore
5.4
Add a Cidr constraint to validate CIDR notations
Add a CssColor constraint to validate CSS colors
Add support for ConstraintViolationList::createFromMessage()
Add error's uid to Count and Length constraints with "exactly" option enabled
5.3
Add the normalizer option to the Unique constraint
Add Validation::createIsValidCallable() that returns true/false instead of throwing exceptions
5.2.0
added a Cascade constraint to ease validating nested typed object properties
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)
Updates the requirements on symfony/validator to permit the latest version.
Release notes
Sourced from symfony/validator's releases.
Changelog
Sourced from symfony/validator's changelog.
... (truncated)
Commits
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)