You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: releases/v1.27.0
+59-13Lines changed: 59 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -4,41 +4,87 @@
4
4
5
5
### WorkflowClient
6
6
7
-
- `WorkflowClient.updateWithStart` has been renamed to `WorkflowClient.startUpdateWithStart`.
8
-
- Instead of taking the workflow method, workflow arguments and a `UpdateWithStartWorkflowOperation`, `WorkflowClient.startUpdateWithStart` now takes the update method, update arguments and a `WithStartWorkflowOperation`. `WithStartWorkflowOperation` holds to the workflow method and workflow arguments to be executed together with the update request.
7
+
- `WorkflowClient.updateWithStart` has been renamed to `WorkflowClient.startUpdateWithStart`.
8
+
- Instead of taking the workflow method, workflow arguments and a `UpdateWithStartWorkflowOperation`, `WorkflowClient.startUpdateWithStart` now takes the update method, update arguments and a `WithStartWorkflowOperation`. `WithStartWorkflowOperation` contains the workflow method and workflow arguments to be executed together with the update request.
9
9
10
10
### WorkflowStub
11
11
12
-
- `WorkflowStub.updateWithStart` has been renamed to `WorkflowStub.startUpdateWithStart`
13
-
- `WorkflowStub.startUpdateWithStart` now just takes the `UpdateOptions`, update arguments and workflow arguments
12
+
- `WorkflowStub.updateWithStart` has been renamed to `WorkflowStub.startUpdateWithStart`.
13
+
- `WorkflowStub.startUpdateWithStart` now just takes the `UpdateOptions`, update arguments and workflow arguments.
14
14
15
15
## Update **(Public Preview)**
16
16
17
-
- The SDK now preforms more rigorous type validation when registering a Workflow with an `@UpdateValidatorMethod` to make sure the type parameters match the linked `@UpdateMethod`
18
-
- The SDK will no longer sometimes throw `WorkflowUpdateException` when calling `WorkflowStub.startUpdate` if the update is rejected. `WorkflowUpdateException` is now consistently throw when getting the result of the update
19
-
- `UpdateOptionsBuilder` no longer generates a update ID when built. Now a unique UUID is generated when the options are used. This is similar to how `WorkflowOptions` and workflow ID work.
17
+
- The SDK now preforms more rigorous type validation when registering a Workflow with an `@UpdateValidatorMethod` to make sure the type parameters match the linked `@UpdateMethod`.
18
+
- The SDK will no longer sometimes throw `WorkflowUpdateException` when calling `WorkflowStub.startUpdate` if the update is rejected. `WorkflowUpdateException` is now consistently throw when getting the result of the update
19
+
- `UpdateOptionsBuilder` no longer generates a update ID when built. Now a unique UUID is generated when the options are used. This is similar to how `WorkflowOptions` and workflow ID work.
20
20
21
21
## Nexus **(Public Preview)**
22
22
23
-
- Workflow started by a Nexus operation now require the Workflow ID to be specified
24
-
- The SDK now preforms more rigorous type validation when registering a Nexus Service to make sure it implements the service properly
23
+
- Workflow started by a Nexus operation now require the Workflow ID to be specified in the `WorkflowOptions`.
24
+
- The SDK now preforms more rigorous type validation when registering a Nexus Service to make sure it implements the service properly.
25
25
- All header maps for Nexus operations are now properly case-insensitive.
26
26
27
27
# **Highlights**
28
28
29
29
## Virtual Threads **(Public Preview)**
30
30
31
-
The Java SDK now has experimental support for virtual threads when using a JVM with a version of 21 or higher. Virtual threads can be used inside workflows by enabling `WorkerFactoryOptions.setUsingVirtualWorkflowThreads`. Users can also use virtual threads for task processing in a worker by enabling `WorkerOptions.setUsingVirtualThreads`.
31
+
The Java SDK now has experimental support for virtual threads when using a JVM with a version of 21 or higher. Virtual threads can be used inside workflows by enabling `WorkerFactoryOptions.setUsingVirtualWorkflowThreads`. Users can also use virtual threads for task processing in a worker by enabling `WorkerOptions.setUsingVirtualThreads`.
32
32
33
33
## Nexus **(Public Preview)**
34
34
35
-
`WorkerInterceptor` now has support for intercepting Nexus workers.
35
+
`WorkerInterceptor` now has support for intercepting Nexus workers.
36
36
37
37
## Update **(Public Preview)**
38
38
39
-
`WorkflowClient` now has a set of static methods called `startUpdate` that can be used to start an update, but not immediately wait on the result. This is a type safe analog to `WorkflowStub.startUpdate`.
39
+
`WorkflowClient` now has a set of static methods called `startUpdate` that can be used to start an update, but not immediately wait on the result. This is a type safe analog to `WorkflowStub.startUpdate`.
40
40
41
41
## Workflow Metadata **(Public Preview)**
42
42
43
43
- The Java SDK now exposes a fixed summary option for local and normal activities.
44
-
- The Java SDK now support `__temporal_workflow_metadata` query, this query allows users to get details about a workflow like its’ current description and what signal, update, and query handlers are registered
44
+
- The Java SDK now support `__temporal_workflow_metadata` query, this query allows users to get details about a workflow like its’ current description and what signal, update, and query handlers are registered.
45
+
46
+
# What's Changed
47
+
48
+
2024-10-16 - acfadbfd - Avoid spamming retries in nexusOperationApplicationFailureFailureConversion (#2272)
0 commit comments