Skip to content

v1.24.0

Compare
Choose a tag to compare
@Quinn-With-Two-Ns Quinn-With-Two-Ns released this 01 Aug 18:37
· 131 commits to master since this release
ffefacb

Highlights

Readonly Protection

Added protection in the SDK against running mutating workflow functions in a read only context.
A read only context is a query handler, update validator, side effect, or mutable side effect.
Previously, in some cases, the SDK would seem to allow it but silently generate an invalid workflow history.
This change allows developers to quickly catch their mistake and prevents generating invalid workflow histories

Experimental - Eager Workflow Dispatch

Eager Workflow Dispatch (EWD) is a mechanism that minimizes the duration from starting a workflow to the processing of the first workflow task, making Temporal more suitable for latency sensitive applications. Eager workflow Dispatch can be enabled by setting EnableEagerStart in StartWorkflowOptions and if the server supports it and a local worker is available the task is fed directly to the worker.

Note: Requires Temporal Server 1.20+

Specific Changes

2023-06-23 - d56a1ca - Use getNextID() when handling mutable side effects (#1146)
2023-06-23 - e720652 - Fix history paging on looking for WFT Fail (#1147)
2023-06-27 - f223247 - Update workflowcheck dependencies (#1148)
2023-06-28 - 435b192 - Document when the activity context is cancelled (#1150)
2023-06-29 - 1923300 - Start version numbers at 0 in godoc (#987)
2023-06-29 - 261f652 - Add missing schedule types (#1151)
2023-06-30 - 524b4d1 - Add more mocks (#1152)
2023-07-05 - e1d76b7 - Add docs on update (#1154)
2023-07-17 - 023af0e - Move commit info to env var to mitigate run injection vulnerability. (#1165)
2023-07-17 - 4714f38 - Prevent modifying workflow state in read only contexts (#1159)
2023-07-17 - 57d29ee - Expose update interceptor input (#1166)
2023-07-17 - 930cc2b - Reassign runningWorkflows workflow ID in test environment (#1163)
2023-07-17 - ca05fcd - Add interceptors for Await and AwaitWithTimeout (#1161)
2023-07-17 - dd24fd5 - Add support for update info (#1162)
2023-07-23 - 3ba8110 - Hardcode noop metrics handler to avoid logs (#1169)
2023-07-24 - 899f6d0 - Add IsLocalActivity to ActivityInfo (#1170)
2023-07-24 - a059d88 - Unlock before panicking (#1168)
2023-07-24 - a649812 - Make QueryWorkflowWithOptions go through interceptor (#1171)
2023-07-26 - 746bcf2 - Add eager workflow start (#1164)
2023-07-31 - 30c8ca2 - Rework cancellation counting (#1181)
2023-07-31 - 6523916 - Expand WF context locking to cover WFT responses (#1182)
2023-07-31 - 7fe0679 - Clarify ScheduleToStartTimeout in ActivityOptions (#1183)