Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"adopt-unthrown-v5-beta",
"bump-unthrown-beta-5",
"bump-unthrown-beta-6",
"bump-unthrown-beta-7",
"contract-types-node",
"technical-errors-to-defect"
]
Expand Down
22 changes: 22 additions & 0 deletions packages/client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# @temporal-contract/client

## 8.0.0-beta.2

### Patch Changes

- a54a2f3: Bump `unthrown` to `5.0.0-beta.7` and raise the peer range to `^5.0.0-beta.7`.

Two changes come with it, neither requiring code changes here:

- **`returnType<R>()` on the built-in matcher** — pins a match's output type so
every branch is checked against it, instead of the result being the union of
the branch returns. Available on all five `*ErrCases` combinators, `match`'s
`errCases` handler, and standalone `match(value)`.
- **`tapErrCases` no longer silently drops a `defect(…)` branch.** Such a branch
now produces a `Defect` whose cause is an `AggregateError` of the branch's
cause and the observed error, matching what a `throw` in the same position
already did. Only a breaking change for code that relied on the value being
discarded — this package's single `tapErrCases` call site logs and does not
use the `defect` marker.

- Updated dependencies [a54a2f3]
- @temporal-contract/contract@8.0.0-beta.2

## 8.0.0-beta.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@temporal-contract/client",
"version": "8.0.0-beta.1",
"version": "8.0.0-beta.2",
"description": "Client utilities with unthrown Result/AsyncResult for consuming temporal-contract workflows",
"keywords": [
"client",
Expand Down
19 changes: 19 additions & 0 deletions packages/contract/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# @temporal-contract/contract

## 8.0.0-beta.2

### Patch Changes

- a54a2f3: Bump `unthrown` to `5.0.0-beta.7` and raise the peer range to `^5.0.0-beta.7`.

Two changes come with it, neither requiring code changes here:

- **`returnType<R>()` on the built-in matcher** — pins a match's output type so
every branch is checked against it, instead of the result being the union of
the branch returns. Available on all five `*ErrCases` combinators, `match`'s
`errCases` handler, and standalone `match(value)`.
- **`tapErrCases` no longer silently drops a `defect(…)` branch.** Such a branch
now produces a `Defect` whose cause is an `AggregateError` of the branch's
cause and the observed error, matching what a `throw` in the same position
already did. Only a breaking change for code that relied on the value being
discarded — this package's single `tapErrCases` call site logs and does not
use the `defect` marker.

## 8.0.0-beta.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/contract/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@temporal-contract/contract",
"version": "8.0.0-beta.1",
"version": "8.0.0-beta.2",
"description": "Contract builder for temporal-contract",
"keywords": [
"contract",
Expand Down
2 changes: 2 additions & 0 deletions packages/testing/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @temporal-contract/testing

## 8.0.0-beta.2

## 8.0.0-beta.1

## 8.0.0-beta.0
Expand Down
2 changes: 1 addition & 1 deletion packages/testing/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@temporal-contract/testing",
"version": "8.0.0-beta.1",
"version": "8.0.0-beta.2",
"description": "Temporal testing utilities",
"keywords": [
"contract",
Expand Down
22 changes: 22 additions & 0 deletions packages/worker/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# @temporal-contract/worker

## 8.0.0-beta.2

### Patch Changes

- a54a2f3: Bump `unthrown` to `5.0.0-beta.7` and raise the peer range to `^5.0.0-beta.7`.

Two changes come with it, neither requiring code changes here:

- **`returnType<R>()` on the built-in matcher** — pins a match's output type so
every branch is checked against it, instead of the result being the union of
the branch returns. Available on all five `*ErrCases` combinators, `match`'s
`errCases` handler, and standalone `match(value)`.
- **`tapErrCases` no longer silently drops a `defect(…)` branch.** Such a branch
now produces a `Defect` whose cause is an `AggregateError` of the branch's
cause and the observed error, matching what a `throw` in the same position
already did. Only a breaking change for code that relied on the value being
discarded — this package's single `tapErrCases` call site logs and does not
use the `defect` marker.

- Updated dependencies [a54a2f3]
- @temporal-contract/contract@8.0.0-beta.2

## 8.0.0-beta.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/worker/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@temporal-contract/worker",
"version": "8.0.0-beta.1",
"version": "8.0.0-beta.2",
"description": "Worker utilities with unthrown Result/AsyncResult for implementing temporal-contract workflows and activities",
"keywords": [
"contract",
Expand Down
Loading