Releases: cadence-workflow/cadence-java-client
v2.5.0 Release
New features
- Local activities
Bug fixes
- Make sure signals are applied in the same order as they appear in history
- Fix retry option without expiration in test env
- Maintain correct runID during reset for random ID generation
- Default retry policy for Cadence service API calls
- Change markers to use headers to serialize internal fields
- Miscellaneous stability and debuggability fixes
v2.4.2 release
New features
- Support Memo in visibility
Bug fixes
- Fix getVersion without decision event
- Make NoopScope metric scope really a no-op operation
- Add some more fields in activity info
- Wire workflow id reuse policy in start workflow execution params
- Add missing metrics tags for activity and decision task processing
- Multiple fixes to get build and unit-tests passing when building cadence-java-client from Windows.
- Allow data converter to handle non-serializable throwables in the cause chain
v2.4.1 Release
Fix deadlock in sticky decider cache eviction
Fix cron schedule merge issue in child workflow option
v2.4.0 release
- Fixed InternalServiceError Error message on continue_as_new
- Correctly calculate workflow e2e latency
- Exposing CancellationScope.run method
- Add TBase and TEnum type adapter for JsonDataConverter
- Cron child workflow
v2.3.1 Release
- Added support for SignalWithStart Service API
- Expose methods in TChannel service to allow user to add headers in Thrift request
v2.3.0 Release
- Added cron schedule support.
- Fix infinite retry in activity and workflow worker due to non-retryable error.
- Fixed hanging on testEnv.close when testEnv was not started.
- Fix for NPE when method has base type return type like int.
- Fixed JsonDataConverter to correctly report non serializable exceptions.
v2.2.0 Release
- Added support for workflow and activity server side retries.
- Clean worker shutdown. Replaced Worker shutdown(Duration) with Worker shutdown, shutdownNow and awaitTermination.
- Fixed thread exhaustion with a large number of parallel async activities.
v2.1.2 Release
Enable Sticky Execution by default.
Fix query thread leak
v2.1.1 Release
Disable sticky execution by default
v2.1.0 Release
Features:
Enable Sticky Workflow Execution by default.
Workflow state will be cached locally until workflow completes or gets evicted.
Cached workflows are limited by number and thread consumption. Ex:
Worker.FactoryOptions options =
new Worker.FactoryOptions.Builder()
.setMaxWorkflowThreadCount(500)
.setCacheMaximumSize(300)
.Build();
Worker.Factory factory = new Worker.Factory(“domain”, options);
Caching can be disabled by setting setDisableStickyExecution to true.
Worker.FactoryOptions options =
new Worker.FactoryOptions.Builder()
.setMaxWorkflowThreadCount(500)
.setDisableStickyExecution(true)
.Build();
Worker.Factory factory = new Worker.Factory(“domain”, options);
Fixes:
Eliminated DestroyWorkflowThreadError ERROR when signal handler is blocked
Thread Leak fix for DeterministicRunner::close