Packages

zod

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

Your version

4.3.4

31 Dec 2025Where it was published

4.6.7 is the newest release of 4.x.

Summary· from the note as AI read it

Migration neededRead before upgrading: 2 changes to make.

Before you upgrade

  • fromJSONSchema no longer maps time format to iso time; check converted schemas
  • Replace .refine() on Zod Mini types with .check()

New

  • Support patternProperties for looserecord

In short

2 removed1 new3 internal

  • Removed

    Drop iso time in fromJSONSchema

  • Removed

    Remove .refine() from ZodMiniType

Security

1 advisory affects 4.3.4; 4.6.6 fixes them

Release note

Commits

  • Support patternProperties for looserecord

  • Improve looseRecord docs

  • Fix lint

  • Drop iso time in fromJSONSchema

  • Remove .refine() from ZodMiniType

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.