Release 0.5.0 #7
Labels
documentation
This is issue is either documentation or relates to the documentation
minor release
this issue documents a change for a minor release
planning
this issue documents plans for the future
Branch: epic/0.5.x
Release 0.5.0 should extend Release 0.4.0 #5 and add:
New Rules
different:field
The field under validation must have a different value than field.
alpha
The field under validation must be entirely Unicode alphabetic characters contained in \p{L} and \p{M}.
To restrict this validation rule to characters in the ASCII range (a-z and A-Z), you may provide the ascii option to the validation rule:
alpha_dash
The field under validation must be entirely Unicode alpha-numeric characters contained in \p{L}, \p{M}, \p{N}, as well as ASCII dashes (-) and ASCII underscores (_).
To restrict this validation rule to characters in the ASCII range (a-z and A-Z), you may provide the ascii option to the validation rule:
alpha_num
The field under validation must be entirely Unicode alpha-numeric characters contained in \p{L}, \p{M}, and \p{N}.
To restrict this validation rule to characters in the ASCII range (a-z and A-Z), you may provide the ascii option to the validation rule:
prohibited
The field under validation must be missing or empty. A field is "empty" if it meets one of the following criteria:
prohibited_if:anotherfield,value,...
The field under validation must be missing or empty if the anotherfield field is equal to any value. A field is "empty" if it meets one of the following criteria:
prohibited_unless:anotherfield,value,...
The field under validation must be missing or empty unless the anotherfield field is equal to any value. A field is "empty" if it meets one of the following criteria:
prohibits:anotherfield,...
If the field under validation is not missing or empty, all fields in anotherfield must be missing or empty. A field is "empty" if it meets one of the following criteria:
regex:pattern
The field under validation must match the given regular expression.
The text was updated successfully, but these errors were encountered: