chore: release packages (beta) - #159
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 (beta.9) across the unthrown monorepo, reflecting the P.tag(...) pattern-constructor move in core and dependency bumps in satellite packages.
Changes:
- Bump package versions from
5.0.0-beta.8to5.0.0-beta.9across core and related packages. - Update package changelogs to include the
5.0.0-beta.9release entries (including core’s major-change notes). - Update
.changeset/pre.jsonto include the new changeset IDs used in the prerelease sequence.
Reviewed changes
Copilot reviewed 15 out of 15 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| packages/core/package.json | Version bump to 5.0.0-beta.9. |
| packages/core/CHANGELOG.md | Adds 5.0.0-beta.9 major-change entry documenting tag → P.tag. |
| packages/boxed/package.json | Version bump to 5.0.0-beta.9. |
| packages/boxed/CHANGELOG.md | Adds 5.0.0-beta.9 patch entry for updated dependency on core. |
| packages/effect/package.json | Version bump to 5.0.0-beta.9. |
| packages/effect/CHANGELOG.md | Adds 5.0.0-beta.9 patch entry for updated dependency on core. |
| packages/neverthrow/package.json | Version bump to 5.0.0-beta.9. |
| packages/neverthrow/CHANGELOG.md | Adds 5.0.0-beta.9 patch entry for updated dependency on core. |
| packages/oxlint/package.json | Version bump to 5.0.0-beta.9. |
| packages/oxlint/CHANGELOG.md | Adds 5.0.0-beta.9 patch entry updating rule messaging to use P.tag. |
| packages/standard-schema/package.json | Version bump to 5.0.0-beta.9. |
| packages/standard-schema/CHANGELOG.md | Adds 5.0.0-beta.9 patch entry for updated dependency on core. |
| packages/vitest/package.json | Version bump to 5.0.0-beta.9. |
| packages/vitest/CHANGELOG.md | Adds 5.0.0-beta.9 header (currently missing any change notes). |
| .changeset/pre.json | Adds oxlint-p-tag-message and p-tag-pattern to the prerelease changeset list. |
💡 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.9
Major Changes
e43d44e:
tag(t)moves onto the pattern namespace asP.tag(t); the standalonetagexport is removed.tagis a pattern constructor, and every other onealready lives on
P(P._/P.any/P.instanceOf/P.when/P.union/P.string/P.number) — having exactly one of them sitting loose in the rootexport was the odd one out. There is no alias: one concept, one name.
The type and the runtime behaviour are unchanged — it still produces the
{ _tag: t }object pattern, still narrows to the matching variant with itspayload, and still works in grouped patterns and inside
P.union.Migration is mechanical: drop
tagfrom the import (keeping or addingP) andprefix the call sites. (The
- import { tag } from "unthrown"line below is thev5-beta spelling; coming from 4.x the import was
@unthrown/pattern, which isgone — see the v5 upgrade guide.)
TaggedError(and theTaggedErrorConstructor/TaggedErrorInstancetypes)are untouched and still exported from the root — only the matcher pattern
moved.
@unthrown/boxed@5.0.0-beta.9
Patch Changes
@unthrown/effect@5.0.0-beta.9
Patch Changes
@unthrown/neverthrow@5.0.0-beta.9
Patch Changes
@unthrown/oxlint@5.0.0-beta.9
Patch Changes
no-catch-all-pattern's diagnostic and documentation to spell therecommended form as
.with(P.tag("A"), P.tag("B"), …, handler), followingcore's move of the
tagpattern constructor onto thePnamespace. No rulebehaviour, name, or option changed — only the guidance text a developer reads
when the rule fires.
@unthrown/standard-schema@5.0.0-beta.9
Patch Changes
@unthrown/vitest@5.0.0-beta.9