Highlights

Breaking Changes

Workflow execution history default format changes

WorkflowExecutionHistory.toJson method now emit proper protobuf JSON fields in SCREAMING_SNAKE_CASE rather than PascalCase. Older versions of the Java SDK will not understand this format. Users can revert to the old format by setting legacyFormat to true.

See also: #2001

HTTP/2 Keep Alive

HTTP/2 Keep alive is now enabled by default. This should help avoid request timeouts on previously idle connections. If users want to revert to the old behavior they can set ServiceStubOptions.setEnableKeepAlive to false.

See also: #1873

Connection Options

Default retry options have been updated to match the core based SDKs. This should help with consistency across the SDKs.

See also: #1989

Bugfixes

  • Dynamic workflows now consistently use context aware data converters.

  • Workflow retry policy is now propagated during continue-as-new and to ContinueAsNewOptions.

Changeset

2023-11-08 - 237ea64 - Update Workflow ID reuse policy java doc (#1930) 2023-11-08 - 4f0119f - Treat signal after workflow complete as NonDeterministicException (#1923) 2023-11-16 - 499593f - Enable TCP keep alive by default (#1873) 2023-11-16 - a2c8a2b - Tag workflow_task_execution_failed with error type (#1932) 2023-11-17 - 9cd9dca - Delete .github/workflows/semgrep.yml (#1934) 2023-12-05 - a411b52 - Switch to temporalio/auto-setup (#1949) 2023-12-06 - bb43d37 - Allow WorkflowImplementationOptions to be passed in TestWorkflowExten… (#1948) 2023-12-14 - 7ee8f96 - Fix ArithmeticException in toJavaDuration. (#1950) 2023-12-18 - 440965b - Removed heardcoded 10 second timeout for an activity under test (#1957) 2024-01-01 - 0bb0782 - Small update to Spring Boot Readme (#1958) 2024-01-02 - 9174397 - Added workflow retry policy propagation during continue-as-new and to ContinueAsNewOptions. (#1961) 2024-01-05 - 1f7a59c - Add build id to workflow info (#1964) 2024-01-11 - 10db5e3 - Remove gogoproto junk (#1968) 2024-01-12 - 201240a - Allow creating a stub of an update only interface (#1967) 2024-01-16 - 806eab7 - Fix start-workers config (#1972) 2024-01-22 - 3c4be9d - Unwrap ExecutionException on sync update (#1974) 2024-01-22 - 4c1bf9f - Clarify local connection option (#1976) 2024-02-01 - 72ebff1 - Prefix some errors with rule identifiers (#1975) 2024-02-16 - 4da4591 - Update Guava to v32.0.1 (#1979) 2024-02-16 - f4a572a - Apply serialization context to Dynamic Workflows (#1992) 2024-02-20 - 78e37a6 - SpringBoot - Add registered workflow and activity impl info to workers template (#1986) 2024-02-23 - 2b05f07 - Update Java SDK retry options for poll operations to match Core SDK. (#1989) 2024-02-29 - ad1dabc - SpringBoot - add server-name to mtls config options (#1998) 2024-03-04 - b182d78 - Ignore history events with worker_may_ignore: true. (#2000) 2024-03-05 - 0e4ef15 - Support newer JSON history format (#2001)