Packages

zod

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

Your version

4.0.6

23 Jul 2025Where it was published

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

  • Breaking

    Unwiden catch input type

    To check

Security

1 advisory affects 4.0.6; 4.6.6 fixes them

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-ts to Zod 3 ecosystem

  • Add @hey-api/openapi-ts to Zod 3 ecosystem

  • locales: 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-ts to Zod 4 ecosystem

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