chore: release packages (beta) - #148
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
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.4→5.0.0-beta.5across the affected packages. - Add
5.0.0-beta.5entries to package changelogs, including core’s notes about movingts-patternto apeerDependencyand improving thegetOrThrow()never-channel diagnostic. - Update
.changeset/pre.jsonto 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.
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.
mainis currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exitonmain.Releases
unthrown@5.0.0-beta.5
Major Changes
5364caa:
ts-patternis now apeerDependency(^5), not a plain dependency. Corere-exports
match/P/tagand its error matchers speak ts-pattern'sbuilder 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 anunthrown 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 youdon'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 errorchannel is already empty (
E = never)getOrThrow()is unnecessary — there isnothing to throw, so
get()is the tool. The gate previously surfaced as anopaque
The 'this' context of type '…' is not assignable to method's 'this' of type 'never'. Theneverreceiver now carries a message, so the diagnosticreads:
Behaviour is unchanged; only the compile-time message improves.
@unthrown/boxed@5.0.0-beta.5
Patch Changes
@unthrown/effect@5.0.0-beta.5
Patch Changes
@unthrown/neverthrow@5.0.0-beta.5
Patch Changes
@unthrown/standard-schema@5.0.0-beta.5
Patch Changes
@unthrown/oxlint@5.0.0-beta.5
@unthrown/vitest@5.0.0-beta.5