github temporalio/sdk-go v1.28.0

latest releases: contrib/envconfig/v1.0.0, v1.40.0, contrib/opentelemetry/v0.7.0...
19 months ago

Nexus pre-release

⚠️ EXPERIMENTAL - APIs may change in a future release ⚠️

See the proposal for usage instructions.

Self hosted users can try Nexus out in single cluster deployments with server version 1.25.0-rc.0 - not meant for production use.

Temporal Cloud users may reach out and open a support ticket to request access to the pre-release.

To use Nexus with the temporal CLI dev server:

  1. download CLI 0.14.0-nexus.0 to the current directory:

    curl -sSf https://temporal.download/cli.sh | sh -s -- --version v0.14.0-nexus.0 --dir .
    
  2. run the dev server with the required configs:

    ./temporal server start-dev --dynamic-config-value system.enableNexus=true --http-port 7243
    

Warn on unfinished handlers

The SDK will now WARN by default if a workflow is completed by the SDK with unfinished update handlers. Users can use workflow.AllHandlersFinished to wait for all handlers to be finished or set UnfinishedPolicy in UpdateHandlerOptions.

Add Workflow safe Mutex and Semaphore

This release includes new helper interfaces workflow.Mutex and workflow.Semaphore that are workflow safe versions of a mutex and semaphore. These interfaces are to help users synchronize sensitive business logic across multiple coroutines or update handlers.

What's Changed

Don't miss a new sdk-go release

NewReleases is sending notifications on new releases.