Add support for minlength and maxlength.
Bump version.