zod
4.6.7 · 12 Oct 2026MIT468.6M / weekRepositoryHomepagenpmAtom feed
4.6.7 is the newest release of 4.x.
Summary· from the note as AI read it
To checkNothing breaks, but check what is deprecated or unsure.
Before you upgrade
- Check typechecks relying on the widened .catch() input typeTo check
New
- feat: Icelandic translation
- Bulgarian (bg) translation
- feat(locales): add Danish translations
In short
1 breaking3 new1 fixed10 internal
- BreakingTo check
Unwiden catch input type
Security
1 advisory affects 4.0.6; 4.6.6 fixes them
- HighZod can exhaust memory while validating oversized constrained collectionsGHSA-mrhx-c7xc-m3w5 · 1 Oct 2026Fixed in 4.6.6
Release note
Commits
Unwiden catch input type
Add RFC 9562 mentions. Closes #4872
Doc tweak - spread vs destructuring
Icelandic translation
Bulgarian (bg) translation
Remove moduleResolution callout
Add
@hey-api/openapi-tsto Zod 3 ecosystemAdd
@hey-api/openapi-tsto Zod 3 ecosystemlocales: Add Danish translations
Point to zod-v3-to-v4 codemod in Zod 4 migration guide
Update api.mdx
Fix URL sup example
Add
@hey-api/openapi-tsto Zod 4 ecosystemEscapes decimal place in
z.literal
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.