Skip to content

6.0.0

Compare
Choose a tag to compare
@MrWolfZ MrWolfZ released this 19 Nov 16:40
· 106 commits to master since this release

This major release contains only a bugfix which is a breaking change.

Breaking Changes

  • do not treat empty strings or arrays as an error in minLength validation function (#164), thanks @Sloff for reporting and fixing this bug

    If you require these values to be treated as errors use minLength together with required (e.g. validate(required, minLength(2)))