Skip to content

chore: release packages#502

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

chore: release packages#502
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

@amqp-contract/contract@2.0.0

Major Changes

  • 8707df1: BREAKING: Upgrade unthrown to 1.0.0.

    unthrown 1.0 renames the value constructors — okOk, errErr, defectDefect (the lowercase forms are removed). All packages now depend on unthrown@1.0.0, so consumers that build Result / AsyncResult values directly must update their call sites:

    - import { ok, err } from "unthrown";
    - return ok(undefined).toAsync();
    - return err(new RetryableError("...")).toAsync();
    + import { Ok, Err } from "unthrown";
    + return Ok(undefined).toAsync();
    + return Err(new RetryableError("...")).toAsync();

    Everything else is unchanged: the .match({ ok, err, defect }) handler keys stay lowercase (they're case branches, not constructors), and fromPromise / fromSafePromise / fromThrowable / all / allAsync / TaggedError(tag, { name }) / .isOk() / .toAsync() / .unwrap() keep the same signatures.

@amqp-contract/asyncapi@2.0.0

Patch Changes

  • Updated dependencies [8707df1]
    • @amqp-contract/contract@2.0.0

@amqp-contract/client@2.0.0

Patch Changes

  • Updated dependencies [8707df1]
    • @amqp-contract/contract@2.0.0
    • @amqp-contract/core@2.0.0

@amqp-contract/core@2.0.0

Patch Changes

  • Updated dependencies [8707df1]
    • @amqp-contract/contract@2.0.0

@amqp-contract/worker@2.0.0

Patch Changes

  • Updated dependencies [8707df1]
    • @amqp-contract/contract@2.0.0
    • @amqp-contract/core@2.0.0

@amqp-contract/testing@2.0.0

Copilot AI review requested due to automatic review settings June 27, 2026 23:08

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 to publish the @amqp-contract/* packages, primarily rolling forward the @amqp-contract/contract major version for the unthrown@1.0.0 breaking rename (ok/err/defectOk/Err/Defect) and aligning the rest of the fixed release group to 2.0.0.

Changes:

  • Bump package versions to 2.0.0 across contract, core, client, worker, asyncapi, and testing.
  • Add 2.0.0 release sections to package changelogs describing dependency updates / breaking change details.
  • Remove the consumed Changeset file (.changeset/unthrown-v1.md) as part of the release PR.

Reviewed changes

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

Show a summary per file
File Description
packages/worker/package.json Bumps @amqp-contract/worker version to 2.0.0 for the release.
packages/worker/CHANGELOG.md Adds 2.0.0 entry documenting updated dependencies.
packages/testing/package.json Bumps @amqp-contract/testing version to 2.0.0 for the release.
packages/testing/CHANGELOG.md Adds a 2.0.0 header (currently empty).
packages/core/package.json Bumps @amqp-contract/core version to 2.0.0 for the release.
packages/core/CHANGELOG.md Adds 2.0.0 entry documenting updated dependencies.
packages/contract/package.json Bumps @amqp-contract/contract version to 2.0.0 for the breaking change release.
packages/contract/CHANGELOG.md Adds 2.0.0 entry describing the unthrown@1.0.0 breaking rename.
packages/client/package.json Bumps @amqp-contract/client version to 2.0.0 for the release.
packages/client/CHANGELOG.md Adds 2.0.0 entry documenting updated dependencies.
packages/asyncapi/package.json Bumps @amqp-contract/asyncapi version to 2.0.0 for the release.
packages/asyncapi/CHANGELOG.md Adds 2.0.0 entry documenting updated dependencies.
.changeset/unthrown-v1.md Removes the Changeset after it has been applied to changelogs/versions.

Comment thread packages/testing/CHANGELOG.md
@btravers btravers force-pushed the changeset-release/main branch from 13bcaab to 2380c31 Compare June 27, 2026 23:19
@btravers btravers merged commit cbafe3c into main Jun 27, 2026
9 checks passed
@btravers btravers deleted the changeset-release/main branch June 27, 2026 23:28
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