Skip to content

chore: release package - #1085

Merged
bokelley merged 1 commit into
mainfrom
changeset-release/main
Apr 30, 2026
Merged

bokelley merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

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

The changelog information of each package has been omitted from this message, as the content exceeds the size limit.

@adcp/[email protected]

@adcp/[email protected]

@github-actions
github-actions Bot requested a review from bokelley as a code owner April 30, 2026 13:13
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 7 times, most recently from 421dccd to 61590fc Compare April 30, 2026 14:33
@github-actions
github-actions Bot force-pushed the changeset-release/main branch 8 times, most recently from 9d8b690 to 3e4d9b1 Compare April 30, 2026 21:38
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
github-actions Bot force-pushed the changeset-release/main branch from 3e4d9b1 to f616de9 Compare April 30, 2026 22:55
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from f616de9 to 69a3f52 Compare April 30, 2026 23:09
@bokelley
bokelley merged commit bfad06c into main Apr 30, 2026
2 checks passed
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.

1 participant