Breaking Changes
@temporalio/openai-agentsnow requires@openai/agents-coreand@openai/agents-openai~0.14.3. A project
pinned to0.13.xor earlier hits a peer dependency conflict until it upgrades.- Experimental: External storage
StorageDriverSelectornow receives a
StorageDriverSelectContextinstead of aStorageDriverStoreContext. Update the parameter
type; the new type carries the sameabortSignalandtargetfields.
Added
- Experimental: New methods for
ActivityHandle:pause,unpause,updateOptionsandrestoreOriginalOptions. ActivityHandle.describenow accepts options that can be used to include additional data associated
with activity execution, such as input and result.- Experimental:
@temporalio/openai-agentscan run OpenAI AgentsSandboxAgents as Temporal Workflows. SandboxAgent
operations are Activities; hosted tool credentials and sandbox environment values that reference allowlisted Worker
environment variables are resolved on Worker so their values are not recorded in Workflow history. - Experimental: Added
rawValueTypeInfo, which allowsRawValueinputs and results to be preserved across
serialization boundaries when explicitly configured on TypeInfo-aware APIs. - Experimental: External Storage download and upload metrics are now reported to Core on Workflow Activation
completions and included in its workflow-task duration log.
Changed
- Standalone Activities APIs are stable.
ActivityClientnow passes serialization context to data converter when interacting with standalone activities.- A workflow query issued from inside a Nexus operation handler now propagates the link the server
returns for the workflow that processed it, so the caller's Nexus operation event points back at
the queried workflow. - A
common.v1.Link.Workflownow serializes totemporal:///namespaces/{ns}/workflows/{wid}/{rid}
with the optionalreasonas a query param, matching the other SDKs; previously it reused the
workflow event path and droppedreason. Inbound Workflow links are now parsed as well.
Fixed
- Activity errors converted to
ApplicationFailurenow preserve nativeError.causechains in serialized failures. - Nexus handlers now report uncaught Workflow and standalone Activity already-started errors as
non-retryableINTERNALHandler Errors, preventing retries when ID reuse or conflict
policies reject duplicate execution IDs. - Workflow activation failures now retain Workflow state until Core eviction, preventing premature
execution-context disposal after converter or codec errors. - Fixed non-sticky Workflow Task poller starvation on Workers configured with a small Workflow cache
(maxCachedWorkflows). Sticky pollers could consume every Workflow-cache permit and starve the
non-sticky poller, so a Worker could stop accepting new Workflows until a poll timed out (up to
~60s). (Core fix: temporalio/sdk-rust#1534.) - Bumped the core-bridge HTTP/2 client stack (h2 0.4.13 → 0.4.19, hyper 1.8.1 → 1.11.0), picking up
upstream fixes for stream-cancel flow-control leaks and missed wakeups on reset/trailers that can
affect cancellation-heavy long-poll workloads.
New Contributors
- @akramcodez made their first contribution in #2354
- @sdk-sentinel-bot made their first contribution in #2367
Full Changelog: v1.23.0...v1.24.0