Skip to content

Chore: Update to Zod v4

We probably want to update to Zod v4.

The XO Stack uses Zod v4. If we update this, we can use a single version of Zod in the stacks dependencies.

We don't use many complex schemas from Zod, so this shouldn't be too difficult and likely just needs us to use import { z } from 'zod/v4'.