Skip to content

Commit e9c8111

Browse files
github-actions[bot]btravers
authored andcommitted
chore: release packages (beta)
1 parent 647eaab commit e9c8111

9 files changed

Lines changed: 103 additions & 4 deletions

File tree

.changeset/pre.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"bump-unthrown-beta-5",
1414
"bump-unthrown-beta-6",
1515
"bump-unthrown-beta-7",
16+
"bump-unthrown-v5-stable",
1617
"contract-types-node",
1718
"technical-errors-to-defect"
1819
]

packages/client/CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,38 @@
11
# @temporal-contract/client
22

3+
## 8.0.0-beta.3
4+
5+
### Patch Changes
6+
7+
- fe7bda3: Bump `unthrown` to the stable `5.0.0` and raise the peer range to `^5.0.0`.
8+
9+
The only API change since `5.0.0-beta.7` is that the standalone `tag` export is
10+
gone — it now lives on the pattern namespace as `P.tag(t)`, alongside every
11+
other pattern constructor (`P._` / `P.any` / `P.instanceOf` / `P.when` /
12+
`P.union`). The type and runtime behaviour are unchanged: it still produces the
13+
`{ _tag: t }` pattern, still narrows to the matching variant with its payload,
14+
and still works in grouped patterns.
15+
16+
Migration is mechanical — drop `tag` from the import (keeping or adding `P`) and
17+
prefix the call sites:
18+
19+
```diff
20+
- import { tag } from "unthrown";
21+
+ import { P } from "unthrown";
22+
23+
result.mapErrCases((matcher) =>
24+
- matcher.with(tag("@temporal-contract/WorkflowFailedError"), (error) => handle(error)),
25+
+ matcher.with(P.tag("@temporal-contract/WorkflowFailedError"), (error) => handle(error)),
26+
);
27+
```
28+
29+
Every example in the docs, READMEs and TSDoc has been updated to the `P.tag`
30+
spelling, and the upgrade guide gained a note for anyone already tracking an
31+
8.0 beta.
32+
33+
- Updated dependencies [fe7bda3]
34+
- @temporal-contract/contract@8.0.0-beta.3
35+
336
## 8.0.0-beta.2
437

538
### Patch Changes

packages/client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@temporal-contract/client",
3-
"version": "8.0.0-beta.2",
3+
"version": "8.0.0-beta.3",
44
"description": "Client utilities with unthrown Result/AsyncResult for consuming temporal-contract workflows",
55
"keywords": [
66
"client",

packages/contract/CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,35 @@
11
# @temporal-contract/contract
22

3+
## 8.0.0-beta.3
4+
5+
### Patch Changes
6+
7+
- fe7bda3: Bump `unthrown` to the stable `5.0.0` and raise the peer range to `^5.0.0`.
8+
9+
The only API change since `5.0.0-beta.7` is that the standalone `tag` export is
10+
gone — it now lives on the pattern namespace as `P.tag(t)`, alongside every
11+
other pattern constructor (`P._` / `P.any` / `P.instanceOf` / `P.when` /
12+
`P.union`). The type and runtime behaviour are unchanged: it still produces the
13+
`{ _tag: t }` pattern, still narrows to the matching variant with its payload,
14+
and still works in grouped patterns.
15+
16+
Migration is mechanical — drop `tag` from the import (keeping or adding `P`) and
17+
prefix the call sites:
18+
19+
```diff
20+
- import { tag } from "unthrown";
21+
+ import { P } from "unthrown";
22+
23+
result.mapErrCases((matcher) =>
24+
- matcher.with(tag("@temporal-contract/WorkflowFailedError"), (error) => handle(error)),
25+
+ matcher.with(P.tag("@temporal-contract/WorkflowFailedError"), (error) => handle(error)),
26+
);
27+
```
28+
29+
Every example in the docs, READMEs and TSDoc has been updated to the `P.tag`
30+
spelling, and the upgrade guide gained a note for anyone already tracking an
31+
8.0 beta.
32+
333
## 8.0.0-beta.2
434

535
### Patch Changes

packages/contract/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@temporal-contract/contract",
3-
"version": "8.0.0-beta.2",
3+
"version": "8.0.0-beta.3",
44
"description": "Contract builder for temporal-contract",
55
"keywords": [
66
"contract",

packages/testing/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# @temporal-contract/testing
22

3+
## 8.0.0-beta.3
4+
35
## 8.0.0-beta.2
46

57
## 8.0.0-beta.1

packages/testing/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@temporal-contract/testing",
3-
"version": "8.0.0-beta.2",
3+
"version": "8.0.0-beta.3",
44
"description": "Temporal testing utilities",
55
"keywords": [
66
"contract",

packages/worker/CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,38 @@
11
# @temporal-contract/worker
22

3+
## 8.0.0-beta.3
4+
5+
### Patch Changes
6+
7+
- fe7bda3: Bump `unthrown` to the stable `5.0.0` and raise the peer range to `^5.0.0`.
8+
9+
The only API change since `5.0.0-beta.7` is that the standalone `tag` export is
10+
gone — it now lives on the pattern namespace as `P.tag(t)`, alongside every
11+
other pattern constructor (`P._` / `P.any` / `P.instanceOf` / `P.when` /
12+
`P.union`). The type and runtime behaviour are unchanged: it still produces the
13+
`{ _tag: t }` pattern, still narrows to the matching variant with its payload,
14+
and still works in grouped patterns.
15+
16+
Migration is mechanical — drop `tag` from the import (keeping or adding `P`) and
17+
prefix the call sites:
18+
19+
```diff
20+
- import { tag } from "unthrown";
21+
+ import { P } from "unthrown";
22+
23+
result.mapErrCases((matcher) =>
24+
- matcher.with(tag("@temporal-contract/WorkflowFailedError"), (error) => handle(error)),
25+
+ matcher.with(P.tag("@temporal-contract/WorkflowFailedError"), (error) => handle(error)),
26+
);
27+
```
28+
29+
Every example in the docs, READMEs and TSDoc has been updated to the `P.tag`
30+
spelling, and the upgrade guide gained a note for anyone already tracking an
31+
8.0 beta.
32+
33+
- Updated dependencies [fe7bda3]
34+
- @temporal-contract/contract@8.0.0-beta.3
35+
336
## 8.0.0-beta.2
437

538
### Patch Changes

packages/worker/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@temporal-contract/worker",
3-
"version": "8.0.0-beta.2",
3+
"version": "8.0.0-beta.3",
44
"description": "Worker utilities with unthrown Result/AsyncResult for implementing temporal-contract workflows and activities",
55
"keywords": [
66
"contract",

0 commit comments

Comments
 (0)