Skip to content

Releases: temporalio/sdk-java

v1.2.0 release

05 Aug 22:25
819b191
Compare
Choose a tag to compare

2021-07-02 - 02d37a5 - ProtobufJsonPayloadConverter is fixed to use custom printer provided in constructor (#552)
2021-07-05 - 177b895 - Expose a fixed implementation of WorkflowQueue as a new method of Workflow class (#572)
2021-07-07 - 9a0a939 - Forbid the usage of WorkflowClient, ActivityCompletionClient, and WorkflowServiceStubs from workflow code (#556)
2021-07-27 - 99e7103 - Polish JUnit5 extension: per-test initial time, dynamic workflows and activities (#581)

v1.1.0 release

02 Jul 01:48
dffc55a
Compare
Choose a tag to compare

2021-06-04 - 0727c95 - Add getWorker method to TestWorkflowRule (#528)
2021-06-04 - c09e03c - Avoid throwing IllegalStateException in NoopSuspendableWorker (#527)
2021-06-09 - a6ade13 - Implement configurable DEFAULT_DEADLOCK_DETECTION_TIMEOUT (#524)
2021-06-10 - 2b51430 - Added exclusion of GRPC wrapped InterruptedExceptions logging in Poller during shutdown (#536)
2021-06-11 - 1be5b7d - Pluggable span naming (#511)
2021-06-21 - 3740149 - Cancel child fix (#542)
2021-07-01 - 36fea93 - Allow zero value on some worker options values (#563)

v1.0.9 release

01 Jun 20:12
7e793a2
Compare
Choose a tag to compare

2021-06-01 - a25cafa - Fix health check attributes (#519)

v1.0.8 release

29 May 03:35
a70da06
Compare
Choose a tag to compare

Highlights

  • Option to set default ActivityOptions and per activityType. Can be done
    through the activityStub, WorkflowImplementationOptions, and on a workflow.
  • Added context propagation for local activities
  • Option to set initial time for workflow tests
  • Implemented a Health Check. By default it's on and checks if the server is up
    every 5s. If the server is not up in 10s, the worker will not start. It may break
    those users that deploy workers while server is not up. Please configure in
    WorkflowServiceStubsOptions.

All changes
2021-04-10 - 6fa0fc9 - Do not override Micrometer's naming conventions (#434)
2021-04-13 - af27a9f - Local type (#441)
2021-04-15 - 08f4f96 - Gradle & Temporal Service Update (#442)
2021-04-30 - 7566313 - Change log level from ERROR to INFO for failed workflow task caused by signal race condition (#451)
2021-04-30 - debc357 - Set current time before processing commands (#458)
2021-04-30 - ec663a2 - Updating links to docs in README (#452)
2021-05-03 - e98c19f - Test env sleep (#463)
2021-05-06 - fec4731 - Workflow#newActivityStub(activityInterface) method produces broken activity stubs (#457)
2021-05-07 - 5c7d057 - Do not fail stack trace query on a closed workflow (#473)
2021-05-07 - f22d431 - Fixed implementation of WorkflowExecutionUtils#getInstanceCloseEvent that previously could get into infinite loop after a timeout (#472)
2021-05-10 - 07a10cf - Cleanup the way Pollers handle InterruptedExceptions (#478)
2021-05-11 - 192f0c4 - Use default data converter for search attributes and memo (#483)
2021-05-11 - 23bccf0 - Local activity race condition (#475)
2021-05-11 - df5f244 - Cleanup the way Pollers handle InterruptedExceptions (#477)
2021-05-12 - 45de2dc - Override ObjectMapper in the DefaultDataConverter's payload coverter (#410)
2021-05-14 - b23edac - Added context propagation for local activities (#491)
2021-05-18 - 81afb31 - Fixed SearchAttributes and memo lost from ChildWorkflowOptions (#500)
2021-05-19 - 221c4bb - Per activity method options (#431) (#448) (#497)
2021-05-19 - b9dd6d9 - Option to set initial time for workflow test (#498)
2021-05-28 - 1238ffc - Workflow retry in Test Service (#510)
2021-05-28 - b019915 - Health Check (#504)
2021-05-28 - b0bb4e4 - Out-of-process test server (#470)

v1.0.7 release

09 Apr 23:08
3465d97
Compare
Choose a tag to compare

Highlights

  • OpenTracing support. See temporal-opentracing/README.md for info. Thanks @Spikhalskiy!
  • Bugfixes
  • Note that there are backwards incompatible changes to WorkflowClientInterceptor and ActivityInboundCallsInterceptor -- these are so new and infrequently used we have not revved major version.

All changes
2021-02-26 - a47baff - Updated Gradle and dependencies. (#366)
2021-02-26 - acc3dc1 - Adding release notes for 1.0.6 (#369)
2021-02-26 - e8b03f9 - Make keep alive configurable and opt-in (#367)
2021-03-06 - af9c158 - Workflowtest refactoring (#368)
2021-03-08 - 3cd5222 - Add addWorkflowImplementationFactory ability to the rule to support what DynamicWorkflowTest needs. (#376)
2021-03-08 - 6267972 - Factored out Child tests and a few others (#377)
2021-03-10 - b3fad1d - InboundActivityInterceptor now has an access to header (#375)
2021-03-16 - 1aa7f54 - Update Dependencies (#389)
2021-03-17 - 5f2ac61 - Factored out Signal Tests (#383)
2021-03-17 - 9c384fc - Added missing cause to WorkflowTaskFailedEventAttributes (#388)
2021-03-24 - 5161638 - Dependency Update (#398)
2021-03-24 - fd6bb90 - Add WorkflowStubCallsInterceptor which provides an access to Headers (#382)
2021-03-28 - c802327 - Fix a typo in workflowClientCallsInterceptor() method name introduced in #382 (#399)
2021-03-29 - 81f3d04 - Dependency Update (#408)
2021-03-31 - 8384e53 - Refactor WorkflowTest (#390)
2021-03-31 - b682a2d - Fix TestWorkflowRule#Builder#setWorkerFactoryOptions method signature in accordance with Builder interface (#415)
2021-03-31 - fcec2aa - Make child workflowId available for Interceptors (#409)
2021-04-01 - 5a33a8b - Delete WorkflowTest + Cleanup (#416)
2021-04-01 - b32dca8 - Make TestWorkflowService#continueAsNew respect headers of the original StartWorkflowExecutionRequest (#419)
2021-04-02 - ba691a2 - Testworkflowrule Interceptor Fix (#421)
2021-04-05 - 45cb71c - Dependency Update (#426)
2021-04-05 - d9a0c15 - OpenTracing module is implemented (#418)
2021-04-06 - 057f75d - Fix a potential NullPointer in exception processing inside WorkflowStubImpl (#429)
2021-04-06 - 0c5ae20 - Dependency Update (#428)
2021-04-06 - b642a75 - Fixed timeout property documentation (#411)
2021-04-08 - fd28e21 - Polish temporal-opentracing module (#430)
2021-04-09 - dffa6ee - Disable flaky tests until they are fixed (#427)

v1.0.6 release

27 Feb 06:09
acc3dc1
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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)