Version 0.7.0
Pre-release
Pre-release
- 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 asUtil.validate()
are able to complete. - Modified how
Util.log()
behaves. Previously just a wrapper for console.log(), it now suppresses output ifconfig.quiet
is set totrue
. - Changed
Util.validate()
to return a promise. This clarified the behavior, such failed validations return a rejection with the specific reason.