Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Shocked by the negativity around this.

I tested early versions of zod v4 and liked the new API, but was very concerned about what will be the migration path. I was even going to suggest to publish under a new package name.

But the author's approach is ingenious. It allows for someone like me to start adopting v4 immediately without waiting for every dependency to update.

Well done!



Yeah, it's a nice route. There's no way I could afford to do an all or nothing migration for something like validation.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: