Skip to content

Releases: cadence-workflow/cadence-go-client

v0.8.2 Release

09 May 17:21
d481995
Compare
Choose a tag to compare

New feature

  • cd8a63e Support Memo in visibility

Bug fixes

  • 4cc749b enable worker graceful shutdown v2
  • 3ae228c Improve error when workflow is missing arguments to an activity
  • ccf2680 allow activity logger to have workflow id and run id
  • 7267c29 Fix invalid memory address or nil pointer dereference
  • df2d96b Poll for decision task with binaryChecksum
  • c99d7e5 Improved panic message when MutableSideEffect not found during replay
  • d481995 Correctly pass through WorkflowIDReusePolicy on SignalWithStart API

v0.8.1 Release

19 Mar 19:49
4accc5e
Compare
Choose a tag to compare

Bug fixes and IDL sync

  • 1a328be 2019-03-17 Fix buffered channel bug (#666) [GitHub]
  • 91c82a2 2019-03-14 Fix godocs for child policy (#662) [GitHub]
  • 759f50a 2019-03-13 Reset stickyBacklog when pollForDecisionTask call failed (#660) [GitHub]
  • b9e6b1b 2019-03-12 Update doc on SignalWithStart to support WorkflowIDReusePolicy (#657) [GitHub]
  • 6abb244 2019-03-08 Add link to godoc [GitHub]
  • 6bcabf4 2019-03-08 Fix typos in comments [GitHub]
  • f5e27d2 2019-03-07 Added missing Cron and parent related fields to WorkflowInfo (#655) [GitHub]
  • 4ce3f00 2019-03-06 Workflow returning PanicError should fail workflow (#654) [GitHub]
  • 51dec69 2019-02-27 Added panic handler to executeMock (#651) [Bowei Xu]
  • f26b23a 2019-02-20 Update doc for list API (#646) [GitHub]
  • 5888c6a 2019-02-20 Graceful handling of goexit inside an activity while testing (#645) [Maxim Fateev]
  • 38ffc46 2019-02-06 Test framework: add support to mock GetVersion (#641) [GitHub]
  • ef4ea25 2019-02-01 Add unit test support for GetLastCompletionResult and GetHeartbeatDetails (#636) [GitHub]
  • 05e5f70 2019-02-01 Introducing new error type for unknown external workflow execution (#639) [Maxim Fateev]
  • e0ccefb 2019-01-25 Sync idl for WF reset API (#624) [GitHub]
  • c8a3f45 2019-01-18 Test: Use UTC for cron schedule (#630) [GitHub]

v0.8.0 Release

18 Jan 22:06
4d59d36
Compare
Choose a tag to compare

Native Cron Support

Cadence Server 0.5.0 starts to support this feature (https://github.com/uber/cadence/releases/tag/v0.5.0 )

Misc

  • 5fc3b8d 2019-01-07 Add tags for activity and local activity metrics (#626)
  • ed836f6 2018-12-28 Add descriptions on list API (#625)
  • ef05d61 2018-12-19 update doc (#622)
  • 38421e0 2018-12-11 Remove admin thrift file (#619)
  • edfd47e 2018-12-07 Changed to not require retryPolicy expirationInterval when maxRetries is present (#613)
  • 946082b 2018-12-07 Panic test if attempt to run multiple workflows with same TestWorkflowEnvironment (#617)
  • 61759b5 2018-11-21 Correctly detect if next decision is failed or not (#608)
  • df5ddf5 2018-11-21 Emit non-deterministic error log (#610)
  • 604e41a 2018-11-19 Treat local activity mismatch as non-deterministic error (#607)
  • b0d3799 2018-11-05 Add mock for encoded.Value (#602)
  • 59362da 2018-11-01 update workflow.GoNamed() doc (#599)
  • d4d8e2f 2018-10-30 Flush buffered heartbeat if activity is not completed (#601)

v0.7.6 Release

26 Oct 21:26
2875316
Compare
Choose a tag to compare

Changelog:

  • Handle illegal StateMachine transition as Non-Deterministic error (#597)
  • Sync idl for sigWithStart (#593)
  • Add securityToken in domain write request (#592)
  • Do not run local activity in query task (#591)
  • Plumb through workflow type into client (#590)
  • Include LocalActivityType into the result marker (#588)
  • Upgrade go to 1.11 (#589)
  • Add executable checksum to DecisionTaskCompleted (#587)

v0.7.5 release

08 Oct 23:50
Compare
Choose a tag to compare

Retries

  • server side retry (#516)
  • Sync retry IDL (#549)
  • Add support for RetryPolicy in test framework (#557)
  • Local retry for local activity (#553)
  • Make ExpirationInterval on retry policy required. (#560)
  • Retry with heartbeat details (#570)

Bug fixes

  • Fix getErrorDetails panic (#542)
  • Ignore result when error is not nil (#543)
  • Handle cancel timer failed event (#545)
  • Fail decision task when process task return error (#544)
  • Singleton default data converter (#547)
  • Cancel outstanding activities on DomainNotActiveError (#556)
  • Skip processing more events on panic (#561)
  • Fix nil pointer error when access sticky cache (#565)
  • Fix test framework to allow same ActivityID from different child work
  • Fix max concurrent decision task (#575)
  • Flush buffered heartbeat if activity failed (#577)
  • Return WorkflowAlreadyStarted error from child workflow if the start

Miscellaneous

  • Add metrics for non-deterministic error. (#551)
  • Update README.md (#552)
  • Add WorkflowID and RunID to panic log (#554)
  • Drop local activity result when it no longer apply (#555)
  • Emit StickyCacheEvict metrics (#559)
  • Enable signal to child workflow in test framework (#566)
  • Add support for WorkflowTimeout to test framework (#567)
  • Add heartbeat support on test framework (#572)
  • RequestCancelActivityTaskFailedEvent is not decision event (#580)
  • Migrate from using glide to dep (#581)
  • Test framework: make sure start listener returns before activity star
  • Add package overview documentation (#586)

v0.7.4 Release

13 Aug 20:47
fd0b3da
Compare
Choose a tag to compare

Bug fixes

  • Fix query for unit test framework (#535)
  • Fix MutableSideEffect (#540)
  • Expose worker option to set ConcurrentDecisionTaskExecutionSize (#539)
  • Fix ResetStickyTaskList call (#541)
  • Fix getErrorDetails panic (#542)

v0.7.3 Release

30 Jul 22:09
4be6b26
Compare
Choose a tag to compare

Bug fixes

  • fix decision state machine (#532)
  • Revert "fix decision state machine (#533)

v0.7.2 Release

27 Jul 23:49
dd3ec32
Compare
Choose a tag to compare

Bug fixes

  • Evict execution context from cache when there is no workflow definition found (#517)
  • Fix nil pointer in complete decision (#528)
  • Decision reordering bug (#529)
  • Fix decision state machine (#531)

Miscellaneous

  • Add an AfterFn mock-delay-returning function (#521)
  • Reduce defaultDecisionTaskTimeout to 10 (#522)
  • Include workflow execution tags on non-deterministic error (#524)

v0.7.1 Release

03 Jul 22:43
Compare
Choose a tag to compare

New features

  • Sync API: Frontend:ListDomains Admin: DescribeHistoryHost (#508)
  • Sync API defs from server repo (#506)
  • Replay history from file (#500) [Bowei Xu]
  • Add workflowID in result of ExecuteWorkflow (#491)
  • Update RespondDecisionTaskCompleted idl (#492)
  • add admin.thrift and expose autogenerated stubs (#489)
  • Add ResetStickyTaskList API to cadence client (#486)

Bug fixes

  • Log metrics and do not panic when the channel receives a corrupted signal (#513)
  • Fix service wrapper init for metrics (#515)
  • error getDetails (#514)
  • Clean up .gen/go/admin/adminservice_inquiryworkflowexecution.go (#510)
  • Return Nil as result from testsuite on error (#505)
  • Fix firewall warning of client in readme (#504)
  • handle long running decision (#498)
  • Fix typo in NewCustomError (#499) [yiminc]
  • fix chained future (#488)

Miscellaneous

  • Improve metrics with workflow and activity type (#509)
  • change long poll history timeout (#512)
  • Refactor workflowExecutionContext (#501)
  • Rename MaxConcurrentWorkflow constants (#502)
  • Adjust defaultMaxConcurrentTask from 50 to 1000 (#503)
  • Update comments in workerOptions (#494)
  • Reset workflow stickiness on eviction (#496)

v0.7.0 Release

25 May 22:55
8f3c241
Compare
Choose a tag to compare

Break change

  • (#449) DomainClient Describe and Update functions' signature changed to
Describe(ctx context.Context, name string) (*s.DescribeDomainResponse, error)
Update(ctx context.Context, request *s.UpdateDomainRequest) error
  • (#480) Removed special channel for signal since not needed anymore

New features

  • Add ability to mock start child workflow failed case (#444)
  • Added worker.ReplayWorkflowHistory and ReplayWorkflowExecution (#441) doc
  • Refactor domain client update and describe for crossdc (#449)
  • Expose method to set sticky cache size (#455)
  • Optimize cancellation via context (#461)
  • Add non-deterministic workflow option (#475)
  • Add Data Converter to support custom serialization/deserialization (#463) doc
  • Add SetTestTimeout for TestActivityEnvironment (#484)

Bug fixes

Memory leak fixes

  • Sticky cache metrics (#453)
  • Do not keep reference for the whole history during decision process (#457)
  • Fix closure leak (#460)
  • Separate input from activityOptions (#465)
  • Fix signal leak (#471)
  • Fix for re-slicing leak (#472)

Other fixes

  • Fix test signal external workflow (#446)
  • Check nil before stop workflow worker (#450)
  • Fix for client.ExecuteWorkflow bug (#452)
  • Release workflow when sticky is not enabled (#456)
  • Fix flaky test (#458)
  • Clear current decision task on sticky workflow state when complete it (#462)
  • Fix replay time (#470)
  • Fix nil pointer (#473)
  • Fix TestDispatchClose (#483)

Miscellaneous

  • Un-pin zap, bump to a newer version to pull in zaptest logger (#438)
  • Bump Go tool version to 1.10 in travis.ci (#466)
  • RunID optional for DescribeWorkflowExecution (#468)
  • Sync idl file from server (#477)
  • Clean up / optimize makefile, sandbox builds better. (#474)
  • Remove SignalChannel (#480)
  • Release verison 0.7.0 (#485)
  • Add tag ClientImpl to all metrics (#482)