Skip to content

v0.3.0

Latest
Compare
Choose a tag to compare
@andrepimpao andrepimpao released this 31 May 10:10
8866aec

What's Changed

  • Bump symfony/validator version to 7.3 (changelog) by @andrepimpao in #6
    • Add the filenameCharset and filenameCountUnit options to the File 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 the When constraint
    • Add support for multiple fields containing nested constraints in Composite constraints
    • Add the stopOnFirstError option to the Unique constraint to validate all elements
    • Add support for closures in the When constraint

Full Changelog: v0.2.0...v0.3.0