changelogs.md


trainiac/express-jsonschema

Repository  -  API  -  Source

1.1.5

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

1.1.1

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

1.1.0

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

1.0.2

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

1.0.1

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

1.0.0

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.

0.0.1

January 28, 2015
  • Initial build