Skip to content

2.1.3

Compare
Choose a tag to compare
@lukejagodzinski lukejagodzinski released this 28 Sep 16:05
· 187 commits to v2 since this release

New features:

  • Class level validation - having the Post class you can now validate by calling Post.validate(rawData) or Post.validateAll(rawData)
  • Ability to get check pattern - - having the Post class you can call const pattern = Post.getCheckPattern() to get pattern and use it in the check check(doc, pattern)

Fixes:

  • Fix #445 IE11 error with Number constructor
  • Fix not cloning options passed to the find() method