Skip to content

chore: release packages (beta) - #472

Merged
btravers merged 1 commit into
mainfrom
changeset-release/main
Oct 14, 2026
Merged

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.

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

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.14

Minor Changes

  • 29c8bc3: Run a contract's global activity as a standalone activity, with no workflow around it (Temporal Server ≥ 1.32):

    const result = await client.for(pdfContract).executeActivity("renderInvoice", {
      activityId: `invoice-${invoiceId}`,
      args: { invoiceId },
    });

    ContractClient gains startActivity, executeActivity and getActivityHandle. The task queue comes from the contract, args is validated before the start, and the result is parsed against the output schema. The handle's result() decodes the activity's declared errors into typed ContractErrors and reports the outcomes as first-class errors: ActivityCancelledError, ActivityTerminatedError, ActivityTimeoutError, otherwise ActivityFailedError. describe, cancel and terminate err with ActivityExecutionNotFoundError, and a duplicate start with ActivityAlreadyStartedError. The activity's contract-level activityOptions are the call's defaults, and the merged options need a per-attempt and a total bound. New pattern groups: ACTIVITY_START_PATTERNS, ACTIVITY_RESULT_PATTERNS, ACTIVITY_EXECUTE_PATTERNS.

    The worker side needs nothing new: declareActivitiesHandler already registers each activity under its name on the contract's queue.

Patch Changes

  • Updated dependencies [29c8bc3]
    • @temporal-contract/contract@8.0.0-beta.14

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

Minor Changes

  • 29c8bc3: context.executeActivity(contract, activityName, { args, ...options }) calls a global activity of any contract on that contract's task queue, typically an activity-only contract served by a dedicated worker pool:

    const { url } = await propagateFailure(
      context.executeActivity(pdfContract, "renderInvoice", { args: { invoiceId } }),
    );

    The queue name is written once, on the contract whose worker polls it, instead of in an activityOptionsByName entry per calling workflow (Allow taskQueue in contract-level activityOptions #452). The call validates and classifies like context.activities.X. Options merge declareWorkflow's activityOptions → the activity's contract-level activityOptions → the per-call options, and must carry a per-attempt and a total bound.

Patch Changes

  • Updated dependencies [29c8bc3]
    • @temporal-contract/contract@8.0.0-beta.14

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

Patch Changes

  • 29c8bc3: Run a contract's global activity as a standalone activity, with no workflow around it (Temporal Server ≥ 1.32):

    const result = await client.for(pdfContract).executeActivity("renderInvoice", {
      activityId: `invoice-${invoiceId}`,
      args: { invoiceId },
    });

    ContractClient gains startActivity, executeActivity and getActivityHandle. The task queue comes from the contract, args is validated before the start, and the result is parsed against the output schema. The handle's result() decodes the activity's declared errors into typed ContractErrors and reports the outcomes as first-class errors: ActivityCancelledError, ActivityTerminatedError, ActivityTimeoutError, otherwise ActivityFailedError. describe, cancel and terminate err with ActivityExecutionNotFoundError, and a duplicate start with ActivityAlreadyStartedError. The activity's contract-level activityOptions are the call's defaults, and the merged options need a per-attempt and a total bound. New pattern groups: ACTIVITY_START_PATTERNS, ACTIVITY_RESULT_PATTERNS, ACTIVITY_EXECUTE_PATTERNS.

    The worker side needs nothing new: declareActivitiesHandler already registers each activity under its name on the contract's queue.

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

Patch Changes

  • Updated dependencies [29c8bc3]
  • Updated dependencies [29c8bc3]
    • @temporal-contract/client@8.0.0-beta.14
    • @temporal-contract/contract@8.0.0-beta.14
    • @temporal-contract/worker@8.0.0-beta.14

Copilot AI balanced review requested due to automatic review settings October 14, 2026 12:38
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-14T12:40:27.634939Z 4af32df PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Oct 14, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 29 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Repository: btravstack/temporal-contract/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a91b54f1-bcea-4fe5-9b7b-de0b9eb4775e
📥 Commits

Reviewing files that changed from the base of the PR and between 9fc7736 and 4af32df.

📒 Files selected for processing: 10
  • .changeset/pre/client-standalone-activities.md
  • .changeset/pre/worker-execute-activity.md
  • packages/client/CHANGELOG.md
  • packages/client/package.json
  • packages/contract/CHANGELOG.md
  • packages/contract/package.json
  • packages/testing/CHANGELOG.md
  • packages/testing/package.json
  • packages/worker/CHANGELOG.md
  • packages/worker/package.json
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

🔵 Needs a closer look

Merging triggers a public npm beta publish, which is a release-timing decision the maintainer explicitly reserves ("merge this... when you're ready to do a release") and warrants final human sign-off despite the diff being mechanically correct.

0 open findings

What changed in this PR

This is an automated release PR opened by the Changesets GitHub action while main is in beta pre-release mode. It promotes the four published @temporal-contract/* packages from 8.0.0-beta.13 to 8.0.0-beta.14, folding in two already-merged changesets (the client/contract standalone-activity feature and the worker context.executeActivity feature, both tied to issue #452). No source code changes are involved — only version numbers, CHANGELOG entries, internal peer-dependency ranges, and the archival of the consumed changesets under .changeset/pre/.

Changes:

  • Bump all four packages (contract, client, worker, testing) to 8.0.0-beta.14 and update their internal peer-dependency ranges to ^8.0.0-beta.14.
  • Append 8.0.0-beta.14 sections to each package's CHANGELOG, matching the consumed changesets' bump types (client/worker Minor, contract Patch, testing dependency-only).
  • Archive the two released changesets (client-standalone-activities.md, worker-execute-activity.md) under .changeset/pre/.
File Description
packages/​contract/​package.json Version bump to beta.14
packages/​contract/​CHANGELOG.md Patch Changes entry for the standalone-activity changeset
packages/​client/​package.json Version bump + contract peer dep → ^8.0.0-beta.14
packages/​client/​CHANGELOG.md Minor Changes entry + dependency update
packages/​worker/​package.json Version bump + contract peer dep → ^8.0.0-beta.14
packages/​worker/​CHANGELOG.md Minor Changes entry for executeActivity + dependency update
packages/​testing/​package.json Version bump + client/contract/worker peer deps → ^8.0.0-beta.14
packages/​testing/​CHANGELOG.md Dependency-update-only Patch Changes entry
.changeset/​pre/​client-standalone-activities.md Archived released changeset (client minor, contract patch)
.changeset/​pre/​worker-execute-activity.md Archived released changeset (worker minor)

I verified that all four packages are in a Changesets fixed group (explaining the lockstep testing bump), that no unconsumed changesets remain in the .changeset/ root, that every internal peer-dependency range was bumped consistently, and that each CHANGELOG section's bump type and text exactly matches the source changeset front matter. No objective issues were found.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@btravers
btravers merged commit c2db090 into main Oct 14, 2026
15 checks passed
@btravers
btravers deleted the changeset-release/main branch October 14, 2026 12:47
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