Skip to content

Changelog

Oscar edited this page Jan 5, 2019 · 14 revisions

2.0.9

Fixed minor issues and npm dependencies.
Added tests, current coverage 100%

2.0.0

Validating now uses promises instead of passing callbacks as parameters.
The path to validate is not a string anymore.
You can add you own validators and messages.
It also validates computed values.
Custom rules now just return true, false, or an error message.
You can use links to concat validations.
Performance improved.
Better handling of wrong paths.
Error messages more customizable.
Clever dynamic data handling.
Added options: validateOnType, skipValidationsOnError and skipRulesOnError.

Added path properties:

  • $validated
  • $hasError
  • $error
  • $errors
Clone this wiki locally