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
12 changes: 0 additions & 12 deletions .changeset/unthrown-v3.md

This file was deleted.

15 changes: 15 additions & 0 deletions packages/client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# @temporal-contract/client

## 6.0.0

### Major Changes

- 6c79004: Upgrade to [`unthrown`](https://github.com/btravstack/unthrown) 3.0.0.

The published packages' `unthrown` peer-dependency range moves to `^3`. unthrown 3.0.0's breaking change — removing the standalone `Defect` constructor in favour of a `defect` argument passed into `fromPromise` / `fromThrowable`'s `qualify` callback — does not affect temporal-contract, which never constructs defects (every boundary maps rejections to a modeled error). Everything else we use (`Ok` / `Err`, `TaggedError`, `matchTags`, `fromPromise` / `fromSafePromise`, `result.match({ ok, err, defect })`, `.toAsync()`, and the `result.isOk()` / `isErr()` / `isDefect()` narrowing) is unchanged, so no source changes were required.

**Breaking for consumers**: bump your own `unthrown` install to `^3`.

### Patch Changes

- Updated dependencies [6c79004]
- @temporal-contract/contract@6.0.0

## 5.0.0

### Major 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": "5.0.0",
"version": "6.0.0",
"description": "Client utilities with unthrown Result/AsyncResult for consuming temporal-contract workflows",
"keywords": [
"client",
Expand Down
10 changes: 10 additions & 0 deletions packages/contract/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @temporal-contract/contract

## 6.0.0

### Major Changes

- 6c79004: Upgrade to [`unthrown`](https://github.com/btravstack/unthrown) 3.0.0.

The published packages' `unthrown` peer-dependency range moves to `^3`. unthrown 3.0.0's breaking change — removing the standalone `Defect` constructor in favour of a `defect` argument passed into `fromPromise` / `fromThrowable`'s `qualify` callback — does not affect temporal-contract, which never constructs defects (every boundary maps rejections to a modeled error). Everything else we use (`Ok` / `Err`, `TaggedError`, `matchTags`, `fromPromise` / `fromSafePromise`, `result.match({ ok, err, defect })`, `.toAsync()`, and the `result.isOk()` / `isErr()` / `isDefect()` narrowing) is unchanged, so no source changes were required.

**Breaking for consumers**: bump your own `unthrown` install to `^3`.

## 5.0.0

### Major 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": "5.0.0",
"version": "6.0.0",
"description": "Contract builder for temporal-contract",
"keywords": [
"contract",
Expand Down
10 changes: 10 additions & 0 deletions packages/testing/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @temporal-contract/testing

## 6.0.0

### Major Changes

- 6c79004: Upgrade to [`unthrown`](https://github.com/btravstack/unthrown) 3.0.0.

The published packages' `unthrown` peer-dependency range moves to `^3`. unthrown 3.0.0's breaking change — removing the standalone `Defect` constructor in favour of a `defect` argument passed into `fromPromise` / `fromThrowable`'s `qualify` callback — does not affect temporal-contract, which never constructs defects (every boundary maps rejections to a modeled error). Everything else we use (`Ok` / `Err`, `TaggedError`, `matchTags`, `fromPromise` / `fromSafePromise`, `result.match({ ok, err, defect })`, `.toAsync()`, and the `result.isOk()` / `isErr()` / `isDefect()` narrowing) is unchanged, so no source changes were required.

**Breaking for consumers**: bump your own `unthrown` install to `^3`.
Comment thread
btravers marked this conversation as resolved.

## 5.0.0

### Major Changes
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": "5.0.0",
"version": "6.0.0",
"description": "Temporal testing utilities",
"homepage": "https://github.com/btravstack/temporal-contract#readme",
"bugs": {
Expand Down
15 changes: 15 additions & 0 deletions packages/worker/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# @temporal-contract/worker

## 6.0.0

### Major Changes

- 6c79004: Upgrade to [`unthrown`](https://github.com/btravstack/unthrown) 3.0.0.

The published packages' `unthrown` peer-dependency range moves to `^3`. unthrown 3.0.0's breaking change — removing the standalone `Defect` constructor in favour of a `defect` argument passed into `fromPromise` / `fromThrowable`'s `qualify` callback — does not affect temporal-contract, which never constructs defects (every boundary maps rejections to a modeled error). Everything else we use (`Ok` / `Err`, `TaggedError`, `matchTags`, `fromPromise` / `fromSafePromise`, `result.match({ ok, err, defect })`, `.toAsync()`, and the `result.isOk()` / `isErr()` / `isDefect()` narrowing) is unchanged, so no source changes were required.

**Breaking for consumers**: bump your own `unthrown` install to `^3`.

### Patch Changes

- Updated dependencies [6c79004]
- @temporal-contract/contract@6.0.0

## 5.0.0

### Major 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": "5.0.0",
"version": "6.0.0",
"description": "Worker utilities with unthrown Result/AsyncResult for implementing temporal-contract workflows and activities",
"keywords": [
"contract",
Expand Down
Loading