Skip to content

chore: release packages#266

Merged
btravers merged 1 commit into
mainfrom
changeset-release/main
Jun 27, 2026
Merged

chore: release packages#266
btravers merged 1 commit into
mainfrom
changeset-release/main

Conversation

@btravers

Copy link
Copy Markdown
Collaborator

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@temporal-contract/client@4.0.0

Major Changes

  • ebf7683: Upgrade to unthrown 1.0.0.

    unthrown 1.0.0 renames the result constructors to PascalCase: okOk, errErr, defectDefect. 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 guide.

Patch Changes

  • Updated dependencies [ebf7683]
    • @temporal-contract/contract@4.0.0

@temporal-contract/contract@4.0.0

Major Changes

  • ebf7683: Upgrade to unthrown 1.0.0.

    unthrown 1.0.0 renames the result constructors to PascalCase: okOk, errErr, defectDefect. 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 guide.

@temporal-contract/testing@4.0.0

Major Changes

  • ebf7683: Upgrade to unthrown 1.0.0.

    unthrown 1.0.0 renames the result constructors to PascalCase: okOk, errErr, defectDefect. 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 guide.

@temporal-contract/worker@4.0.0

Major Changes

  • ebf7683: Upgrade to unthrown 1.0.0.

    unthrown 1.0.0 renames the result constructors to PascalCase: okOk, errErr, defectDefect. 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 guide.

Patch Changes

  • Updated dependencies [ebf7683]
    • @temporal-contract/contract@4.0.0

Copilot AI review requested due to automatic review settings June 27, 2026 22:40

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This is an automated Changesets release PR that finalizes the v4.0.0 publication set across the @temporal-contract/* packages, primarily reflecting the breaking upgrade to unthrown@1 (PascalCase constructors) that was already described in the originating changeset.

Changes:

  • Bump package versions to 4.0.0 for client, contract, testing, and worker.
  • Generate CHANGELOG.md entries describing the unthrown@1.0.0 breaking change (and dependency bumps where applicable).
  • Remove the consumed Changeset file (.changeset/unthrown-v1.md).

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/worker/package.json Bumps @temporal-contract/worker version to 4.0.0 for release.
packages/worker/CHANGELOG.md Adds the 4.0.0 changelog entry documenting the major unthrown@1 upgrade and dependency update.
packages/testing/package.json Bumps @temporal-contract/testing version to 4.0.0 for release.
packages/testing/CHANGELOG.md Adds the 4.0.0 changelog entry documenting the major unthrown@1 upgrade.
packages/contract/package.json Bumps @temporal-contract/contract version to 4.0.0 for release.
packages/contract/CHANGELOG.md Adds the 4.0.0 changelog entry documenting the major unthrown@1 upgrade.
packages/client/package.json Bumps @temporal-contract/client version to 4.0.0 for release.
packages/client/CHANGELOG.md Adds the 4.0.0 changelog entry documenting the major unthrown@1 upgrade and dependency update.
.changeset/unthrown-v1.md Removes the consumed changeset after its contents were applied to versions/changelogs.

@btravers btravers merged commit e425ffe into main Jun 27, 2026
10 checks passed
@btravers btravers deleted the changeset-release/main branch June 27, 2026 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants