Breaking Changes
Removed deprecated APIs, including Pipeline, NewPipeline, ActionPlan,
Error, NewAggregateAction, NewTypeAdapterAction, and old
New*Sequence/Parallel* constructors.
Added
- Added
AsBestEffortActionfor non-critical actions that should not fail a workflow. - Added
AsBranchActionto extend an existingActionwith branching behavior.
Fixed
- Fixed
Workflow.ValidateGraphfalse positives for split-merge DAGs. - Fixed disconnected graph validation by checking weak connectivity.
- Fixed parallel map/slice actions to avoid unsafe concurrent writes.
- Fixed parallel and sequence actions to preserve multiple errors with
errors.Join. - Fixed retryable rollback errors/panics so the original action error is preserved.
- Fixed
Workflow.Runto aggregate multiple action errors in execution order. - Fixed
SimpleBranchActiondirection slice mutation safety.