Packages

zod

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

Upgrading zod From 4.0.5 to 4.0.6

1 release in betweenevery note read

Other targets from 4.0.5Newest 4.x, Latest4.6.7Clears its advisory4.6.6
  1. 4.0.5yours
  2. 4.0.6target
0
changes to make
0
advisories fixed
5
new
2
fixes

Security

1 advisory still affects 4.0.6

Upgrading to 4.6.6 clears it.

Release by release

  1. 4.0.6

    23 Jul 20255 new · 2 fixes
    • New

      Add RFC 9562 mentions. Closes #4872

    • New

      Icelandic translation

    • New

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

    • New

      locales: Add Danish translations

    • New

      Add @hey-api/openapi-ts to Zod 4 ecosystem

    • Fixed

      Fix URL sup example

    • Fixed

      Escapes decimal place in z.literal

6 other lines we could not sort, mostly version bumps
  • Unwiden catch input type

    4.0.6
  • Doc tweak - spread vs destructuring

    4.0.6
  • Bulgarian (bg) translation

    4.0.6
  • Remove moduleResolution callout

    4.0.6
  • Point to zod-v3-to-v4 codemod in Zod 4 migration guide

    4.0.6
  • Update api.mdx

    4.0.6

2 internal lines (docs, tests, tooling) left out.

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.