July 22, 2024
Go SDK v1.28.0 Nexus
⚠️ 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:
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 .
run the dev server with the required configs:
./temporal server start-dev --dynamic-config-value system.enableNexus=true --http-port 7243
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
.
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.