v1.11.0
github-actions
released this
02 May 14:45
·
432 commits
to master
since this release
Highlights
This release changes the default preferred behavior of WorkflowServiceStubs
from eager connectivity and throwing error if the Temporal Server is not available to a lazy connectivity on the first request. See migration notes.
Fixes
- sticky_cache_size was updating only during forced evictions
- test service stubs were time-sensitive to time skipping that may require long execution of application code and were throwing DEADLINE_EXCEEDED
- OpenTracing was logging forced thread evictions from the cache as errors
Migration notes
WorkflowServiceStubs#newInstance
, WorkflowServiceStubsOptions.Builder#setDisableHealthCheck
,
WorkflowServiceStubsOptions.Builder#setHealthCheckAttemptTimeout
and WorkflowServiceStubsOptions.Builder#setHealthCheckTimeout
are deprecated.
- The new preferred default is
WorkflowServiceStubs#newServiceStubs
. - Switch to
WorkflowServiceStubs#newServiceStubs
if you were disabling health check on the client start previously. - Switch to
WorkflowServiceStubs#newConnectedServiceStubs
if you prefer an explicit health check call on client creation. Pass your oldWorkflowServiceStubsOptions.Builder#setHealthCheckTimeout
as atimeout
parameter value to this method (null
supported for default).
What's Changed
- Add trivial describeNamespace test server implementation by @Spikhalskiy in #1160
- Fix sticky_cache_size gauge behavior by @Spikhalskiy in #1159
- Add TestEnvironmentOptions#registerSearchAttribute by @Spikhalskiy in #1161
- Evictions are not logged as errors in opentracing anymore by @Spikhalskiy in #1164
- Rework #setChannelInitializer method for easier access, remove old deprecated classes and methods by @Spikhalskiy in #1170
- Add a clear message to signal user mistake if newWorkflowThread is overridden to null by @Spikhalskiy in #1173
- Fix test service stubs throwing DEADLINE_EXCEEDED by @Spikhalskiy in #1174
- Improve illegal custom interceptors error reporting by @Spikhalskiy in #1175
- Unify the limit on gRPC incoming message across SDKs to 128Mb by @Spikhalskiy in #1176
- Explicit methods for lazy and eager connecting client, new #healthCheck method on stubs by @Spikhalskiy in #1168
- Improve javadocs around interceptors by @Spikhalskiy in #1180
Full Changelog: v1.10.0...v1.11.0