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: CHANGELOG.md
+59Lines changed: 59 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,65 @@ All notable changes to this project will be documented in this file.
4
4
5
5
Breaking changes marked with a :boom:
6
6
7
+
## [1.4.0] - 2022-09-28
8
+
9
+
### Features
10
+
11
+
- :boom: Make client gRPC retry more configurable ([#879](https://github.com/temporalio/sdk-typescript/pull/879))
12
+
13
+
BREAKING CHANGE: [`GrpcRetryOptions.retryableDecider`](https://typescript.temporal.io/api/interfaces/client.grpcretryoptions/#retryabledecider) now gets the `attempt` number as the first argument. This is an advanced/rare option, and the change should be caught at compile time.
14
+
15
+
Also adds [`BackoffOptions`](https://typescript.temporal.io/api/interfaces/client.backoffoptions/) and [`defaultGrpcRetryOptions`](https://typescript.temporal.io/api/namespaces/client/#defaultgrpcretryoptions).
16
+
17
+
NOTE: This feature is experimental and its API may change.
18
+
19
+
- [`client`] Delete search attributes with empty array values in describe() response ([#878](https://github.com/temporalio/sdk-typescript/pull/878))
20
+
21
+
:warning: This fixes a bug where empty/deleted Custom Search Attributes were returned as `[]` from [`workflowHandle.describe()`](https://typescript.temporal.io/api/interfaces/client.workflowhandle/#describe). Such attribute properties will no longer be present in the [`WorkflowExecutionDescription.searchAttributes`](https://typescript.temporal.io/api/interfaces/client.WorkflowExecutionDescription#searchattributes) object. Note that this behavior is consistent with what you'll see if using a pre-1.4 version of the SDK with Server version 1.18.
22
+
23
+
- Add support for custom failure converters ([#887](https://github.com/temporalio/sdk-typescript/pull/887))
24
+
25
+
Adds [`DataConverter.failureConverterPath`](https://typescript.temporal.io/api/interfaces/worker.dataconverter/#failureconverterpath) and [`FailureConverter`](https://typescript.temporal.io/api/interfaces/common.FailureConverter), which converts from proto Failure instances to JS Errors and back.
26
+
27
+
We recommended going with the default (i.e. not using the `failureConverterPath` option) in order to maintain cross-language Failure serialization compatibility.
28
+
29
+
NOTE: This feature is experimental and its API may change.
It returns the current system time in milliseconds. The safe version of time is `new Date()` and `Date.now()`, which are set on the first invocation of a Workflow Task and stay constant for the duration of the Task and during replay.
34
+
35
+
- Upgrade core, add support for OTEL metric temporality ([#891](https://github.com/temporalio/sdk-typescript/pull/891))
36
+
37
+
- Upgraded otel and other deps ([temporalio/sdk-core#402](https://github.com/temporalio/sdk-core/pull/402))
38
+
- Fix incorrect string names for polling methods ([temporalio/sdk-core#401](https://github.com/temporalio/sdk-core/pull/401))
:warning: Any imports from `@temporalio/internal-*` need to be updated. As noted in their named and READMEs, they're not meant to be used to directly, so we don't imagine this is a common case. However, if you do find instances, they should be changed to importing from:
- [`common`] Deprecate internal functions that should have never been exported ([#893](https://github.com/temporalio/sdk-typescript/pull/889))
52
+
53
+
Some time-related and binary conversion internal helper functions were exported from `@temporalio/common`. They are now deprecated and hidden from the API reference, as they're meant for internal use only.
54
+
55
+
- [`workflow`] Export `LoggerSinks` from `@temporalio/workflow` ([#889](https://github.com/temporalio/sdk-typescript/pull/889))
56
+
- [`client`] Add [max retry interval](https://typescript.temporal.io/api/interfaces/client.backoffoptions/#maxintervalms) for client ([#883](https://github.com/temporalio/sdk-typescript/pull/883))
57
+
- Label grpc-retry API as experimental ([#891](https://github.com/temporalio/sdk-typescript/pull/891))
58
+
- Make the failure-converter code symmetric ([#891](https://github.com/temporalio/sdk-typescript/pull/891))
59
+
60
+
### Bug Fixes
61
+
62
+
- Fix double import of long in generated proto TS files ([#891](https://github.com/temporalio/sdk-typescript/pull/891))
63
+
- Fix bundler with default workflow interceptors ([#891](https://github.com/temporalio/sdk-typescript/pull/891))
64
+
- Limit eager activity requests to 3 ([#891](https://github.com/temporalio/sdk-typescript/pull/891))
* `temporality` is the type of aggregation temporality for metric export. Applies to both Prometheus and OpenTelemetry exporters.
115
+
*
116
+
* See the [OpenTelemetry specification](https://github.com/open-telemetry/opentelemetry-specification/blob/ce50e4634efcba8da445cc23523243cb893905cb/specification/metrics/datamodel.md#temporality) for more information.
113
117
*/
114
118
exporttypeMetricsExporter={
115
-
/**
116
-
* Type of aggregation temporality for metric export.
117
-
*
118
-
* See the [OpenTelemetry specification](https://github.com/open-telemetry/opentelemetry-specification/blob/ce50e4634efcba8da445cc23523243cb893905cb/specification/metrics/datamodel.md#temporality) for more information.
0 commit comments