Skip to content

Commit dcc54c6

Browse files
authored
Upgrade Core, prep for 1.7.3 release, minor feat (#1110)
* feat: Make proto JSON enum conversion noop if already in right format * Upgrade Core * Prepare CHANGELOG for 1.7.3 release
1 parent ed28cf0 commit dcc54c6

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

CHANGELOG.md

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

55
Breaking changes marked with a :boom:
66

7+
## [1.7.3] - 2023-04-27
8+
9+
### Bug Fixes
10+
11+
- [`workflow`] Fix internal patches NDE on replay ([#1106](https://github.com/temporalio/sdk-typescript/pull/1106))
12+
- Fix `null` payload data in `historyFromJSON` ([#1109](https://github.com/temporalio/sdk-typescript/pull/1109))
13+
- [`core`] Fix issues with pagination and event loss in some edge cases ([#537](https://github.com/temporalio/sdk-core/pull/537) + [#538](https://github.com/temporalio/sdk-core/pull/538))
14+
- [`core`] Fix child wf state machine returning fatal instead of NDE ([#536](https://github.com/temporalio/sdk-core/pull/536))
15+
16+
### Features
17+
18+
- Make proto JSON enum conversion noop if already in right format ([#1110](https://github.com/temporalio/sdk-typescript/pull/1110))
19+
20+
### Miscellaneous Tasks
21+
22+
- Upgrade opentelemetry dependencies ([#1107](https://github.com/temporalio/sdk-typescript/pull/1107) thanks to [`@maxgurewitz`](https://github.com/maxgurewitz) 🙏)
23+
724
## [1.7.2] - 2023-04-14
825

926
### Bug Fixes

packages/common/src/proto-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function pascalCaseToConstantCase(s: string) {
1717
function fixEnumValue<O extends Record<string, any>>(obj: O, attr: keyof O, prefix: string) {
1818
return (
1919
obj[attr] && {
20-
[attr]: `${prefix}_${pascalCaseToConstantCase(obj[attr])}`,
20+
[attr]: obj[attr].startsWith(prefix) ? obj[attr] : `${prefix}_${pascalCaseToConstantCase(obj[attr])}`,
2121
}
2222
);
2323
}

0 commit comments

Comments
 (0)