Packages

zod

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

Your version

3.25.25

23 May 2025Where it was published

3.25.76 is the newest release of 3.x.

Summary· from the note as AI read it

Migration neededRead before upgrading: 1 change to make.

Before you upgrade

  • Generated JSON Schema objects in output mode now reject extra properties; check consumers.

In short

1 breaking2 internal

  • Breaking

    Add additionalProperties:false by default for objects in io:output mode

Security

1 advisory affects 3.25.25; 4.6.6 fixes them

Release note

Commits

  • Add error serialization test

  • Document parsing with Zod Core

  • Add additionalProperties:false by default for objects in io:output mode

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.