contracts
Version:
Validation library to define and validate JSON Schemas for functions and express handlers. Supports filters.
41 lines (26 loc) • 895 B
Markdown
0.4.0 / 2012-03-10
==================
* Expose format validators just as they can be reused
0.3.2 / 2012-03-01
==================
* Fixed format validator support so it can be modified at run-time
0.3.0 / 2011-07-20
==================
* Fixed for changes in validator library
* Made validator dependency stricter
0.3.0 / 2011-07-20
==================
* Added format validators.
* Fixed a case where filters remove an instance in an array.
* Added docs
0.2.1 / 2011-07-05
==================
* Added removeEmpty filter that removes empty properties before validation, useful for validating optional form inputs
* Tweaked ValidationError, added toString()
0.2.0 / 2011-05-17
==================
* wrap() and view() now preparse schemas for performance
* Added schema() to predefine schemas for future use
0.1.0 / 2011-05-15
==================
* Initial release