Packages

zod

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

Your version

4.1.13

24 Nov 2025Where it was published

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

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 enum validates against values, for object literal & enums

  • Improve 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 globalRegistry

  • Use 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-schema to ecosystem documentation

  • Add Claude Code GitHub Workflow

  • Add support for number literal and TypeScript's enum keys in z.record

  • Fix 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.