Packages

zod

4.6.7 · 12 Oct 2026MIT468.6M / weekRepositoryHomepagenpmAtom feed

Upgrading zod From 4.0.17 to 4.1.0

1 release in betweenevery note read

Other targets from 4.0.17Newest 4.x, Latest4.6.7Clears its advisory4.6.6
  1. 4.0.17yours
  2. 4.1.0target
0
changes to make
0
advisories fixed
0
new
0
fixes

Security

1 advisory still affects 4.1.0

Upgrading to 4.6.6 clears it.

7 other lines we could not sort, mostly version bumps
  • Codecs — runs from B->A and executes the encode transform during encoding

    4.1.0
  • Pipes — these execute B->A instead of A->B

    4.1.0
  • Defaults and prefaults — Only applied in the forward direction

    4.1.0
  • Catch — Only applied in the forward direction

    4.1.0
  • z.uuid() now supports the "Max UUID" (FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF) per the RFC

    4.1.0
  • $ZodFunction is now a subtype of $ZodType

    4.1.0
  • Closes #5127

    4.1.0

24 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.