Packages

zod

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

Your version

3.25.35

29 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

  • Check generated JSON Schemas of transforming schemas: default values no longer emitted

In short

1 breaking2 fixed4 internal

  • Breaking

    Remove defaults from JSON Schema for transforming schemas

Security

1 advisory affects 3.25.35; 4.6.6 fixes them

Release note

Commits

  • Update readme

  • Improve discriminated union implementation

  • Tweak readme

  • Fix lint

  • Improve homepage

  • Fix isPlainObject

  • Remove defaults from JSON Schema for transforming schemas

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.