Skip to content

Releases: ztstewart/workflow

0.3.1

03 Sep 18:15
Compare
Choose a tag to compare
0.3.1 Pre-release
Pre-release

Changes

  • Updates the documentation on how Result should be used that was mistakenly omitted from the previous release
  • Updates the README and doc.go examples to use names that are more clear

0.3.0

03 Sep 18:05
c1241ec
Compare
Choose a tag to compare
0.3.0 Pre-release
Pre-release

Changes

  • Breaking: NewGraph now takes a variable number of tasks as an argument, rather than a slice
  • Breaking: A TaskFn now accepts a new Results struct and returns an additional interface{} 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

03 Sep 02:58
Compare
Choose a tag to compare
0.2.0 Pre-release
Pre-release

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

01 Jul 19:14
Compare
Choose a tag to compare
0.1.0 Pre-release
Pre-release

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.