zod
4.6.7 · 12 Oct 2026MIT468.6M / weekRepositoryHomepagenpmAtom feed
4.6.7 is the newest release of 4.x.
In short
4 new1 faster16 fixed37 internal
Security
1 advisory affects 4.1.13; 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
Update AI widget
Reflect the specified regex correctly in error
Faster initialization
Clean up comment
Update inferred z.promise() type
locales: Improve Dutch (nl) localization
Run tests on windows
Feat unitest
Lock to node 24
Fix windows build
Use Node LTS
Consolidate isTransforming logic
Fix #5353
Fix test.yml
Fix partial record
Fix attw on windows
Extend test timeout
Remove windows runner
Change doc for email validation method in Zod schema
Iterate over keys in catchall object using "in" operator.
Emphasise that
enumvalidates against values, for object literal &enumsImprove Hebrew localization for Zod error messages
Documentation Improvements
Fix opt tuple
Improve tuple
Optimize docs caching/ISR
Improve docs caching
MAC address validation in v4 and mini
Fix dual package hazard for
globalRegistryUse oneOf for discriminated unions in JSON Schema
Clean up regex, drop backreferences
Update mac addr tests
core: Prevent infinite recursion for recursive tuples
record: Handle non-function constructor field in isPlainObject
Add zodgres to ecosystem documentation
Add
zod-to-mongo-schemato ecosystem documentationAdd Claude Code GitHub Workflow
Add support for number literal and TypeScript's enum keys in
z.recordFix vitest 4
Do not allow unsound pick/omit
Add z.meta and z.describe
Implement slugify
Fix docs
Revert "Do not allow unsound pick/omit"
Update check-semver script
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.