What's Changed
- Bump
symfony/validator
version to7.3
(changelog) by @andrepimpao in #6- Add the
filenameCharset
andfilenameCountUnit
options to theFile
constraint - Deprecate defining custom constraints not supporting named arguments
- Deprecate passing an array of options to the constructors of the constraint classes, pass each option as a dedicated argument instead
- Add support for ratio checks for SVG files to the
Image
constraint - Add support for the
otherwise
option in theWhen
constraint - Add support for multiple fields containing nested constraints in
Composite
constraints - Add the
stopOnFirstError
option to theUnique
constraint to validate all elements - Add support for closures in the
When
constraint
- Add the
Full Changelog: v0.2.0...v0.3.0