v0.5.0
V2 API
What's Changed
- Go version upgraded to 1.18
- Fully support generics
- Allow steps to have input data
- Support graph IO mutations across its steps (at the cost of a more verbose API). Eg. Step A (has input struct 'A', returns struct 'B') -> Step B (has input struct 'B', returns struct 'C') -> ...
- Support returning outputs in Steps and graphs
- Remove unnecessary structs
- Standarize API with go standards
- Forward context to Steps
- Steps are now context-aware and support cancellations/deadlines
- Modify API to allow a flexible creation of custom steps with any complexity
Full Changelog: v0.4.5...v0.5.0