Releases: ztstewart/workflow
Releases · ztstewart/workflow
0.3.1
0.3.0
Changes
- Breaking:
NewGraph
now takes a variable number of tasks as an argument, rather than a slice - Breaking: A
TaskFn
now accepts a newResults
struct and returns an additionalinterface{}
return value - With the new
Results
type, tasks are now able to pass results from one another, enabling easier chaining of functions
0.2.0
Changes
- Breaking: The
deps
parameter order has been swapped to call greater attention to functions that have dependencies. - An InvalidGraphError is returned when dependencies either cannot be found or a cycle is detected. Note: Future releases may choose to release more specific error types for a cycle being detected or dependency not being found.
0.1.0
Initial release of workflow. It should be capable of executing tasks in a concurrent manner, with important features such as graph validation complete.
However, we may explore minor interface changes, such as passing a concurrent map to all tasks, allowing us to support passing around the result of task execution, if there is demand for such a feature.