Skip to content

v2.1

Compare
Choose a tag to compare
@sylvainpolletvillard sylvainpolletvillard released this 12 Jul 19:25
· 706 commits to master since this release
  • assertions are now inherited from Model.prototype, which enables you to add global assertions
  • assertions now require to return true to validate. Truthy values do not pass anymore
  • assertions error messages can now be functions called with the assertion result as argument