Skip to content

chore: release packages (beta) - #148

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

chore: release packages (beta)#148
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.

⚠️⚠️⚠️⚠️⚠️⚠️

main is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on main.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

unthrown@5.0.0-beta.5

Major Changes

  • 5364caa: ts-pattern is now a peerDependency (^5), not a plain dependency. Core
    re-exports match / P / tag and its error matchers speak ts-pattern's
    builder type. When ts-pattern was a nested, exact-pinned dependency, a consumer
    who already used ts-pattern at another version ended up with two copies whose
    declarations don't unify — feeding a P.union(...) built by one copy into an
    unthrown matcher failed five layers deep in a conditional type.

    Declaring it as a peer guarantees a single copy the consumer owns, so
    import { P } from "ts-pattern" composes with unthrown's matchers as expected.

    Action required: add ts-pattern (^5) to your own dependencies if you
    don't already depend on it. Most package managers surface this as a missing-peer
    warning on install.

Patch Changes

  • 5364caa: getOrThrow()'s never-channel gate now explains itself. When the error
    channel is already empty (E = never) getOrThrow() is unnecessary — there is
    nothing to throw, so get() is the tool. The gate previously surfaced as an
    opaque The 'this' context of type '…' is not assignable to method's 'this' of type 'never'. The never receiver now carries a message, so the diagnostic
    reads:

    unthrown: getOrThrow is unnecessary here — the Err channel is empty (E =
    never), so there is nothing to throw. Use get() instead.

    Behaviour is unchanged; only the compile-time message improves.

@unthrown/boxed@5.0.0-beta.5

Patch Changes

  • Updated dependencies [5364caa]
  • Updated dependencies [5364caa]
    • unthrown@5.0.0-beta.5

@unthrown/effect@5.0.0-beta.5

Patch Changes

  • Updated dependencies [5364caa]
  • Updated dependencies [5364caa]
    • unthrown@5.0.0-beta.5

@unthrown/neverthrow@5.0.0-beta.5

Patch Changes

  • Updated dependencies [5364caa]
  • Updated dependencies [5364caa]
    • unthrown@5.0.0-beta.5

@unthrown/standard-schema@5.0.0-beta.5

Patch Changes

  • Updated dependencies [5364caa]
  • Updated dependencies [5364caa]
    • unthrown@5.0.0-beta.5

@unthrown/oxlint@5.0.0-beta.5

@unthrown/vitest@5.0.0-beta.5

Copilot AI review requested due to automatic review settings July 27, 2026 18:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This is an automated Changesets release PR to publish the next prerelease versions (beta.5) across the unthrown monorepo while main remains in pre mode.

Changes:

  • Bump package versions from 5.0.0-beta.45.0.0-beta.5 across the affected packages.
  • Add 5.0.0-beta.5 entries to package changelogs, including core’s notes about moving ts-pattern to a peerDependency and improving the getOrThrow() never-channel diagnostic.
  • Update .changeset/pre.json to include the new prerelease changeset IDs.

Reviewed changes

Copilot reviewed 15 out of 15 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/vitest/package.json Version bump to 5.0.0-beta.5.
packages/vitest/CHANGELOG.md Add 5.0.0-beta.5 header.
packages/standard-schema/package.json Version bump to 5.0.0-beta.5.
packages/standard-schema/CHANGELOG.md Add 5.0.0-beta.5 section with dependency update note.
packages/oxlint/package.json Version bump to 5.0.0-beta.5.
packages/oxlint/CHANGELOG.md Add 5.0.0-beta.5 header.
packages/neverthrow/package.json Version bump to 5.0.0-beta.5.
packages/neverthrow/CHANGELOG.md Add 5.0.0-beta.5 section with dependency update note.
packages/effect/package.json Version bump to 5.0.0-beta.5.
packages/effect/CHANGELOG.md Add 5.0.0-beta.5 section with dependency update note.
packages/core/package.json Version bump to 5.0.0-beta.5.
packages/core/CHANGELOG.md Add 5.0.0-beta.5 release notes (ts-pattern peer dep; improved getOrThrow diagnostic).
packages/boxed/package.json Version bump to 5.0.0-beta.5.
packages/boxed/CHANGELOG.md Add 5.0.0-beta.5 section with dependency update note.
.changeset/pre.json Append new prerelease changeset IDs for this beta release.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@btravers
btravers merged commit 5a8e920 into main Jul 27, 2026
15 checks passed
@btravers
btravers deleted the changeset-release/main branch July 27, 2026 18:25
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