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
- [`workflow`] Don't fail workflow task if a query handler was not found ([#932](https://github.com/temporalio/sdk-typescript/pull/932)).
112
+
113
+
- [`worker`] Wait for worker shutdown if `runUntil` promise throws ([#943](https://github.com/temporalio/sdk-typescript/pull/943)).
114
+
Previously, `Worker.runUntil` would not wait for worker to complete its shutdown if the inner `fnOrPromise` threw an
115
+
error. Now, it will always wait for both worker shutdown AND the inner `fnOrPromise` to resolve. If either one throw
116
+
an error, then that error is rethrown. If _both_ throw an error, a `CombinedWorkerRunError` will be thrown instead,
117
+
with a `cause` attribute containing both errors.
118
+
119
+
- The (experimental) `FailureConverter` type now receives its `PayloadConverter` through an argument on convertion
120
+
methods, rather than through an option supplied at construction time ([#936](https://github.com/temporalio/sdk-typescript/pull/936)).
121
+
This provides a more predictable behaviour in the common case of using the default failure converter. More over,
122
+
`FailureConverter.errorToFailure` function's return type has been lossen, so that it supports greater customization on
123
+
user side ([#927](https://github.com/temporalio/sdk-typescript/pull/927))
124
+
125
+
- [`client`] `ConnectionOptions.connectTimeout` is now being applied correctly ([#954](https://github.com/temporalio/sdk-typescript/pull/954)).
126
+
127
+
- [`workflow`] Properly encode memos in `makeContinueAsNewFunc` ([#955](https://github.com/temporalio/sdk-typescript/pull/955)).
128
+
They were previously not encoded at all, resulting in a failure due to invalid data.
129
+
130
+
- [`worker`] Activity metric `scheduled_to_start_latency` now reports the time from the schedule time of the
131
+
_current attempt_ to the start time of that same attempt, instead of the time elapsed since the initial schedule time
132
+
([#975](https://github.com/temporalio/sdk-typescript/pull/975)). This new definition aligns with other SDKs and is
133
+
more useful from a monitoring perspective.
134
+
135
+
- [`workflow`] Previously, `condition(fn, 0)` was incorrectly handled the same as `condition(fn)`, meaning that the
136
+
function would block indefinitely and would return nothing once `fn` evaluated to true. It now behaves the same as
137
+
`condition(fn, 1)`, ie. the function will sleep for a very short time, then return true if `fn` evaluates to true,
138
+
or false if timeout reaches its expiration ([#985](https://github.com/temporalio/sdk-typescript/pull/985)).
139
+
140
+
- [`core`] Fixed some non-deterministic behaviour in workflows containing local activities, due to heartbeats
141
+
being incorrectly counted as logical workflow tasks ([#987](https://github.com/temporalio/sdk-typescript/pull/987)).
142
+
143
+
- [`core`] `core-bridge` has been refactored so that it does not retain static references to custom TypeScript error
144
+
constructors ([#983](https://github.com/temporalio/sdk-typescript/pull/983)). This change is part of an ongoing effort
145
+
to resolve multiple issues observed by some users in execution of their unit tests based on sdk-typescript, notably in
146
+
conjunction with Jest, Mocha and Vitest.
147
+
148
+
- [`worker`] The default log function now write errors using `process.stderr.write` rather than `console.error`
149
+
([#940](https://github.com/temporalio/sdk-typescript/pull/940)). This avoids complains by some test runners.
150
+
151
+
- [`debugger`] Log errors comming from VS Code debugger ([#968](https://github.com/temporalio/sdk-typescript/pull/968))
152
+
153
+
- Bug Fixes in Core SDK:
154
+
- Fixed a situation causing Core to send activations containing both a legacy query and other jobs ([#427](https://github.com/temporalio/sdk-core/pull/427))
155
+
- Don't use a process-wide unique id for sticky queues ([#430](https://github.com/temporalio/sdk-core/pull/430))
156
+
- Added support for ignorable history events ([#422](https://github.com/temporalio/sdk-core/pull/422))
157
+
- Avoid hang in duplicated run-ids during replay ([#417](https://github.com/temporalio/sdk-core/pull/417))
158
+
- Backoff more if we receive ResourceExhausted error ([#408](https://github.com/temporalio/sdk-core/pull/408))
159
+
160
+
### Miscellaneous Tasks
161
+
162
+
- Improved code linting ([#771](https://github.com/temporalio/sdk-typescript/pull/771), thanks to [`@JounQin`](https://github.com/JounQin) 🙏)
163
+
- [`client`] Extract a BaseClient super class ([#957](https://github.com/temporalio/sdk-typescript/pull/957))
0 commit comments