Skip to content

Releases: programmatordev/fluent-validator

v0.3.0

31 May 10:10
8866aec
Compare
Choose a tag to compare

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

v0.2.0

01 Apr 15:10
7a5034c
Compare
Choose a tag to compare

What's Changed

  • Improve violation path on assert message when validating arrays by @andrepimpao in #3
  • [BC] Rename getConstraints method to toArray by @andrepimpao in #4

Full Changelog: v0.1.0...v0.2.0

v0.1.0

13 Mar 15:21
c1146af
Compare
Choose a tag to compare

Initial release 🔥