Skip to content

v4.2.0

Compare
Choose a tag to compare
@qiangxue qiangxue released this 26 Apr 23:33
· 9 commits to master since this release
  • Upgraded govalidator to v10 and added the EmailFormat validation rule to validate an email address without checking the existence of MX record
  • Fixes #103: Modified the reDomain regex to support upper/lowercase for the is.Domain rule. (thanks to @TheSecEng)
  • Fixes #105: fixed typo of ErrCurrencyCode (thanks to @maratori)
  • Fixes #106: Added the Nil and Empty rules (thanks to @samber)
  • Fixes #107: Added the Else clause to the When conditional validation construct (thanks to @samber)
  • Fixes #109: Fixed the bug in the Length rule when requiring zero length (thanks to @0perl)
  • Fixes #110: RequiredRule struct is made public (thanks to @erdaltsksn)