|
| 1 | +Highlights: |
| 2 | + |
| 3 | +This release changes the default preferred behavior of WorkflowServiceStubs from an eager connection and throwing error |
| 4 | +if the Temporal Server is not available to a lazy connectivity on the first request. See migration notes. |
| 5 | + |
| 6 | +Fixes: |
| 7 | + |
| 8 | +- sticky_cache_size was updating only during forced evictions |
| 9 | +- test service stubs were time sensitive to time skipping that may require long execution of application code and were throwing DEADLINE_EXCEEDED |
| 10 | +- OpenTracing was logging forced thread evictions from the cache as errors |
| 11 | + |
| 12 | +Migration notes: |
| 13 | + |
| 14 | +`WorkflowServiceStubs#newInstance`, `WorkflowServiceStubsOptions.Builder#setDisableHealthCheck`, |
| 15 | +`WorkflowServiceStubsOptions.Builder#setHealthCheckAttemptTimeout` and `WorkflowServiceStubsOptions.Builder#setHealthCheckTimeout` |
| 16 | +are deprecated. |
| 17 | + |
| 18 | +- The new preferred default is `WorkflowServiceStubs#newServiceStubs`. |
| 19 | +- Switch to `WorkflowServiceStubs#newServiceStubs` if you were disabling health check on the start previously. |
| 20 | +- Switch to `WorkflowServiceStubs#newConnectedServiceStubs` if you prefer an explicit health check on creation. Pass your old `WorkflowServiceStubsOptions.Builder#setHealthCheckTimeout` as a `timeout` parameter to this method (`null` supported for default). |
| 21 | + |
| 22 | +Changeset: |
| 23 | +2022-04-21 - 38b4cd0c - Add TestEnvironmentOptions#registerSearchAttribute (#1161) |
| 24 | +2022-04-21 - a3569d7b - Add trivial describeNamespace test server implementation (#1160) |
| 25 | +2022-04-21 - b23ea602 - Fix sticky_cache_size gauge behavior (#1159) |
| 26 | +2022-04-22 - 08b0d284 - Evictions are not logged as errors in opentracing anymore (#1164) |
| 27 | +2022-04-27 - 489b9480 - Fix test service stubs throwing DEADLINE_EXCEEDED (#1174) |
| 28 | +2022-04-27 - 62c3ddf0 - Add a clear message to signal user mistake if newWorkflowThread is overridden to null (#1173) |
| 29 | +2022-04-27 - b6141767 - Rework #setChannelInitializer method for easier access, remove old deprecated classes and methods (#1170) |
| 30 | +2022-04-29 - 37eb2c86 - Add Stubs#healthCheck(), make eager check during client creation disabled by default (#1168) |
| 31 | +2022-04-29 - 600e2540 - Unify limit on gRPC incoming message across SDKs to 128Mb (#1176) |
0 commit comments