-
Notifications
You must be signed in to change notification settings - Fork 3
fix(deps): update dependency zod to v4 #158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Join our Discord community for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
Updates Zod dependency from v3 to v4 across core packages, bringing significant performance improvements and breaking changes in error handling.
- Multiple packages updated to support both Zod v3 and v4 (
^3 || ^4.0.0) in peer dependencies - Direct dependency version bumped from
3.25.65to4.0.2inpackages/config,packages/contract-core, and other packages - Notable v4 improvements include 3x faster parsing and 57% smaller bundle size
- Breaking changes in error customization APIs and coercion behavior require careful testing
- Follows recommended migration path for library authors with dual version support
6 files reviewed, no comments
Edit PR Review Bot Settings | Greptile
4a964e2 to
e627d2c
Compare
|
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
de378ce to
ec27ee9
Compare
ec27ee9 to
7343b36
Compare
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
This PR contains the following updates:
^3->^3 || ^4.0.03.25.65->4.0.14Release Notes
colinhacks/zod (zod)
v4.0.14Compare Source
Commits:
99391a8Docs: Fix typo (#5005)e25303eDocs: fix typo (#5008)dbb05efAdd JSON Schema draft-04 output (#4811)b8257d7Improve tuple recursive inference.9bdbc2fAvoid infinite loops in defineLazy. Fixes #4994.af96ad44.0.14v4.0.13Compare Source
v4.0.12Compare Source
Commits:
ff83fc9Add eslint-plugin-import-zod (#4848)7c9ce38Update docs for z.property check (#4863)c432577docs: add jwt schema docs (#4867)35e6a6fAdd llms.txt (#4915)3ac7bf0Clean up Edit this Page60a9372Implementllms-full.txt(#5004)73a19704.0.12v4.0.11Compare Source
Commits:
8e6a5f8Fix “Edit on Github” link (#4997)930a2f6Fix number of errors in doc (#4993)c762dbbfeat(locale): Add Yoruba (yo) locale (#4996)9a34a3aZod 4.0.11 (#4981)v4.0.10Compare Source
v4.0.9Compare Source
Commits:
4e7a3efv4.0.9 (#4970)v4.0.8Compare Source
Commits:
3048d14Fix #4961v4.0.7Compare Source
v4.0.6Compare Source
v4.0.5Compare Source
v4.0.4Compare Source
v4.0.3Compare Source
v4.0.2Compare Source
v4.0.1Compare Source
Commits:
91c9ca6fix: cleanup _idmap of $ZodRegistry (#4837)9cce1c5docs: fix typo in flattenError example on error-formatting page (#4819) (#4833)a3560aev3.25.76 (#4838)5060661Release 3.25.767baee4eUpdate index.mdx (#4831)06172bfdocs: add zod2md to zodToXConverters (#4835)30e2f3eUpdate docsb748b91Add zod-openapi libraries to v4 (#4829)990e03bUpdate core.mdx (#4746)e7f20c2Fix treeifyError type for branded primitives. Add test. Closes #4840 (#4843)79d4d80v4.0.0 (#4844)00a1708Remove JSR from release.yml7c4c83cUpdate mime docsa7bd58aRemove when from paramse899016Support format in z.templateLiteralb2592114.0.1v4.0.0Compare Source
v3.25.76Compare Source
v3.25.75Compare Source
v3.25.74Compare Source
v3.25.73Compare Source
Commits:
1021d3cv3.25.73 (#4822)v3.25.72Compare Source
v3.25.71Compare Source
v3.25.70Compare Source
v3.25.69Compare Source
v3.25.68Compare Source
v3.25.67Compare Source
Commits:
7afe790Make $ZodLiteralDef generic91274c33.25.67c22944bFix race conditionv3.25.66Compare Source