Skip to content

Conversation

@wobsoriano
Copy link
Contributor

This PR updates the zod peer dependency range to support both 3.22.0+ and 4.0.0+ to resolve compatibility issues with projects using zod 4.

abitype does not use any breaking change listed in the migration guide and is still fully compatible with only deprecation warnings.

I tried to update the dev dependency to use zod v4 and ran build without any errors 👍🏼

Screenshot 2025-09-02 at 10 25 06 AM

Kept dev dependency on zod 3 for testing purposes - zod 4 introduces breaking changes in error format structure that would require updating snapshot tests

Fixes #273 and #268

@changeset-bot
Copy link

changeset-bot bot commented Sep 2, 2025

🦋 Changeset detected

Latest commit: 8861c8a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
abitype Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Sep 2, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
abitype Error Error Sep 2, 2025 6:10pm

@tmm tmm merged commit c15ef92 into wevm:main Sep 2, 2025
3 of 4 checks passed
@github-actions github-actions bot mentioned this pull request Sep 2, 2025
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.

Remove zod v3 from peerDependencies

2 participants