Packages

zod

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

Upgrading zod From 4.6.3 to 4.6.6

3 releases in betweenevery note read

Other targets from 4.6.3Newest 4.x, Latest4.6.7

Security

Fixes 1 advisory affecting 4.6.3

Release by release

  1. 4.6.6

    11 Oct 20262 fixes
    • Fixed

      types: Declare record output and input as members, not base type arguments

    • Fixed

      v4: Check array, set and map size bounds before parsing elements

  2. 4.6.5

    13 Sep 20261 new
    • New

      instanceof: Key the .properties() shape off the instance type

  3. 4.6.4

    13 Sep 20262 new
    • New

      Add z.currencyCode() over a vendored ISO 4217 list, refreshed weekly by CI

    • New

      z.url() rejects an invalid URL with URL.canParse() instead of a throwing constructor, about 50x faster; fewer allocations on the validation path

1 other line we could not sort, mostly version bumps
  • Revert "feat: add z.currencyCode() over a vendored ISO 4217 list, refreshed weekly by CI (#6595)"

    4.6.5

15 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.