features
- [
156fc36
] - feat: support convertType function added by addRule (hdumok <[email protected]>)
features
- [
ee3521c
] - feat: support override options.widelyUndefined (#59) (Yiyu He <[email protected]>)
features
- [
abcd739
] - feat: support es5 with babel (#56) (Angela <[email protected]>)
fixes
- [
f5e33e3
] - fix: allow default to benull
orfalse
(#55) (Cong Liu <[email protected]>)
features
- [
4d95c6a
] - feat: supporttrim: true
on string value (#54) (fengmk2 <[email protected]>)
features
- [
9d35b7f
] - feat: support options.widelyUndefined and rule.default (#53) (Yiyu He <[email protected]>)
features
- [
487ae22
] - feat: addRule support set default convertType (#51) (fengmk2 <[email protected]>)
others
- [
f1dda26
] - refactor: make rules more practical (#50) (Yiyu He <[email protected]>)
features
- [
e12fac4
] - feat: add global addRule method (#46) (fengmk2 <[email protected]>)
features
- [
a5c1721
] - feat: Add option.validateRoot to enable validate the root object (#41) (paranoidjk <[email protected]>)
fixes
- [
8317071
] - fix: email regx to case insensitive (#36) (mansonchor.github.com <[email protected]>),
fixes
- [
3693861
] - fix: check number exclude NaN (#30) (Gao Peng <[email protected]>)
others
- [
67d8cf6
] - chore(docs): add semantic-release process description (fengmk2 <[email protected]>)
- feat(array): support max and min in array check (#22)
- chore: use semantic-release workflow (#23)
- feat: allowEmpty can be use with max and min
- feat: allowEmpty can be use with format
- test: use codecov.io
- Refactor with Class, use ES6 class style.
- feat: remove field name from error message. #12
- fix: it should not translate the
field
key.
- feat: I18n translate possible by override the
validate.translate
method.
- feat: add url
- fix: remove david badge
- fix(readme): fix exmaple arguments
- fix: ensure error message correct when add custom rules
- feat: add password
- feat: add email type
- feat(addRule): support add custom rules
- doc: fix readme and add example
- fix(array): array itemType
- feat(string): detault allowEmpty to false
- fix:(test) fix test cases
- refactor: rewrite
- support Enum check fixed #1
- Custom error message
- remove 0.11 from travis
- support RegExp rule
- support isArray and isObject
- fixed required=false bug
- run again to vaild cache functions
- improve performance
- add test cases
- first commit