chore: release packages#266
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This is an automated Changesets release PR that finalizes the v4.0.0 publication set across the @temporal-contract/* packages, primarily reflecting the breaking upgrade to unthrown@1 (PascalCase constructors) that was already described in the originating changeset.
Changes:
- Bump package versions to
4.0.0forclient,contract,testing, andworker. - Generate
CHANGELOG.mdentries describing theunthrown@1.0.0breaking change (and dependency bumps where applicable). - Remove the consumed Changeset file (
.changeset/unthrown-v1.md).
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| packages/worker/package.json | Bumps @temporal-contract/worker version to 4.0.0 for release. |
| packages/worker/CHANGELOG.md | Adds the 4.0.0 changelog entry documenting the major unthrown@1 upgrade and dependency update. |
| packages/testing/package.json | Bumps @temporal-contract/testing version to 4.0.0 for release. |
| packages/testing/CHANGELOG.md | Adds the 4.0.0 changelog entry documenting the major unthrown@1 upgrade. |
| packages/contract/package.json | Bumps @temporal-contract/contract version to 4.0.0 for release. |
| packages/contract/CHANGELOG.md | Adds the 4.0.0 changelog entry documenting the major unthrown@1 upgrade. |
| packages/client/package.json | Bumps @temporal-contract/client version to 4.0.0 for release. |
| packages/client/CHANGELOG.md | Adds the 4.0.0 changelog entry documenting the major unthrown@1 upgrade and dependency update. |
| .changeset/unthrown-v1.md | Removes the consumed changeset after its contents were applied to versions/changelogs. |
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
@temporal-contract/client@4.0.0
Major Changes
ebf7683: Upgrade to
unthrown1.0.0.unthrown 1.0.0 renames the result constructors to PascalCase:
ok→Ok,err→Err,defect→Defect. All packages are updated, and theunthrownpeer-dependency range moves to^1.Breaking for consumers who construct results directly (e.g. in activity implementations): replace
ok(value)/err(failure)withOk(value)/Err(failure)(andok(value).toAsync()/err(failure).toAsync()at promise boundaries), and bumpunthrownto^1. Theresult.match({ ok, err, defect })handler keys are unchanged (they are object keys, not constructors), andmatchTags/TaggedError/fromPromise/fromSafePromise/.toAsync()and theresult.isOk()/isErr()/isDefect()narrowing are all unchanged.See the Migrating from neverthrow guide.
Patch Changes
@temporal-contract/contract@4.0.0
Major Changes
ebf7683: Upgrade to
unthrown1.0.0.unthrown 1.0.0 renames the result constructors to PascalCase:
ok→Ok,err→Err,defect→Defect. All packages are updated, and theunthrownpeer-dependency range moves to^1.Breaking for consumers who construct results directly (e.g. in activity implementations): replace
ok(value)/err(failure)withOk(value)/Err(failure)(andok(value).toAsync()/err(failure).toAsync()at promise boundaries), and bumpunthrownto^1. Theresult.match({ ok, err, defect })handler keys are unchanged (they are object keys, not constructors), andmatchTags/TaggedError/fromPromise/fromSafePromise/.toAsync()and theresult.isOk()/isErr()/isDefect()narrowing are all unchanged.See the Migrating from neverthrow guide.
@temporal-contract/testing@4.0.0
Major Changes
ebf7683: Upgrade to
unthrown1.0.0.unthrown 1.0.0 renames the result constructors to PascalCase:
ok→Ok,err→Err,defect→Defect. All packages are updated, and theunthrownpeer-dependency range moves to^1.Breaking for consumers who construct results directly (e.g. in activity implementations): replace
ok(value)/err(failure)withOk(value)/Err(failure)(andok(value).toAsync()/err(failure).toAsync()at promise boundaries), and bumpunthrownto^1. Theresult.match({ ok, err, defect })handler keys are unchanged (they are object keys, not constructors), andmatchTags/TaggedError/fromPromise/fromSafePromise/.toAsync()and theresult.isOk()/isErr()/isDefect()narrowing are all unchanged.See the Migrating from neverthrow guide.
@temporal-contract/worker@4.0.0
Major Changes
ebf7683: Upgrade to
unthrown1.0.0.unthrown 1.0.0 renames the result constructors to PascalCase:
ok→Ok,err→Err,defect→Defect. All packages are updated, and theunthrownpeer-dependency range moves to^1.Breaking for consumers who construct results directly (e.g. in activity implementations): replace
ok(value)/err(failure)withOk(value)/Err(failure)(andok(value).toAsync()/err(failure).toAsync()at promise boundaries), and bumpunthrownto^1. Theresult.match({ ok, err, defect })handler keys are unchanged (they are object keys, not constructors), andmatchTags/TaggedError/fromPromise/fromSafePromise/.toAsync()and theresult.isOk()/isErr()/isDefect()narrowing are all unchanged.See the Migrating from neverthrow guide.
Patch Changes