chore: release packages#502
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
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/defect → Ok/Err/Defect) and aligning the rest of the fixed release group to 2.0.0.
Changes:
- Bump package versions to
2.0.0acrosscontract,core,client,worker,asyncapi, andtesting. - Add
2.0.0release 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. |
13bcaab to
2380c31
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@2.0.0
Major Changes
8707df1: BREAKING: Upgrade
unthrownto1.0.0.unthrown 1.0 renames the value constructors —
ok→Ok,err→Err,defect→Defect(the lowercase forms are removed). All packages now depend onunthrown@1.0.0, so consumers that buildResult/AsyncResultvalues directly must update their call sites:Everything else is unchanged: the
.match({ ok, err, defect })handler keys stay lowercase (they're case branches, not constructors), andfromPromise/fromSafePromise/fromThrowable/all/allAsync/TaggedError(tag, { name })/.isOk()/.toAsync()/.unwrap()keep the same signatures.@amqp-contract/asyncapi@2.0.0
Patch Changes
@amqp-contract/client@2.0.0
Patch Changes
@amqp-contract/core@2.0.0
Patch Changes
@amqp-contract/worker@2.0.0
Patch Changes
@amqp-contract/testing@2.0.0