Packages

zod

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

Upgrading zod From 4.6.2 to 4.6.7

5 releases in betweenevery note read

Other targets from 4.6.2Clears its advisory4.6.6

Security

Fixes 1 advisory affecting 4.6.2

Release by release

  1. 4.6.7nothing new or fixed in the note

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

  3. 4.6.5

    13 Sep 20261 new
    • New

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

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

  5. 4.6.3

    12 Sep 20261 fix
    • Fixed

      v4: Make z.properties() a check again (#6594) — removes the standalone z.properties() schema from 4.6.0; z.instanceof().properties() and .check(...z.properties()) are unchanged

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

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