Version 0.5.1

Released 22 August 2014

New features


  • Allowing sites without TLD to pass URI validation
  • Change the CSS/JS path in demo/remote.html and demo/message.html
  • Fix the demo/date.html and demo/tab.html examples
  • Add content-type header for demo/remote.php
  • Add headers option to the remote validator
  • Fix the feedback icon position for Bootstrap 3.2
  • Force the format option to be YYYY-MM-DD when using <input type="date" />
  • Ignore type checking if the file type is empty

Bug fixes

  • The HTML 5 <input type="number" /> input allows to input non-digits characters
  • Fix the issue when using different validator to compare with not existing field
  • Cannot validate against both ipv4 and ipv6 at the same time
  • Don't use min, max attributes (greaterThan, lessThan validators) for <input type="date" />
  • The submitButtons option doesn't work correctly
  • The zipCode validator throw an exception when passing not supported country code
  • Fix the date validator issue where one of date/month/year or hours/minutes/seconds is prefixed by zero
  • The remote validator can't set the type option via HTML attribute
  • The between, greaterThan, lessThan validators accept param which isn't number