Skip to content

chore: release packages#487

Open
btravers wants to merge 1 commit into
mainfrom
changeset-release/main
Open

chore: release packages#487
btravers wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@btravers

@btravers btravers commented Jun 16, 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.

Releases

@amqp-contract/contract@1.0.0

Major Changes

  • d5fec7e: BREAKING: Replace the neverthrow dependency with unthrown for value-based error handling across all packages.

    unthrown keeps the errors-as-values model but adds a third Defect channel for unexpected failures, and renames/​reshapes several APIs. If you consume the Result / AsyncResult values returned by the client, worker, and core, you will need to update your call sites.

    What changed

    • ResultAsyncAsyncResult. All async-returning methods (publish, call, create, close, handler return types, …) now return unthrown's AsyncResult<T, E>.
    • .match() is now boxed and has three channels. result.match(okFn, errFn)result.match({ ok, err, defect }). The extra defect branch handles unexpected throws.
    • .andThen.flatMap, .andTee.tap, .orTee.tapErr (.map, .mapErr, .orElse are unchanged).
    • No okAsync / errAsync. Build async results with ok(value).toAsync() / err(error).toAsync().
    • No static ResultAsync.fromPromise / Result.fromThrowable. Use the free functions fromPromise(promise, qualify), fromSafePromise(promise), and fromThrowable(fn, qualify). The qualify mapper returns E | Defect.
    • ._unsafeUnwrap().unwrap(), ._unsafeUnwrapErr().unwrapErr() (these now throw UnwrapError on the wrong variant, and re-throw the original cause on a Defect).
    • .isOk() / .isErr() / .isDefect() narrow like neverthrow's did (they guard this); standalone isOk(result) / isErr(result) / isDefect(result) functions are also available.
    • Error classes are now TaggedErrors. TechnicalError, MessageValidationError, RetryableError, NonRetryableError, RpcTimeoutError, and RpcCancelledError each carry a _tag for exhaustive dispatch via matchTags. The tags are namespaced"@amqp-contract/TechnicalError", "@amqp-contract/RetryableError", etc. — so they don't collide with other libraries' tags in a shared matchTags. The human-facing Error.name is kept bare ("TechnicalError", "RetryableError", …), so stack traces and .name checks are unaffected. Their positional constructors are unchanged.
    • HandlerError is now a tagged-union type, not an abstract class. It is RetryableError | NonRetryableError. Replace error instanceof HandlerError with isHandlerError(error).

Patch Changes

@amqp-contract/asyncapi@1.0.0

Minor Changes

  • 4d574c6: Declare engines.node: ">=22.19" on all publishable packages. undici@8.4.1 (transitively required via @amqp-contract/testingtestcontainers) requires Node >=22.19.0; consumers now see this constraint at install time instead of silently inheriting it.

Patch Changes

  • Updated dependencies [d5fec7e]
  • Updated dependencies [4ed4abe]
    • @amqp-contract/contract@1.0.0

@amqp-contract/client@1.0.0

Patch Changes

  • Updated dependencies [d5fec7e]
  • Updated dependencies [4ed4abe]
    • @amqp-contract/contract@1.0.0
    • @amqp-contract/core@1.0.0

@amqp-contract/core@1.0.0

Patch Changes

  • Updated dependencies [d5fec7e]
  • Updated dependencies [4ed4abe]
    • @amqp-contract/contract@1.0.0

@amqp-contract/worker@1.0.0

Patch Changes

  • Updated dependencies [d5fec7e]
  • Updated dependencies [4ed4abe]
    • @amqp-contract/contract@1.0.0
    • @amqp-contract/core@1.0.0

@amqp-contract/testing@1.0.0

Copilot AI review requested due to automatic review settings June 16, 2026 05:54

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 preparing the @amqp-contract/* publishable packages for the 0.26.0 release, including release notes for the Node.js engine requirement change and the coordinated version bump across the fixed group.

Changes:

  • Bump publishable package versions from 0.25.00.26.0.
  • Generate/update per-package CHANGELOG.md entries for 0.26.0.
  • Remove the consumed changeset file (.changeset/declare-node-engines.md).

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
packages/worker/package.json Version bump to 0.26.0.
packages/worker/CHANGELOG.md Add 0.26.0 entry with dependency bumps.
packages/testing/package.json Version bump to 0.26.0.
packages/testing/CHANGELOG.md Add 0.26.0 heading (currently missing release notes).
packages/core/package.json Version bump to 0.26.0.
packages/core/CHANGELOG.md Add 0.26.0 entry with dependency bumps.
packages/contract/package.json Version bump to 0.26.0.
packages/contract/CHANGELOG.md Add 0.26.0 heading (currently missing release notes).
packages/client/package.json Version bump to 0.26.0.
packages/client/CHANGELOG.md Add 0.26.0 entry with dependency bumps.
packages/asyncapi/package.json Version bump to 0.26.0.
packages/asyncapi/CHANGELOG.md Add 0.26.0 entry including the Node engines note.
.changeset/declare-node-engines.md Remove changeset after versioning.

Comment thread packages/testing/CHANGELOG.md Outdated
Comment on lines +3 to +4
## 0.26.0

Comment thread packages/contract/CHANGELOG.md Outdated
Comment on lines +3 to +4
## 0.26.0

@btravers btravers force-pushed the changeset-release/main branch from f08a938 to 1c32459 Compare June 16, 2026 07:05
@btravers btravers force-pushed the changeset-release/main branch 4 times, most recently from 44665c6 to 2a0fcc2 Compare June 26, 2026 12:58
@btravers btravers force-pushed the changeset-release/main branch from 2a0fcc2 to 648b869 Compare June 27, 2026 00:09
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