chore: release packages#487
Open
btravers wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
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.0→0.26.0. - Generate/update per-package
CHANGELOG.mdentries for0.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 on lines
+3
to
+4
| ## 0.26.0 | ||
|
|
Comment on lines
+3
to
+4
| ## 0.26.0 | ||
|
|
2 tasks
f08a938 to
1c32459
Compare
44665c6 to
2a0fcc2
Compare
2a0fcc2 to
648b869
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
neverthrowdependency withunthrownfor value-based error handling across all packages.unthrownkeeps the errors-as-values model but adds a thirdDefectchannel for unexpected failures, and renames/reshapes several APIs. If you consume theResult/AsyncResultvalues returned by the client, worker, and core, you will need to update your call sites.What changed
ResultAsync→AsyncResult. All async-returning methods (publish,call,create,close, handler return types, …) now returnunthrown'sAsyncResult<T, E>..match()is now boxed and has three channels.result.match(okFn, errFn)→result.match({ ok, err, defect }). The extradefectbranch handles unexpected throws..andThen→.flatMap,.andTee→.tap,.orTee→.tapErr(.map,.mapErr,.orElseare unchanged).okAsync/errAsync. Build async results withok(value).toAsync()/err(error).toAsync().ResultAsync.fromPromise/Result.fromThrowable. Use the free functionsfromPromise(promise, qualify),fromSafePromise(promise), andfromThrowable(fn, qualify). Thequalifymapper returnsE | Defect.._unsafeUnwrap()→.unwrap(),._unsafeUnwrapErr()→.unwrapErr()(these now throwUnwrapErroron the wrong variant, and re-throw the original cause on aDefect)..isOk()/.isErr()/.isDefect()narrow like neverthrow's did (they guardthis); standaloneisOk(result)/isErr(result)/isDefect(result)functions are also available.TaggedErrors.TechnicalError,MessageValidationError,RetryableError,NonRetryableError,RpcTimeoutError, andRpcCancelledErroreach carry a_tagfor exhaustive dispatch viamatchTags. The tags are namespaced —"@amqp-contract/TechnicalError","@amqp-contract/RetryableError", etc. — so they don't collide with other libraries' tags in a sharedmatchTags. The human-facingError.nameis kept bare ("TechnicalError","RetryableError", …), so stack traces and.namechecks are unaffected. Their positional constructors are unchanged.HandlerErroris now a tagged-union type, not an abstract class. It isRetryableError | NonRetryableError. Replaceerror instanceof HandlerErrorwithisHandlerError(error).Patch Changes
btraversGitHub profile to thebtravstackorganization. Documentation now lives at https://btravstack.github.io/amqp-contract/.@amqp-contract/asyncapi@1.0.0
Minor Changes
engines.node: ">=22.19"on all publishable packages.undici@8.4.1(transitively required via@amqp-contract/testing→testcontainers) requires Node>=22.19.0; consumers now see this constraint at install time instead of silently inheriting it.Patch Changes
@amqp-contract/client@1.0.0
Patch Changes
@amqp-contract/core@1.0.0
Patch Changes
@amqp-contract/worker@1.0.0
Patch Changes
@amqp-contract/testing@1.0.0