v1.6.0
Highlights
- This release contains important fixes that improve the stability of workers.
- Numerous fixes for worker thread leaks and handling of failure cases.
- There is a race condition in gRPC-java that may break workers. This release contains a workaround until the issue is fixed.
Migration notes
temporal-testing-junit4
, temporal-testing-junit5
, and temporal-testing
merged into one temporal-testing
module that exposes Gradle "capabilities."
For Gradle:
See https://github.com/temporalio/sdk-java/tree/master/temporal-testing#usage for Gradle-specific instructions. Or you can just switch to temporal-testing
and provide junit dependency yourself without digging into Gradle's capabilities.
For other build tools:
Just switch onto using just temporal-testing
instead of temporal-testing-junit4
or temporal-testing-junit5
.
What's Changed
- Upgrade proto to the latest server API by @Spikhalskiy in #859
- Updates temporal-sdk dep in temporal-kotlin by @natalie-zamani in #867
- Fix test service state machines to handle situation when activity get cancelled from SCHEDULED state before being picked up by @Spikhalskiy in #866
- Adds workflow id and run id into workflows method names by @Spikhalskiy in #868
- Merge 3 existing testing modules into one temporal-testing by @Spikhalskiy in #870
- Report WORKFLOW_TASK_FAILED_CAUSE_NON_DETERMINISTIC_ERROR status by @Spikhalskiy in #869
- Improve trace logging around WorkflowExecutorCache by @Spikhalskiy in #876
- Memory/resource leak improvements in TestWorkflowService by @nagl-stripe in #877
- Polish WorkflowThreadContext thread status switching by @Spikhalskiy in #879
- Adds warning log message in case of subsequent new worker calls for the same task queue by @Spikhalskiy in #885
- Fix thread leak in legacy query path by @Spikhalskiy in #881
- Adds more details into WorkflowCancellationRunningActivityTest by @Spikhalskiy in #884
- Fix the type of an exception from the test service by @nagl-stripe in #890
- Disable grpc idleTimer as a temporary solution to race condition in gRPC-java by @Spikhalskiy in #889
- Modify test assertions to give more information for flakes investigation by @Spikhalskiy in #892
- Cleanup Activity exception javadocs by @Spikhalskiy in #891
- Exposes getWorkflowExecutionHistory on TestWorkflowEnvironment by @Spikhalskiy in #897
- Add validation for maximumInterval vs minimumInterval by @Spikhalskiy in #899
- Expose methods for loading history from files as WorkflowExecutionHistoryLoader by @Spikhalskiy in #903
- Rearrange WFT handle logging and metrics to accommodate all failure modes by @Spikhalskiy in #905
- Improve documentation on the Signal method by @Spikhalskiy in #907
- [Refactoring] Move errorprone settings into a separate script by @Spikhalskiy in #909
- [Refactoring] Cleanup resource management in tests by @Spikhalskiy in #910
- Fix signalWithStart integration with tracing by @Spikhalskiy in #913
- Add @bergundy and @mmcshane to CODEOWNERS by @Spikhalskiy in #919
- Doc describing building test-server into a native binary using GraalVM native-image by @Spikhalskiy in #917
- Upgrade grpc version to 1.42.1 by @Spikhalskiy in #920
- Release v1.6.0 by @Spikhalskiy in #921
New Contributors
- @natalie-zamani made their first contribution in #867
Full Changelog: v1.5.0...v1.6.0