Releases: programmatordev/fluent-validator
Releases · programmatordev/fluent-validator
v0.3.0
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
v0.2.0
What's Changed
- Improve violation path on assert message when validating arrays by @andrepimpao in #3
- [BC] Rename
getConstraints
method totoArray
by @andrepimpao in #4
Full Changelog: v0.1.0...v0.2.0
v0.1.0
Initial release 🔥