Skip to content

Releases: uber/cadence-java-client

v2.5.0 Release

25 Jun 17:58
0d12425
Compare
Choose a tag to compare

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

31 May 00:16
60408a1
Compare
Choose a tag to compare

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

18 May 00:33
e5f8384
Compare
Choose a tag to compare

Fix deadlock in sticky decider cache eviction
Fix cron schedule merge issue in child workflow option

v2.4.0 release

09 Apr 23:01
71259cb
Compare
Choose a tag to compare
  • 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

05 Mar 22:28
7f85e92
Compare
Choose a tag to compare
  • Added support for SignalWithStart Service API
  • Expose methods in TChannel service to allow user to add headers in Thrift request

v2.3.0 Release

01 Feb 18:50
373ada0
Compare
Choose a tag to compare
  • 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

18 Dec 03:30
7011bd6
Compare
Choose a tag to compare
  • 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

30 Oct 01:02
6df06a2
Compare
Choose a tag to compare

Enable Sticky Execution by default.

Fix query thread leak

v2.1.1 Release

23 Oct 17:26
44296d2
Compare
Choose a tag to compare

Disable sticky execution by default

v2.1.0 Release

19 Oct 23:00
f3dae0c
Compare
Choose a tag to compare

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