←back to thread

Zod v4 Beta

(v4.zod.dev)
175 points mycroft_4221 | 1 comments | | HN request time: 0.205s | source
Show context
jmull ◴[] No.43668500[source]
> Zod v3.0 was released in May 2021...

v3 didn't last four years. Can we expect much different from v4?

If you're migrating your zod 3 code, I'd migrate to something more stable and long-lived than v4 is likely to be -- unless you want to be going through it all again in a few years (and yet again a few years after that, etc).

I don't blame the maintainers (I assume they don't have a fat support and maintenance contract)

But developers need to go in with their eyes open when it comes to adopting these throw-away libraries and frameworks.

replies(6): >>43668608 #>>43668626 #>>43668628 #>>43668634 #>>43668636 #>>43668646 #
snide ◴[] No.43668646[source]
This is a little disingenuous. As far as I know, v3 isn't going anywhere. There's what... weeks until May 2025, which would be four years?

4 years in JavaScript land is actually pretty long. Zod has a pretty good maintenance record. I don't see how a statement like yours can be made without snark. Calling it a "throw-away" library is pretty brash.

This looks like a good update that sticks to the formula.

replies(1): >>43669422 #
pcthrowaway ◴[] No.43669422[source]
> 4 years in JavaScript land is actually pretty long

For non-JS developers to get a sense of how long this is, companies have probably migrated from React to Vue to Svelte to Solid and then back to React in this time.

replies(1): >>43669607 #
dsr_ ◴[] No.43669607[source]
Did they get any useful work done in that time, or just learn new frameworks? That sounds like a form of hell.
replies(2): >>43669637 #>>43671244 #
1. sanitycheck ◴[] No.43671244[source]
Be serious, devs doing only useful work would lead to absolutely massive layoffs.