Skip to content

Comments

chore: upgrade zod from v3 to v4 and fix deprecated methods#229

Merged
YasielCabrera merged 1 commit intomainfrom
chore/update-the-zod-library
Jan 13, 2026
Merged

chore: upgrade zod from v3 to v4 and fix deprecated methods#229
YasielCabrera merged 1 commit intomainfrom
chore/update-the-zod-library

Conversation

@alejandrocabriales
Copy link
Contributor

@alejandrocabriales alejandrocabriales commented Jan 13, 2026

Ticket

Description

This resolves dependency conflicts with projects requiring zod v4.x

  • Update zod dependency from ^3.25.76 to ^4.3.5
  • Replace deprecated z.string().datetime() with z.iso.datetime()
  • Replace deprecated z.string().email() with z.iso.email()
  • Replace deprecated z.string().url() with z.iso.url()
  • Update scalar schemas in DateTime, Date, EmailAddress, and URL

PR Author Checklist:

  • I have performed a self-review of my own code
  • I have performed a self-review of my own chromatic changes and everything is expected
  • I have removed any unnecessary console messages and alerts
  • I have removed any commented code
  • I have checked that there are no dummy or unnecessary comments
  • I have added new test cases (if it applies)
  • I have not introduced any linting issues or warnings

Screenshots (if apply)

Copy link
Contributor

@YasielCabrera YasielCabrera left a comment

Choose a reason for hiding this comment

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

lgtm

@YasielCabrera YasielCabrera merged commit 67541e6 into main Jan 13, 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.

2 participants