v0.2.0
Highlights
Vihren v0.2.0 extends the public code generator support for asynchronous Temporal workflow execution. Generated async workflow clients now return typed run handles such as HelloWorkflowRun instead of raw client.WorkflowRun.
Breaking change
Client.<Workflow>Asyncnow returns a generated typed run handle.- Migrate async result waits from
run.Get(ctx, &out)toout, err := run.Get(ctx). - The generated run handle still exposes
GetID()andGetRunID()for Temporal workflow identity access.
Other changes
- Generated
RegisterActivitiesandRegisterWorkflowsnow use minimal package-local registry interfaces. - Combined generated
Registerstill accepts Temporalworker.Registry.
Install
go install github.com/vihren-dev/vihren/cmd/vihren-gen@v0.2.0