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
Security
1 advisory still affects 4.3.0
- Zod can exhaust memory while validating oversized constrained collectionshigh · GHSA-mrhx-c7xc-m3w5
Upgrading to 4.6.6 clears it.
Release by release
- New
Armenian (
am) - New
Uzbek (
uz) - Fixed
Fixed JSON Schema generation for
z.iso.timewith minute precision - Fixed
Fixed error details for tuples with extraneous elements
- New
15 other lines we could not sort, mostly version bumps
- 4.3.0
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
$reffor 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
Dateinstances to numbers inminimum/maximumchecks - 4.3.0
Improved numeric keys handling in
z.record()
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.