Releases: Saeris/valimock
Releases · Saeris/valimock
v1.4.0
v1.3.1
v1.3.0
v1.2.0
Minor Changes
-
2f875f1
Thanks @Saeris! - Add support for new String validations and Keyword matchersNew Validations:
- base64
- bic
- creditCard
- decimal
- empty
- hexadecimal
- hexColor
- mac
- nanoid (unstable)
- octal
New keywords:
- username
- displayName
- firstName
- middleName
- lastName
- fullName
- gender
- sex
- zodiacSign
- isbn
- iban
- vin
- vrm
Also adds support for
empty()
for both Strings and Arrays
v1.1.1
Patch Changes
-
97a9221
Thanks @Saeris! - Fix incorrect string max length behavior, Update dependenciesStrings were accidentally being capped to a fixed max length when a
maxLength()
validation was not provided by the schema, resulting in unwanted behavior such as the shortening of usernames, emails, etc, which would cause validations such asemail()
to fail against the resulting mock data.