Changelog History
Page 1
-
v1.4.9 Changes
December 01, 2020๐ Allow disabling of auto prepending the field labels
-
v1.4.8 Changes
October 15, 2020โ Add support for SL language
-
v1.4.7 Changes
August 29, 2019๐ New rules requiredWith and requiredWithout for conditional requirements
-
v1.4.6 Changes
August 23, 2019๐ new rule listContains - Performs in_array check on given array values
-
v1.4.5 Changes
March 21, 2019๐ New rule arrayHasKeys
-
v1.4.4 Changes
December 14, 2018๐ Fixed a bug[#262] where array elements where considered required when any rule was applied to them
๐ New rules for dealing with arrays: subset and containsUnique
Languages: new string in Lithuanian, Norwegian Bokmรฅl added
โ Additional documentation and comments -
v1.4.3 Changes
May 06, 2018๐ New languages: Lithuanian, Swedish, Korean
๐ New option to stop validating when the first error is encountered
๐ Support for nested arrays for 'equals' and 'different' rules
โจ Enhanced tests -
v1.4.2 Changes
October 31, 2017The validateRequired method required $fields to be an array, and this broke compatibility with objects that implement PHP's ArrayAccess interface.
Please note that while ArrayAccess-objects will probably work most of the time, Valitron is meant to be used with actual arrays.
-
v1.4.1 Changes
October 23, 2017- โก๏ธ updated translations for pt-br, it and fr
- less blowing up of php when an array is passed to a rule that expects a string
- don't add {field} to a custom error message if it already exists
- โ added a flag to force the required rule on empty fields
-
v1.4.0 Changes
February 27, 2017Validator::mapFieldRules() provides another way of adding rules on a per-field basis
โ Added a flag to validateInteger() to enable strict checking (bypassing PHP's automatic conversions)