Skip to content

v0.2.0

Choose a tag to compare

@tzanko-matev tzanko-matev released this 30 Jun 11:24

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>Async now returns a generated typed run handle.
  • Migrate async result waits from run.Get(ctx, &out) to out, err := run.Get(ctx).
  • The generated run handle still exposes GetID() and GetRunID() for Temporal workflow identity access.

Other changes

  • Generated RegisterActivities and RegisterWorkflows now use minimal package-local registry interfaces.
  • Combined generated Register still accepts Temporal worker.Registry.

Install

go install github.com/vihren-dev/vihren/cmd/vihren-gen@v0.2.0