Skip to content

chore: update zod to v4 & shift to zod mini#1219

Closed
louis-bompart wants to merge 1 commit into
ag-ui-protocol:mainfrom
louis-bompart:upstream/zod4-mini
Closed

chore: update zod to v4 & shift to zod mini#1219
louis-bompart wants to merge 1 commit into
ag-ui-protocol:mainfrom
louis-bompart:upstream/zod4-mini

Conversation

@louis-bompart

Copy link
Copy Markdown

Fixes #1218

  • Update Zod from 3 to 4 across the project
  • Migrate from Zod to ZodMini for bundle size reduction, shaving 8kb gzipped.

@louis-bompart
louis-bompart requested a review from a team as a code owner March 2, 2026 22:11
@vercel

vercel Bot commented Mar 2, 2026

Copy link
Copy Markdown

@louis-bompart is attempting to deploy a commit to the CopilotKit Team on Vercel.

A member of the Team first needs to authorize it.

@louis-bompart louis-bompart changed the title chore: zod/v4-mini chore: update zod to v4 & shift to zod mini Mar 2, 2026
"author": "Markus Ecker <markus.ecker@gmail.com>",
"version": "0.0.46",
"private": false,
"sideEffects": false,

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm uncertain, but I did not see side-effects while purviewing the package.

@ranst91

ranst91 commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Thanks for taking the time to contribute
We have decided to somewhat move away from zod, here is the PR that will address this decision if you're interested: #1637

For that reason, closing this

@ranst91 ranst91 closed this Jun 26, 2026
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.

[Chore]: @ag-ui/client|@ag-ui/core, bundle size optimization: Use treeshakeable Zod

2 participants