Skip to content

chore: release packages#30

Merged
btravers merged 1 commit into
mainfrom
changeset-release/main
Jun 27, 2026
Merged

chore: release packages#30
btravers merged 1 commit into
mainfrom
changeset-release/main

Conversation

@btravers

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

unthrown@1.0.0

Major Changes

  • d5f4256: BREAKING: capitalize the value constructors so they match the
    discriminated-union tags ("Ok"/"Err"/"Defect") and the capitalized Do:

    • okOk, errErr, defectDefect
    • facade: Result.ok/err/defectResult.Ok/Err/Defect
    • @unthrown/pattern: P.ok/err/defectP.Ok/Err/Defect

    Unchanged: the match handler keys (r.match({ ok, err, defect })), the guards
    (isOk/isErr/isDefect), and the "defect channel" terminology. Migration is
    a near-mechanical rename of the constructor call sites (ok(Ok(, etc.).
    Note Err, not Error, to avoid shadowing the global Error.

Minor Changes

  • b6cc550: Add do-notation: Do() plus the bind / let methods on Result and
    AsyncResult, for sequencing dependent steps into a named scope without nested
    flatMap closures.

    Do()
      .bind("user", () => findUser(id)) // Result<User, NotFound>
      .bind("org", ({ user }) => findOrg(user.orgId)) // Result<Org, NotFound>
      .let("label", ({ user, org }) => `${user.name} @ ${org.name}`)
      .map(({ user, org, label }) => render(user, org, label));
    // Result<View, NotFound>

    bind(name, f) sequences a Result-returning step and binds its value under
    name in an accumulating readonly object scope (error types union); let
    binds a pure value. On AsyncResult, bind accepts a Result or an
    AsyncResult. A throw in either becomes a Defect, and Err/Defect
    short-circuits — same guarantees as every other combinator. (Do is capitalised
    because do is reserved; lift a sync chain with toAsync() to go async.)

    This is the fluent do-notation only; generator (gen/safeTry) style remains
    out of scope.

@unthrown/boxed@1.0.0

Patch Changes

  • Updated dependencies [d5f4256]
  • Updated dependencies [b6cc550]
    • unthrown@1.0.0

@unthrown/effect@1.0.0

Patch Changes

  • Updated dependencies [d5f4256]
  • Updated dependencies [b6cc550]
    • unthrown@1.0.0

@unthrown/neverthrow@1.0.0

Patch Changes

  • Updated dependencies [d5f4256]
  • Updated dependencies [b6cc550]
    • unthrown@1.0.0

@unthrown/pattern@1.0.0

Patch Changes

  • Updated dependencies [d5f4256]
  • Updated dependencies [b6cc550]
    • unthrown@1.0.0

@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 capitalized Do:

    • okOk, errErr, defectDefect
    • facade: Result.ok/err/defectResult.Ok/Err/Defect
    • @unthrown/pattern: P.ok/err/defectP.Ok/Err/Defect

    Unchanged: the match handler keys (r.match({ ok, err, defect })), the guards
    (isOk/isErr/isDefect), and the "defect channel" terminology. Migration is
    a near-mechanical rename of the constructor call sites (ok(Ok(, etc.).
    Note Err, not Error, to avoid shadowing the global Error.

  • Updated dependencies [d5f4256]

  • Updated dependencies [b6cc550]

    • unthrown@1.0.0

@unthrown/vitest@1.0.0

Patch Changes

  • Updated dependencies [d5f4256]
  • Updated dependencies [b6cc550]
    • unthrown@1.0.0

Copilot AI review requested due to automatic review settings June 27, 2026 21:56

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 unthrown and companion interop packages (most to 1.0.0; @unthrown/standard-schema to 0.2.1).
  • Added release entries to package changelogs reflecting the published changesets (constructor capitalization + Do-notation + dependency updates).
  • Removed consumed .changeset/*.md files 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.

Comment thread packages/standard-schema/CHANGELOG.md
@btravers btravers merged commit fa4c17d into main Jun 27, 2026
12 checks passed
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