Repository  -  API  -  Source


September 27, 2016
  • Fix README typos
    • Within the function only pass a schema to addSchema and do not pipe arguments other arguments from forEach


July 6, 2015
  • Testing auto builds with Travis CI.


July 6, 2015
  • Allow middleware creator to specify dependency schemas for split schemas (@SpainTrain).


February 6, 2015
  • Pass JsonSchemaValidation instance to next middleware instead of throwing.
    • Added name properties to error constructors.


February 2, 2015
  • Fixed README. messages key is an array of strings.


February 1, 2015
  • added .jscsrc and .jshintrc files for formatting and code integrity
    • moved most of the unit tests over to functional tests as it is a better indicator of whether the module is working.
    • dropped object-assign dependency.
    • no longer exporting jsonschema exports. Users can require jsonschema directly if they are needed.
      • jsonschema.Validator
      • jsonschema.ValidatorResult
      • jsonschema.ValidationError
      • jsonschema.SchemaError
      • jsonschema.validate
    • validateReq is now validate and receives one argument, an object where the keys are the request properties and the values are the respective schemas. This is more flexible going forward.
    • validateReq allowed options validator and ifInvalid. These have been removed as they provide little value and complicate the API.


January 28, 2015
  • Initial build