chore: release packages#30
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Automated Changesets release PR preparing the workspace packages for publication to npm, primarily by bumping versions and generating/updating changelogs for the unthrown@1.0.0 release (and related package releases).
Changes:
- Bumped package versions for
unthrownand companion interop packages (most to1.0.0;@unthrown/standard-schemato0.2.1). - Added release entries to package changelogs reflecting the published changesets (constructor capitalization + Do-notation + dependency updates).
- Removed consumed
.changeset/*.mdfiles after changelog generation.
Reviewed changes
Copilot reviewed 16 out of 16 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| packages/vitest/package.json | Version bump to 1.0.0 for release publishing. |
| packages/vitest/CHANGELOG.md | Added 1.0.0 release notes (dependency updates). |
| packages/standard-schema/package.json | Version bump to 0.2.1 for release publishing. |
| packages/standard-schema/CHANGELOG.md | Added 0.2.1 release notes (includes dependency updates; wording needs attention). |
| packages/pattern/package.json | Version bump to 1.0.0 for release publishing. |
| packages/pattern/CHANGELOG.md | Added 1.0.0 release notes (dependency updates). |
| packages/neverthrow/package.json | Version bump to 1.0.0 for release publishing. |
| packages/neverthrow/CHANGELOG.md | Added 1.0.0 release notes (dependency updates). |
| packages/effect/package.json | Version bump to 1.0.0 for release publishing. |
| packages/effect/CHANGELOG.md | Added 1.0.0 release notes (dependency updates). |
| packages/core/package.json | Version bump to 1.0.0 for the core release. |
| packages/core/CHANGELOG.md | Added 1.0.0 release notes documenting breaking constructor capitalization + Do-notation. |
| packages/boxed/package.json | Version bump to 1.0.0 for release publishing. |
| packages/boxed/CHANGELOG.md | Added 1.0.0 release notes (dependency updates). |
| .changeset/do-notation.md | Removed consumed changeset after changelog generation. |
| .changeset/capitalize-constructors.md | Removed consumed changeset after changelog generation. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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
unthrown@1.0.0
Major Changes
d5f4256: BREAKING: capitalize the value constructors so they match the
discriminated-union tags (
"Ok"/"Err"/"Defect") and the capitalizedDo:ok→Ok,err→Err,defect→DefectResult.ok/err/defect→Result.Ok/Err/Defect@unthrown/pattern:P.ok/err/defect→P.Ok/Err/DefectUnchanged: the
matchhandler keys (r.match({ ok, err, defect })), the guards(
isOk/isErr/isDefect), and the"defect channel"terminology. Migration isa near-mechanical rename of the constructor call sites (
ok(→Ok(, etc.).Note
Err, notError, to avoid shadowing the globalError.Minor Changes
b6cc550: Add do-notation:
Do()plus thebind/letmethods onResultandAsyncResult, for sequencing dependent steps into a named scope without nestedflatMapclosures.bind(name, f)sequences aResult-returning step and binds its value undernamein an accumulating readonly object scope (error types union);letbinds a pure value. On
AsyncResult,bindaccepts aResultor anAsyncResult. A throw in either becomes aDefect, andErr/Defectshort-circuits — same guarantees as every other combinator. (
Dois capitalisedbecause
dois reserved; lift a sync chain withtoAsync()to go async.)This is the fluent do-notation only; generator (
gen/safeTry) style remainsout of scope.
@unthrown/boxed@1.0.0
Patch Changes
@unthrown/effect@1.0.0
Patch Changes
@unthrown/neverthrow@1.0.0
Patch Changes
@unthrown/pattern@1.0.0
Patch Changes
@unthrown/standard-schema@0.2.1
Patch Changes
d5f4256: BREAKING: capitalize the value constructors so they match the
discriminated-union tags (
"Ok"/"Err"/"Defect") and the capitalizedDo:ok→Ok,err→Err,defect→DefectResult.ok/err/defect→Result.Ok/Err/Defect@unthrown/pattern:P.ok/err/defect→P.Ok/Err/DefectUnchanged: the
matchhandler keys (r.match({ ok, err, defect })), the guards(
isOk/isErr/isDefect), and the"defect channel"terminology. Migration isa near-mechanical rename of the constructor call sites (
ok(→Ok(, etc.).Note
Err, notError, to avoid shadowing the globalError.Updated dependencies [d5f4256]
Updated dependencies [b6cc550]
@unthrown/vitest@1.0.0
Patch Changes