Skip to content

chore: release packages (beta) - #339

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

chore: release packages (beta)#339
btravers merged 1 commit into
mainfrom
changeset-release/main

Conversation

@btravers

@btravers btravers commented Jul 27, 2026

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.

⚠️⚠️⚠️⚠️⚠️⚠️

main is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on main.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@temporal-contract/client@8.0.0-beta.1

Patch Changes

  • 75ec554: Bump unthrown to 5.0.0-beta.5. This tracks two beta breaking changes:
    match's error handler key is renamed errerrCases, and the bare error
    combinators gained the *Cases suffix (flatMapErrflatMapErrCases,
    tapErrtapErrCases). unthrown also now declares ts-pattern as a peer
    dependency, so ts-pattern (^5) is added alongside it. The peer range is
    raised to ^5.0.0-beta.5.

  • fff11ff: Bump unthrown to 5.0.0-beta.6, whose exhaustive matcher is now built-in
    (same .with(…) / tag / P call-site shape — no code changes needed). The
    ts-pattern peer/dev dependencies added for beta.5 are removed: unthrown has
    zero runtime dependencies, so nothing needs installing alongside it. The
    unthrown peer range is raised to ^5.0.0-beta.6.

  • efec2b2: Route TechnicalError and RuntimeClientError to unthrown's defect channel instead of the modeled Err channel.

    These two errors describe technical/infrastructure failures (connection/bundling faults, an unknown schedule ID, an unrecognized Temporal rejection) that are never branched on for domain logic. Per unthrown's Thesis chore(deps): bump actions/checkout from 4 to 6 #1, the E channel is only for anticipated domain failures, so they now surface as a Defect whose cause is a TechnicalError / RuntimeClientError instance — the classes stay exported so the descriptive message, operation, and cause survive for logging.

    Breaking. Consumers who matched these on the error channel must move to the defect channel:

    • TypedClient.create and createWorker now return AsyncResult<_, never> (was AsyncResult<_, TechnicalError>). Inspect setup faults via result.isDefect() / match's defect handler / recoverDefect, not isErr().
    • Every modeled error union drops RuntimeClientError (startWorkflow, signalWithStart, executeWorkflow, getHandle, handle queries/signals/updates/result/terminate/cancel/describe/fetchHistory, the schedule handle methods, ClientCallError). Schedule handle methods now return AsyncResult<_, never>.
    • Drop any .with(tag("@temporal-contract/RuntimeClientError"), …) / .with(tag("@temporal-contract/TechnicalError"), …) arm from exhaustive matchers; handle these in the defect arm (e.g. recoverDefect / tapDefect), matching on cause instanceof RuntimeClientError where needed.
  • Updated dependencies [75ec554]

  • Updated dependencies [fff11ff]

  • Updated dependencies [efec2b2]

    • @temporal-contract/contract@8.0.0-beta.1

@temporal-contract/contract@8.0.0-beta.1

Patch Changes

  • 75ec554: Bump unthrown to 5.0.0-beta.5. This tracks two beta breaking changes:
    match's error handler key is renamed errerrCases, and the bare error
    combinators gained the *Cases suffix (flatMapErrflatMapErrCases,
    tapErrtapErrCases). unthrown also now declares ts-pattern as a peer
    dependency, so ts-pattern (^5) is added alongside it. The peer range is
    raised to ^5.0.0-beta.5.

  • fff11ff: Bump unthrown to 5.0.0-beta.6, whose exhaustive matcher is now built-in
    (same .with(…) / tag / P call-site shape — no code changes needed). The
    ts-pattern peer/dev dependencies added for beta.5 are removed: unthrown has
    zero runtime dependencies, so nothing needs installing alongside it. The
    unthrown peer range is raised to ^5.0.0-beta.6.

  • efec2b2: Route TechnicalError and RuntimeClientError to unthrown's defect channel instead of the modeled Err channel.

    These two errors describe technical/infrastructure failures (connection/bundling faults, an unknown schedule ID, an unrecognized Temporal rejection) that are never branched on for domain logic. Per unthrown's Thesis chore(deps): bump actions/checkout from 4 to 6 #1, the E channel is only for anticipated domain failures, so they now surface as a Defect whose cause is a TechnicalError / RuntimeClientError instance — the classes stay exported so the descriptive message, operation, and cause survive for logging.

    Breaking. Consumers who matched these on the error channel must move to the defect channel:

    • TypedClient.create and createWorker now return AsyncResult<_, never> (was AsyncResult<_, TechnicalError>). Inspect setup faults via result.isDefect() / match's defect handler / recoverDefect, not isErr().
    • Every modeled error union drops RuntimeClientError (startWorkflow, signalWithStart, executeWorkflow, getHandle, handle queries/signals/updates/result/terminate/cancel/describe/fetchHistory, the schedule handle methods, ClientCallError). Schedule handle methods now return AsyncResult<_, never>.
    • Drop any .with(tag("@temporal-contract/RuntimeClientError"), …) / .with(tag("@temporal-contract/TechnicalError"), …) arm from exhaustive matchers; handle these in the defect arm (e.g. recoverDefect / tapDefect), matching on cause instanceof RuntimeClientError where needed.

@temporal-contract/worker@8.0.0-beta.1

Patch Changes

  • 75ec554: Bump unthrown to 5.0.0-beta.5. This tracks two beta breaking changes:
    match's error handler key is renamed errerrCases, and the bare error
    combinators gained the *Cases suffix (flatMapErrflatMapErrCases,
    tapErrtapErrCases). unthrown also now declares ts-pattern as a peer
    dependency, so ts-pattern (^5) is added alongside it. The peer range is
    raised to ^5.0.0-beta.5.

  • fff11ff: Bump unthrown to 5.0.0-beta.6, whose exhaustive matcher is now built-in
    (same .with(…) / tag / P call-site shape — no code changes needed). The
    ts-pattern peer/dev dependencies added for beta.5 are removed: unthrown has
    zero runtime dependencies, so nothing needs installing alongside it. The
    unthrown peer range is raised to ^5.0.0-beta.6.

  • efec2b2: Route TechnicalError and RuntimeClientError to unthrown's defect channel instead of the modeled Err channel.

    These two errors describe technical/infrastructure failures (connection/bundling faults, an unknown schedule ID, an unrecognized Temporal rejection) that are never branched on for domain logic. Per unthrown's Thesis chore(deps): bump actions/checkout from 4 to 6 #1, the E channel is only for anticipated domain failures, so they now surface as a Defect whose cause is a TechnicalError / RuntimeClientError instance — the classes stay exported so the descriptive message, operation, and cause survive for logging.

    Breaking. Consumers who matched these on the error channel must move to the defect channel:

    • TypedClient.create and createWorker now return AsyncResult<_, never> (was AsyncResult<_, TechnicalError>). Inspect setup faults via result.isDefect() / match's defect handler / recoverDefect, not isErr().
    • Every modeled error union drops RuntimeClientError (startWorkflow, signalWithStart, executeWorkflow, getHandle, handle queries/signals/updates/result/terminate/cancel/describe/fetchHistory, the schedule handle methods, ClientCallError). Schedule handle methods now return AsyncResult<_, never>.
    • Drop any .with(tag("@temporal-contract/RuntimeClientError"), …) / .with(tag("@temporal-contract/TechnicalError"), …) arm from exhaustive matchers; handle these in the defect arm (e.g. recoverDefect / tapDefect), matching on cause instanceof RuntimeClientError where needed.
  • Updated dependencies [75ec554]

  • Updated dependencies [fff11ff]

  • Updated dependencies [efec2b2]

    • @temporal-contract/contract@8.0.0-beta.1

@temporal-contract/testing@8.0.0-beta.1

Copilot AI review requested due to automatic review settings July 27, 2026 21:53

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 Changesets-generated release PR prepares the @temporal-contract/* fixed release group for publication as 8.0.0-beta.1 while the repo remains in pre-mode (beta), reflecting prior changesets (notably the unthrown@5.0.0-beta.5 bump and routing technical errors to the defect channel).

Changes:

  • Bump package versions to 8.0.0-beta.1 for client, contract, worker, and testing.
  • Add 8.0.0-beta.1 changelog entries (detailed for client/contract/worker).
  • Update .changeset/pre.json to include the newly-applied changesets in the pre-mode tracking list.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
packages/worker/package.json Version bump to 8.0.0-beta.1 for the worker package.
packages/worker/CHANGELOG.md Add 8.0.0-beta.1 release notes for worker (unthrown bump + defect-channel change).
packages/testing/package.json Version bump to 8.0.0-beta.1 for the testing package.
packages/testing/CHANGELOG.md Add 8.0.0-beta.1 heading for testing (currently empty).
packages/contract/package.json Version bump to 8.0.0-beta.1 for the contract package.
packages/contract/CHANGELOG.md Add 8.0.0-beta.1 release notes for contract (unthrown bump + defect-channel change).
packages/client/package.json Version bump to 8.0.0-beta.1 for the client package.
packages/client/CHANGELOG.md Add 8.0.0-beta.1 release notes for client (unthrown bump + defect-channel change).
.changeset/pre.json Update pre-mode changeset list to include the new changesets.

Comment thread packages/testing/CHANGELOG.md
@btravers
btravers force-pushed the changeset-release/main branch 2 times, most recently from adc2af0 to 3af697a Compare July 27, 2026 22:57
@btravers
btravers force-pushed the changeset-release/main branch from 3af697a to f816a00 Compare July 27, 2026 23:07
@btravers
btravers merged commit c6ef9b5 into main Jul 27, 2026
11 checks passed
@btravers
btravers deleted the changeset-release/main branch July 27, 2026 23:07
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