Repository navigation
chore: release package - #1085
Merged
Merged
Conversation
5 tasks
github-actions
Bot
force-pushed
the
changeset-release/main
branch
7 times, most recently
from
April 30, 2026 14:33
421dccd to
61590fc
Compare
6 tasks done
github-actions
Bot
force-pushed
the
changeset-release/main
branch
8 times, most recently
from
April 30, 2026 21:38
9d8b690 to
3e4d9b1
Compare
4 of 6 tasks
bokelley
added a commit
that referenced
this pull request
Apr 30, 2026
Adopter-reported issue against the v6.0 RC: pnpm link / npm link against the SDK produced 48 TypeScript errors and a 4 GB tsc OOM. Root cause: the linked SDK kept its own node_modules/[email protected] next to the consumer's [email protected]. Zod 4's `version.minor` literal type tag made the two copies nominally incompatible — `ZodSchema` from the SDK didn't unify with the consumer's `ZodSchema`. Without a peer-dep declaration, npm hoisting was the only thing keeping the npm-tarball install path working at all. The fix: - Move `zod` to `peerDependencies` with range `^4.1.0` so the consumer's resolution is authoritative. - Keep `zod` in `devDependencies` for the SDK's own build/test. - npm 7+ installs peer deps automatically — most consumers see no migration step. - `npm link` / `pnpm link` users may need `pnpm dedupe` (or removal of the linked SDK's nested `node_modules/zod`) so a single zod resolves at the consumer's workspace root. Also documents the zod 4.3.0 `.partial()` regression on `.refine()` schemas in migration-5.x-to-6.x.md. Not an SDK bug — SDK builds against 4.1.x to avoid silently bumping consumers into the hazard, but consumers whose own zod resolves to 4.3+ will hit the throw on any local schema combining `.partial()` + `.refine()`. Lands ahead of the 6.0.0 release-PR (#1085) so the published 6.0.0 has correct peer deps from the start. No 6.0.1 needed for this finding. Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
April 30, 2026 22:55
3e4d9b1 to
f616de9
Compare
4 of 6 tasks
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
April 30, 2026 23:09
f616de9 to
69a3f52
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
@adcp/[email protected]
@adcp/[email protected]