Releases: ApamateSoft/Validator
Releases · ApamateSoft/Validator
1.3.2
1.3.1
- Fixed translation problem of the default message of the name rule in English.
- Changed the error message for the
onlyNumbers
rule.
1.3.0
- Added annotations.
- Renamed the dateFormat rule to date.
- Renamed the mustContainMinimum rule to mustContainMin.
- Renamed the isValidOrFail function to validOrFail.
Version 1.2.0
- The
onNotPass
event has been renamed toonInvalidEvaluation
. - Renamed the package id from
com.apamatesoft.validator
toio.github.ApamateSoft.validator
. - Renamed the
numericFormat
rule tonumber
. - The following predefined rules have been added:
dateFormat
expirationDate
httpLink
httpsLink
ip
ipv4
ipv6
link
maxValue
minAge
minValue
mustContainMinimum
mustContainOne
name
notContain
numberPattern
onlyAlphanumeric
onlyLetters
rangeLength
rangeValue
regExp
time
time12
time24
wwwLink