Skip to content

Version 0.7.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@dsquier dsquier released this 23 Jun 20:01
  • Added json-schema-ref-parser as Util.dereference() which returns a promise and is used in conjunction with Util.validate(). This allows for more maintainable json-schema definitions, reducing duplication. See: http://json-schema.org/example2.html
  • Added wait system. There is now an optional, user-defined "wait" counter to allow for additional iterator flow control A wait represents a single outstanding asynchronous process. Waits can be used by the developer inside the config.tasks file where desired to ensure longer-running processes such as Util.validate() are able to complete.
  • Modified how Util.log() behaves. Previously just a wrapper for console.log(), it now suppresses output if config.quiet is set to true.
  • Changed Util.validate() to return a promise. This clarified the behavior, such failed validations return a rejection with the specific reason.