Skip to content

Releases: temporalio/sdk-java

v1.0.4 release

24 Dec 01:41
d49e924

Choose a tag to compare

Highlights

  • Deadlock detector will now show all workflow threads making debugging easier.
  • SDK will no longer use illegal reflective access during exception unwrapping.
  • Fixed a bug with missing cancellation in child sub-scopes.
  • Added binary checksum to the worker options, which can now be used in the auto-reset.
  • Added an option to run only workflow task and local activity pollers.
  • Fixed an issue with eager activity task pre-fetching which could be causing activity timeouts when all handlers are busy.

All changes

2020-11-06 - ac9805c - Use JSR250 javax.annotation-api when compiling serviceclient with JDK 9 and up. (#231)
2020-11-06 - d1ea450 - Added dump of all workflow thread to the deadlock detector (#246)
2020-11-10 - aa04a4b - Fix NPE in sticky poller (#249)
2020-11-11 - cd103b0 - Fix flaky test that was relying on sleep (#250)
2020-11-16 - 4bb23c3 - Stop using illegal reflective access for setting cause during exception (#251)
2020-11-19 - fcbb4e3 - Updated setDoNotRetry javadoc (#261)
2020-11-23 - 6f2ef6e - Added missing status to testservice (#266)
2020-11-25 - 7b3c847 - Remove redundant line break from the README (#268)
2020-12-04 - e735da2 - Add getPreviousRunFailure method to Workflow API (#260)
2020-12-09 - 4a598d3 - Avoid removing sub-scopes that have cancellation promise or child sub-scopes (#269)
2020-12-09 - ff0bb11 - Updating proto submodule to v1.3.0 (#271)
2020-12-10 - 4c15004 - Add a gradle task that cleans all sub-projects (#272)
2020-12-10 - 5e4ecb3 - Adding binary checksum to WorkflowClientOptions (#270)
2020-12-10 - d951d7a - Upgrade dependencies and gradle version (#274)
2020-12-14 - 2b4bb01 - Add namespace to requests where it was missing (#275)
2020-12-15 - 2457ee6 - Adding an option to disable activity pollers (#276)
2020-12-21 - 8191168 - Updating dependencies to the latest (#285)
2020-12-21 - 9f88794 - Apply time unit in cancellable scope (#279)
2020-12-21 - bf1e538 - Fixed activity registration (#287)
2020-12-22 - d1e0f6b - Avoid activity task prefetching when handlers are busy (#286)

Metrics, deadlock detector and daemon threads

05 Nov 04:01
370bb6e

Choose a tag to compare

  • Report histograms and use snake case naming convention (#242)
  • Workflow thread deadlock detector (#243) …
  • Use daemon threads for connection backoff resetter (#244)

Sticky workflow task fixes and grpc header propagation

31 Oct 23:37
4b03019

Choose a tag to compare

  • Copy headers from factory options into grpc requests (#238)
  • Remove reset sticky call from cache invalidation (#236)
  • Default sticky task schedule to start timeout (#239)

Metrics reporting fixed

26 Oct 15:10
8fba045

Choose a tag to compare

#230 fixed metric reporting to ensure that the same set of metric tags is reported for all request metrics. When different sets of tags are used Prometheus drops the metrics.

First production release

30 Sep 01:48
f0bbf84

Choose a tag to compare

Release Highlights

v1.0.0 is Temporal's first production ready release!

Let us know how you use it: https://community.temporal.io/

Change details since v0.29.1

#217 Switched Java SDK to multiple projects. temporal-sdk now depends on temporal-serviceclient.

#223 Fixed unit test handling of non-retryable types in activity retry options

#221 Reduced default maximum gRPC backoff interval

#219 Fixed handling of empty history pages

#218 Fixed maxConcurrentWorkflowTaskExecutionSize and maxConcurrentActivityExecutionSize WorkerOptions

Compatibility

Works with service releases starting from v1.0.0.

Works with service releases starting from v0.29.0

16 Sep 03:45
2feecc1

Choose a tag to compare

Critical race condition fix in Workflow.sideEffect. PR #212

Added getAttempt to WorkflowInfo. PR #210

Deprecated. Use v0.29.1 that contains a critical bug fix.

25 Aug 03:28
27ba155

Choose a tag to compare

Works with service release v0.29.0.

Changes since 0.28.0:

  • Rewrite of the state machine powering the SDK (#172)
  • Support for building with JDK9+ (#176, #177)
  • Fix of java.lang.Error thrown from activity (Issue #185)
  • Fix of unit test framework time skipping bug (Issue #173)
  • Fix of local activity options validation (Issue #175)
  • Defaulting RetryOptions (Issue #174)
  • Fail workflow task instead of a workflow on unexpected exceptions. (#199)

Works with service release v0.28.0

31 Jul 02:53
19c701d

Choose a tag to compare

Non-code-complete release that works with service v0.28.0.

Works with service release v0.27.0

15 Jul 22:19
f4cd110

Choose a tag to compare

Changes since v0.26.0:

  • Added ActivityInterceptor
  • Refactored metrics reporting and updated metric names
  • Updates due to path changes of the proto generated classes.
  • Replaced word decision with command or workflow task.

Works with service release v0.26.0

28 Jun 07:02
fdc98fc

Choose a tag to compare

Changes since v0.25.0:

  • Renamed task list to task queue