Skip to content

Commit 11f0153

Browse files
authored
chore: Update CHANGELOG.md for release 1.8.2 (#1189)
1 parent af6d2a6 commit 11f0153

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,47 @@ All notable changes to this project will be documented in this file.
44

55
Breaking changes marked with a :boom:
66

7+
## [1.8.2] - 2023-08-02
8+
9+
### Features
10+
11+
- [`workflow`] Add support for URL/URLSearchParams inside the workflow sandbox ([#1173](https://github.com/temporalio/sdk-typescript/pull/1173))
12+
13+
- [`worker`] Export the `WorkerStatus` interface ([#1184](https://github.com/temporalio/sdk-typescript/pull/1184)).
14+
15+
### Bug Fixes
16+
17+
- Use custom symbol-based implementation of `instanceof` for all of our custom error classes ([#1166](https://github.com/temporalio/sdk-typescript/pull/1166)).
18+
This is a complete rework of the fixes introduced in 1.8.0 and 1.8.1, both of which turned out to be insufficients.
19+
`instanceof` now works correctly both accross execution contexts and when running tests with Jest.
20+
21+
:boom: The static `is`
22+
function introduced previously on some of our error classes is no longer required, as the `instanceof` operator itself
23+
now behave correctly; these `is` functions have therefore been removed.
24+
25+
- [`client`] Make `action.workflowId` optional on Schedule update ([#1176](https://github.com/temporalio/sdk-typescript/pull/1176))
26+
27+
- [`activity`] `heartbeatTimeoutMs` is now correctly set on Activity's `Context.current().info`. The
28+
`currentAttemptScheduledTimestampMs` property has also been added to that data structure ([#1187](https://github.com/temporalio/sdk-typescript/pull/1187))
29+
30+
- [`workflow`] The Workflow Bundler is now smarter regarding requiring files with incorrect or missing file extensions ([#1186](https://github.com/temporalio/sdk-typescript/pull/1186)). Thanks to [`@GauBen`](https://github.com/GauBen) 🙏.
31+
32+
- [`workflow`] Fix incorrect values of `workflowInfo.historyLength` and `workflowInfo.unsafe.isReplaying` as reported in
33+
out-of-sandbox log messages, and as argument of sink function implementations ([#1181](https://github.com/temporalio/sdk-typescript/pull/1181)).
34+
35+
- [`workflow`] Sink functions configured with `callDuringReplay = false` are no longer invoked from a replay-only worker
36+
(ie. `Worker.runReplayHistories()`); it was previously possible for these to get called in some cases on the very last
37+
WFT ([#1181](https://github.com/temporalio/sdk-typescript/pull/1181)).
38+
39+
- [`workflow`] Encoding and decoding of protobuf JSON payloads is now working in workflow context. This was previously
40+
failing, due to the fact that an underlying library depends on the `Buffer` class, which is not available inside the
41+
workflow sandbox ([#1170](https://github.com/temporalio/sdk-typescript/pull/1170)). Thanks to [`@antlai-temporal`](https://github.com/antlai-temporal) 🙏.
42+
43+
- [`core`] Improve warning message on error response to completion ([temporalio/sdk-core#581](https://github.com/temporalio/sdk-core/pull/581))
44+
Thanks to [`@dandavison`](https://github.com/dandavison) 🙏.
45+
46+
- [`core`] Fix abandoned children nondeterminism if they complete ([temporalio/sdk-core#580](https://github.com/temporalio/sdk-core/pull/580)).
47+
748
## [1.8.1] - 2023-07-07
849

950
### Bug Fixes

0 commit comments

Comments
 (0)