Skip to content

chore(deps): bump unthrown to 5.0.0-beta.6, drop ts-pattern - #347

Merged
btravers merged 2 commits into
mainfrom
chore/bump-unthrown-beta.6
Jul 27, 2026
Merged

chore(deps): bump unthrown to 5.0.0-beta.6, drop ts-pattern#347
btravers merged 2 commits into
mainfrom
chore/bump-unthrown-beta.6

Conversation

@btravers

Copy link
Copy Markdown
Collaborator

Bumps unthrown / @unthrown/vitest to 5.0.0-beta.6 — the release whose exhaustive matcher is built-in (same .with(…) / tag / P call-site shape, generic-E catch-all now provable).

  • Zero code changes — all P / match / tag imports already come from unthrown.
  • ts-pattern fully removed: the catalog entry plus the devDeps + peerDeps (client/contract/worker) and example deps added for beta.5's peer requirement. pnpm add unthrown is once again the whole story for consumers.
  • unthrown peer range → ^5.0.0-beta.6.
  • Patch changeset → cuts the next beta on merge.

Gate green: format, lint, typecheck, knip, test, build.

beta.6 builds the exhaustive matcher into unthrown itself (same
.with/tag/P call-site shape), so no code changes are needed and the
ts-pattern catalog entry, devDependencies, and peerDependencies added for
beta.5's peer requirement are all removed. unthrown peer range raised to
^5.0.0-beta.6.
Copilot AI review requested due to automatic review settings July 27, 2026 22:55

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

Updates the monorepo dependency catalog and package peer ranges to adopt unthrown@5.0.0-beta.6 (and @unthrown/vitest@5.0.0-beta.6), and removes ts-pattern now that the matcher is built into unthrown.

Changes:

  • Bump unthrown and @unthrown/vitest from 5.0.0-beta.55.0.0-beta.6 via the workspace catalog + lockfile.
  • Remove ts-pattern from the catalog and from all affected package peer/dev dependencies (including examples).
  • Add a patch changeset to publish the updated peer range.

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
pnpm-workspace.yaml Bumps unthrown / @unthrown/vitest catalog versions and removes ts-pattern from the catalog.
pnpm-lock.yaml Updates lock entries to 5.0.0-beta.6 and removes ts-pattern resolution graph entries.
packages/worker/package.json Removes ts-pattern and bumps unthrown peer range to ^5.0.0-beta.6.
packages/contract/package.json Removes ts-pattern peer dependency/meta and bumps unthrown peer range.
packages/client/package.json Removes ts-pattern peer dependency and bumps unthrown peer range.
examples/order-processing-worker/package.json Drops ts-pattern from example dependencies.
examples/order-processing-client/package.json Drops ts-pattern from example dependencies.
.changeset/bump-unthrown-beta-6.md Adds a patch changeset describing the bump/removal.
Files not reviewed (1)
  • pnpm-lock.yaml: Generated file

Comment thread .changeset/bump-unthrown-beta-6.md
The dependency is gone (beta.6 builds the matcher into unthrown); the
migration guide, worker errors JSDoc, and the agent dependency rules now
say 'exhaustive matcher' instead of naming ts-pattern, and the catalog
note no longer lists it.
@btravers
btravers merged commit ec18611 into main Jul 27, 2026
11 checks passed
@btravers
btravers deleted the chore/bump-unthrown-beta.6 branch July 27, 2026 23:04
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