v0.17.0 Release
Breaking changes
WorflowExecutionAlreadyCompletedError
EntityNotExistError splits into EntityNotExistError and WorflowExecutionAlreadyCompletedError in SignalWorkflowExecution, TerminateWorkflowExecute and CancelWorkflowExecution APIs.
EntityNotExistError will be returned if the workflow is not in the history. This could happen if the workflow never starts or the workflow completes and passes the retention days.
WorflowExecutionAlreadyCompletedError will be returned if the workflow is in the history and is completed.
- 65903f7 Add workflow already completed error to client (#1081)
- d9fa282 Handle workflow already completed in heartbeat (#1086)
New features
Auto heartbeat
- 5282e89 Activity Registration Option to automatically record activity heartbeats (#1053)
- 9486c19 Enable auto-heartbeat for replayWorkflowActivity (#1088)
Traffic shadowing worker
- ae9b964 Visibility query builder for workflow shadower (#1055)
- 7829ee0 Workflow shadower (#1058)
- a7ab9d6 Separate test for workflow replayer (#1061)
- 78399b4 Workflow shadower activity implementation (#1062)
- 529722b Update IDL for workflow shadower (#1063)
- d39d9ab Implement shadower worker (#1064)
- fff7f18 Add wait period between scan iterations (#1065)
- 9daccb2 Propagate shadow worker start error (#1068)
- 1bf0fd7 Set default shadow workflow status to OPEN (#1070)
- dd3ec45 Improve workflow replayer (#1082)
- c903538 Make shadowOptions optional in workerOptions (#1087)
Workflow delay start
Misc improvements & bug fixes
- 00508cd Ensure min number of scan workflow result for shadowing (#1084)
- 57463a9 Fix nil user context for activity (#1080)
- b1375e6 Fix logging and metric tags used by shadow worker (#1076)
- fcc703e Update client repo idls commit hash (#1073)
- 7f92111 Minor cleanup of a test file (#1071)
- f929adc Fix the problem of ignoring the detail parameter in TerminateWorkflow function (#1066)
- 7e65cc2 Minor test enhancement for local activity retries (#1069)
- 42f6cac Pin versions with go.mod, similar to server (#1060)
- 3008b97 Update LICENSE for 2021 (#1059)