chore: release packages - #30
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This Changesets release PR prepares @btravstack/entity for publishing 0.1.1 by applying the version bump and recording the release notes generated from the consumed changeset(s).
Changes:
- Bump
@btravstack/entityversion from0.1.0to0.1.1. - Add a
0.1.1changelog entry describing the patch change (README now points to the hosted docs site). - Remove the consumed
.changeset/*markdown entries.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| packages/entity/package.json | Version bump to 0.1.1 for the package release. |
| packages/entity/CHANGELOG.md | Adds the 0.1.1 release notes entry. |
| .changeset/no-release-first-publish.md | Removed as part of release housekeeping. |
| .changeset/gentle-hoops-repeat.md | Removed after being consumed into the 0.1.1 release notes. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
btravers
force-pushed
the
changeset-release/main
branch
from
August 7, 2026 20:28
77f8900 to
d675bc4
Compare
btravers
force-pushed
the
changeset-release/main
branch
from
August 7, 2026 21:51
d675bc4 to
9e0e471
Compare
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.
Releases
@btravstack/entity@0.2.0
Minor Changes
b5758a5: Declaration emit no longer expands the whole static surface into every consumer's
.d.ts.EntityStatic— whatEntity(tag)(fields, options)returns — was not exported,so TypeScript had no name to write for it and serialised the entire static
surface structurally into any downstream package compiling with
declaration: true: the construct signature, all fourZodObjects, both zodslots, the four phantom carriers and
make/extend/factory, with the fieldmap repeated a dozen times over. A one-field entity emitted a 274,048-byte
declaration; it is now 240.
That expansion was two build failures, not a verbosity problem:
repeated field map past the compiler's serialisation ceiling —
TS7056,fixable only by abandoning
z.enumfor a branded string and losing bothruntime membership validation and compile-time exhaustiveness (#31);
z.object({…}).brand("X")) was expanded throughDeepReadonlyuntil zod's module-private$brandsymbol reachedcomputed-key position, where it cannot be named across a module boundary —
TS4020(#32). Branded objects now work, and stay deep-readonly; the"model it as a nested entity instead" workaround is no longer needed.
Both surfaced only at the consuming package's build, long after
tsc --noEmit,the tests and everything else had gone green.
EntityStaticis now a top-level export, andEntity.Staticfor anyoneannotating by hand. Both regressions are pinned by the consumer fixture.
EntityUnionandUnionMemberare exported for the same reason, one typefurther along: an exported
constholding anEntity.union(...)had notop-level name either, so TypeScript expanded its members structurally and
reached
$brandthrough any branded field —TS4023: Exported variable 'X' has or is using name '$brand' … but cannot be named. Reported as the second errorin #32, and reproduced by declaring a union over an entity with a branded
Moneyfield.The zod peer range widens from
^4.4.0to^4.3.0. Nothing in theimplementation needed 4.4; the range was simply the version current at the
initial release. The floor is measured — the full surface typechecks, emits
declarations and passes its runtime assertions on 4.3.0. Monorepos that pin one
zod across every package no longer have to move the whole catalog, or relax the
peer locally, to adopt this (#33).
Patch Changes
https://btravstack.github.io/entity/, instead of the Markdown files in the
repository. No code change.