triggerdotdev/trigger.dev

feat: Upgrade to zod v4

Closed this issue · 2 comments

Is your feature request related to a problem? Please describe.

I'm using Vercel AI SDK along with Trigger and the new v5 of Vercel AI SDK requires you to have v4 of zod but Trigger has a peer dependency to keep it at v3.

Is there any way we can upgrade Trigger to start using v4 of zod?

Describe the solution you'd like to see

Be able to use v4 of zod alongside Trigger in Next.js project

Describe alternate solutions

N/A

Additional information

No response

It seems this issue can be closed, currently the trggeri.dev/sdk has add a support for zod/v4.

This should now be resolved. We allow 3.x or 4.x in the peer dependencies for the SDK now.