- Now requires Node.js v8.0 or higher
- Updates the events that are emitted and adds statuses to the objects emitted on the events. see issues #20 and #21
- Updates the event objects to expose human readable durations. see issue #23
- Removes unused properties. see issue #24
- Updates
.build
to return a promise when the callback is not passed in. see issue #28
- Updates [bach][] to
1.0.0
. - Errors emitted from inside a task now have the
'in task "foo":'
prefixed to the error message. see issue #22 - Expose
.runInfo
on the task object for use in event listeners and task functions. - Add
.duration
to the.run/.runInfo
object that shows the duration in a human friendly format. This will also show the current duration from the time the task started to the time it's called if used inside a task function. see issue #23
app.task('foo', function(cb) {
console.log(this.runInfo.duration);
});
- Skip tasks by setting the
options.skip
option to the name of the task or an array of task names. - Making additional
err
properties non-enumerable to cut down on error output.
- You can no longer get a task from the
.task()
method by passing only the name. Instead dovar task = app.tasks[name];
- Passing only a name and no dependencies to
.task()
will result in anoop
task being created. options
may be passed to.build()
,.series()
and.parallel()
options
passed to.build()
will be merged onto task options before running the task.- Skip tasks by setting their
options.run
option tofalse
.
- Allow passing es2015 javascript generator functions to
.task()
.
- Allow using glob patterns for task dependencies.
- BREAKING CHANGE: Removed
.watch()
. Watch functionality can be added to [base][] applications using [base-watch][].
- Removes
session
.
- Use
default
when no tasks are passed to.build()
.
- Ensure task dependencies are unique.
- Emitting
task
when adding a task through.task()
- Returning task when calling
.task(name)
with only a name.
- Emitting
task:*
events instead of generic*
events. See event docs for more information.
- No longer returning the current task when
.task()
is called without a name. - Throwing an error when
.task()
is called without a name.
- Adding properties to
err
instances and emitting instead of emitting multiple parameters. - Adding series and parallel flows/methods.
- BREAKING CHANGE Renamed
.run()
to.build()
.watch
returns an instance ofFSWatcher
- Currently running task returned when calling
.task()
without a name.
- Add session-cache to enable per-task data contexts.
- Event bubbling/emitting changed.
- Initial release.