From 09b4fb51a7a376b4a6688bb98e2ad64597f46abb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 27 Jun 2026 22:40:14 +0000 Subject: [PATCH] chore: release packages --- .changeset/unthrown-v1.md | 14 -------------- packages/client/CHANGELOG.md | 17 +++++++++++++++++ packages/client/package.json | 2 +- packages/contract/CHANGELOG.md | 12 ++++++++++++ packages/contract/package.json | 2 +- packages/testing/CHANGELOG.md | 12 ++++++++++++ packages/testing/package.json | 2 +- packages/worker/CHANGELOG.md | 17 +++++++++++++++++ packages/worker/package.json | 2 +- 9 files changed, 62 insertions(+), 18 deletions(-) delete mode 100644 .changeset/unthrown-v1.md diff --git a/.changeset/unthrown-v1.md b/.changeset/unthrown-v1.md deleted file mode 100644 index 06ef9647..00000000 --- a/.changeset/unthrown-v1.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -"@temporal-contract/contract": major -"@temporal-contract/worker": major -"@temporal-contract/client": major -"@temporal-contract/testing": major ---- - -Upgrade to [`unthrown`](https://github.com/btravstack/unthrown) 1.0.0. - -unthrown 1.0.0 renames the result constructors to PascalCase: `ok` → `Ok`, `err` → `Err`, `defect` → `Defect`. All packages are updated, and the `unthrown` peer-dependency range moves to `^1`. - -**Breaking for consumers** who construct results directly (e.g. in activity implementations): replace `ok(value)` / `err(failure)` with `Ok(value)` / `Err(failure)` (and `ok(value).toAsync()` / `err(failure).toAsync()` at promise boundaries), and bump `unthrown` to `^1`. The `result.match({ ok, err, defect })` handler keys are unchanged (they are object keys, not constructors), and `matchTags` / `TaggedError` / `fromPromise` / `fromSafePromise` / `.toAsync()` and the `result.isOk()` / `isErr()` / `isDefect()` narrowing are all unchanged. - -See the [Migrating from neverthrow](https://btravstack.github.io/temporal-contract/guide/migrating-to-unthrown) guide. diff --git a/packages/client/CHANGELOG.md b/packages/client/CHANGELOG.md index 2457365e..d19f7a8f 100644 --- a/packages/client/CHANGELOG.md +++ b/packages/client/CHANGELOG.md @@ -1,5 +1,22 @@ # @temporal-contract/client +## 4.0.0 + +### Major Changes + +- ebf7683: Upgrade to [`unthrown`](https://github.com/btravstack/unthrown) 1.0.0. + + unthrown 1.0.0 renames the result constructors to PascalCase: `ok` → `Ok`, `err` → `Err`, `defect` → `Defect`. All packages are updated, and the `unthrown` peer-dependency range moves to `^1`. + + **Breaking for consumers** who construct results directly (e.g. in activity implementations): replace `ok(value)` / `err(failure)` with `Ok(value)` / `Err(failure)` (and `ok(value).toAsync()` / `err(failure).toAsync()` at promise boundaries), and bump `unthrown` to `^1`. The `result.match({ ok, err, defect })` handler keys are unchanged (they are object keys, not constructors), and `matchTags` / `TaggedError` / `fromPromise` / `fromSafePromise` / `.toAsync()` and the `result.isOk()` / `isErr()` / `isDefect()` narrowing are all unchanged. + + See the [Migrating from neverthrow](https://btravstack.github.io/temporal-contract/guide/migrating-to-unthrown) guide. + +### Patch Changes + +- Updated dependencies [ebf7683] + - @temporal-contract/contract@4.0.0 + ## 3.0.0 ### Major Changes diff --git a/packages/client/package.json b/packages/client/package.json index dfcfea46..23312c3b 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@temporal-contract/client", - "version": "3.0.0", + "version": "4.0.0", "description": "Client utilities with unthrown Result/AsyncResult for consuming temporal-contract workflows", "keywords": [ "client", diff --git a/packages/contract/CHANGELOG.md b/packages/contract/CHANGELOG.md index c44b2e13..dca5a3a4 100644 --- a/packages/contract/CHANGELOG.md +++ b/packages/contract/CHANGELOG.md @@ -1,5 +1,17 @@ # @temporal-contract/contract +## 4.0.0 + +### Major Changes + +- ebf7683: Upgrade to [`unthrown`](https://github.com/btravstack/unthrown) 1.0.0. + + unthrown 1.0.0 renames the result constructors to PascalCase: `ok` → `Ok`, `err` → `Err`, `defect` → `Defect`. All packages are updated, and the `unthrown` peer-dependency range moves to `^1`. + + **Breaking for consumers** who construct results directly (e.g. in activity implementations): replace `ok(value)` / `err(failure)` with `Ok(value)` / `Err(failure)` (and `ok(value).toAsync()` / `err(failure).toAsync()` at promise boundaries), and bump `unthrown` to `^1`. The `result.match({ ok, err, defect })` handler keys are unchanged (they are object keys, not constructors), and `matchTags` / `TaggedError` / `fromPromise` / `fromSafePromise` / `.toAsync()` and the `result.isOk()` / `isErr()` / `isDefect()` narrowing are all unchanged. + + See the [Migrating from neverthrow](https://btravstack.github.io/temporal-contract/guide/migrating-to-unthrown) guide. + ## 3.0.0 ### Major Changes diff --git a/packages/contract/package.json b/packages/contract/package.json index 89b5f96d..fbb21660 100644 --- a/packages/contract/package.json +++ b/packages/contract/package.json @@ -1,6 +1,6 @@ { "name": "@temporal-contract/contract", - "version": "3.0.0", + "version": "4.0.0", "description": "Contract builder for temporal-contract", "keywords": [ "contract", diff --git a/packages/testing/CHANGELOG.md b/packages/testing/CHANGELOG.md index cf4fbc87..6e8696fe 100644 --- a/packages/testing/CHANGELOG.md +++ b/packages/testing/CHANGELOG.md @@ -1,5 +1,17 @@ # @temporal-contract/testing +## 4.0.0 + +### Major Changes + +- ebf7683: Upgrade to [`unthrown`](https://github.com/btravstack/unthrown) 1.0.0. + + unthrown 1.0.0 renames the result constructors to PascalCase: `ok` → `Ok`, `err` → `Err`, `defect` → `Defect`. All packages are updated, and the `unthrown` peer-dependency range moves to `^1`. + + **Breaking for consumers** who construct results directly (e.g. in activity implementations): replace `ok(value)` / `err(failure)` with `Ok(value)` / `Err(failure)` (and `ok(value).toAsync()` / `err(failure).toAsync()` at promise boundaries), and bump `unthrown` to `^1`. The `result.match({ ok, err, defect })` handler keys are unchanged (they are object keys, not constructors), and `matchTags` / `TaggedError` / `fromPromise` / `fromSafePromise` / `.toAsync()` and the `result.isOk()` / `isErr()` / `isDefect()` narrowing are all unchanged. + + See the [Migrating from neverthrow](https://btravstack.github.io/temporal-contract/guide/migrating-to-unthrown) guide. + ## 3.0.0 ### Major Changes diff --git a/packages/testing/package.json b/packages/testing/package.json index fcec9a2d..2135bc74 100644 --- a/packages/testing/package.json +++ b/packages/testing/package.json @@ -1,6 +1,6 @@ { "name": "@temporal-contract/testing", - "version": "3.0.0", + "version": "4.0.0", "description": "Temporal testing utilities", "homepage": "https://github.com/btravstack/temporal-contract#readme", "bugs": { diff --git a/packages/worker/CHANGELOG.md b/packages/worker/CHANGELOG.md index 4519da91..bb0c339e 100644 --- a/packages/worker/CHANGELOG.md +++ b/packages/worker/CHANGELOG.md @@ -1,5 +1,22 @@ # @temporal-contract/worker +## 4.0.0 + +### Major Changes + +- ebf7683: Upgrade to [`unthrown`](https://github.com/btravstack/unthrown) 1.0.0. + + unthrown 1.0.0 renames the result constructors to PascalCase: `ok` → `Ok`, `err` → `Err`, `defect` → `Defect`. All packages are updated, and the `unthrown` peer-dependency range moves to `^1`. + + **Breaking for consumers** who construct results directly (e.g. in activity implementations): replace `ok(value)` / `err(failure)` with `Ok(value)` / `Err(failure)` (and `ok(value).toAsync()` / `err(failure).toAsync()` at promise boundaries), and bump `unthrown` to `^1`. The `result.match({ ok, err, defect })` handler keys are unchanged (they are object keys, not constructors), and `matchTags` / `TaggedError` / `fromPromise` / `fromSafePromise` / `.toAsync()` and the `result.isOk()` / `isErr()` / `isDefect()` narrowing are all unchanged. + + See the [Migrating from neverthrow](https://btravstack.github.io/temporal-contract/guide/migrating-to-unthrown) guide. + +### Patch Changes + +- Updated dependencies [ebf7683] + - @temporal-contract/contract@4.0.0 + ## 3.0.0 ### Major Changes diff --git a/packages/worker/package.json b/packages/worker/package.json index 308376dd..e713c67f 100644 --- a/packages/worker/package.json +++ b/packages/worker/package.json @@ -1,6 +1,6 @@ { "name": "@temporal-contract/worker", - "version": "3.0.0", + "version": "4.0.0", "description": "Worker utilities with unthrown Result/AsyncResult for implementing temporal-contract workflows and activities", "keywords": [ "contract",