Skip to content

Releases: temporalio/sdk-java

v1.0.6 release

27 Feb 06:09
acc3dc1

Choose a tag to compare

Highlights

  • Moved TestWorkflowRule into temporal-testing-junit4 module, if you use it please consume this package instead of temporal-testing.
  • Added abitlity to do async completion, which obeys parallelism constraints, without having to specify task token.
  • Fixed bug with supported query types not being returned for unregistered queries.
  • Fixed a deadlock issue resulting in worker running out of threads in case if signal with start was throwing an exception.
  • [opt-in] gRPC retry options can now be configured in the WorkflowServiceStubsOptions.
  • [opt-in] Users can now specify keep alive configuration for gRPC connections to the server in order to detect dead connections if server closes them abruptly.

All changes
2021-02-01 - 61396a9 - Move TestWorkflowRule to a dedicated module (#303)
2021-02-03 - 86189b2 - Add abitlity to do async completion without having to specify task token (#329)
2021-02-04 - 51f4ee6 - Updating README instructions for running locally (#331)
2021-02-09 - 609ba6c - Release lock before running close and use tryLock in the WorkflowWorker (#339)
2021-02-09 - b9aeebf - Refactored and opened up POJO Workflow and Activity metadata (#337)
2021-02-09 - ddeaa5f - Removed InterruptedException from awaitTermination (#336)
2021-02-16 - 3ef9d6c - Expose WorkflowClientOptions via test extensions (#347)
2021-02-16 - 6b286eb - Move gRPC connections to idle periodically in order to trigger LB (#351)
2021-02-17 - ea3667a - Updating dependencies (#352)
2021-02-24 - ad8831d - Make rpc retry options configurable (#359)
2021-02-25 - 611de11 - Return supported query types for unsupported queries (#360)
2021-02-25 - e637ead - Add keep alive to gRPC connection (#363)

v1.0.5 release

30 Jan 01:32
85593db

Choose a tag to compare

Please note that we've moved classes used for testing into a separate module called temporal-testing. You would need to add a new dependency in gradle:

testImplementation group: 'io.temporal', name: 'temporal-testing', version: '1.0.5'

#Highlights

  • Add dynamic workflow and activity implementation support.
  • Add support for MaxConcurrentActivityExecutionSize for async activities.
  • Add helper methods for setting sslContext.
  • Interceptor refactoring to support headers

#All changes

2020-12-28 - 24a55be - Dynamic workflow and activity implementation support (#289)
2021-01-04 - f7bc07d - Add support for MaxConcurrentActivityExecutionSize for async activities (#291)
2021-01-06 - 38af982 - Move test code into testing module (#292)
2021-01-07 - 9e26a98 - Enforce formatting on buildkite (#293)
2021-01-07 - add9f8f - Adding debug mode (#296)
2021-01-11 - 351a8b9 - Rename debug mode env var (#297)
2021-01-14 - 2bef04f - Add a test for completion of async activity with error (#307)
2021-01-17 - f502d3a - Don't swallow replay workflow exceptions (#304)
2021-01-19 - 21d277f - Updating java sdk dependencies (#316)
2021-01-19 - c5fe428 - Adding code owners (#306)
2021-01-21 - e796ec4 - Rename metric tags (#318)
2021-01-25 - 72f746b - Add helper methods for setting cloud sslContext (#320)
2021-01-26 - b3797d6 - Interceptor refactoring to support headers (#311)
2021-01-27 - 2d9ef36 - Return ref to this in SimpleSslContextBuilder (#322)

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.