Skip to content

chore(deps): upgrade to zod 4 and TypeScript 7 - #53

Merged
stephendolan merged 1 commit into
mainfrom
chore/zod-4-typescript-7
Oct 7, 2026
Merged

stephendolan merged 1 commit into
mainfrom
chore/zod-4-typescript-7

Conversation

@stephendolan

Copy link
Copy Markdown
Owner

Both majors were reverted earlier for fixable reasons:

  • zod 4: the Dependabot bump updated package.json without bun.lock (the npm-ecosystem bug fixed in chore(deps): resolve audit findings and move Dependabot to bun #50), leaving the MCP SDK on its own nested zod 3, so our schemas didn't match its types. With one shared zod 4.6.5, all 26 MCP tools advertise the same properties, types, descriptions, and required fields as before. Tool schemas no longer declare additionalProperties: false; unknown arguments are still stripped.
  • TypeScript: TS 6 stopped loading @types packages automatically, which broke the April typecheck. tsconfig.json now lists "bun". TS 7.0.2, the native compiler, typechecks the repo in about 0.2s and still catches a planted type error.

Dependabot no longer ignores either package's majors. The lockfile was regenerated with --minimum-release-age=259200; it differs from main only in zod, TypeScript, and TypeScript's platform binaries. TypeScript ships without npm provenance for every version; 7.x comes from Microsoft's microsoft1es account, which has published the TS 7 line since May 2025.

zod is a runtime dependency, so this needs a patch release to reach users.

🤖 Generated with Claude Code

Both majors were reverted earlier for fixable reasons. The zod 4 bump
updated package.json without bun.lock (Dependabot's npm ecosystem bug,
fixed in #50), leaving the MCP SDK on its own zod 3, so our schemas
didn't match its types. With one shared zod 4.6.5, every MCP tool
advertises the same properties as before; tool schemas no longer
declare additionalProperties: false, and unknown arguments are still
stripped.

TypeScript 6 stopped loading @types packages automatically, which broke
the April typecheck; tsconfig now lists "bun". TypeScript 7.0.2, the
native compiler, typechecks the repo in a fraction of a second.

Dependabot no longer ignores either package's majors.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@stephendolan
stephendolan merged commit e60b5c0 into main Oct 7, 2026
1 check passed
@stephendolan
stephendolan deleted the chore/zod-4-typescript-7 branch October 7, 2026 16:43
stephendolan added a commit that referenced this pull request Oct 7, 2026
Patch release: zod 4 replaces zod 3 as the MCP server's schema library
(#53). MCP tools advertise the same arguments; the CLI is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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