Packages

zod

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

Upgrading zod From 4.2.1 to 4.3.0

1 release in betweenevery note read

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

Security

1 advisory still affects 4.3.0

Upgrading to 4.6.6 clears it.

Release by release

  1. 4.3.0

    31 Dec 20252 new · 6 fixes
    • New

      Armenian (am)

    • New

      Uzbek (uz)

    • Fixed

      Fixed JSON Schema generation for z.iso.time with minute precision

    • Fixed

      Fixed error details for tuples with extraneous elements

15 other lines we could not sort, mostly version bumps
  • All primitive types (string, number, integer, boolean, null, object, array)

    4.3.0
  • String formats (email, uri, uuid, date-time, date, time, ipv4, ipv6, and more)

    4.3.0
  • Composition (anyOf, oneOf, allOf)

    4.3.0
  • Object constraints (additionalProperties, patternProperties, propertyNames)

    4.3.0
  • Array constraints (prefixItems, items, minItems, maxItems)

    4.3.0
  • $ref for local references and circular schemas

    4.3.0
  • Custom metadata is preserved

    4.3.0
  • Tightened E.164 regex to require a non-zero leading digit and 7–15 digits total

    4.3.0
  • Convert Date instances to numbers in minimum/maximum checks

    4.3.0
  • Improved numeric keys handling in z.record()

    4.3.0

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.