Packages/zod

Releases of zod

303 stable releases, newest first. Release notes are kept for the last 90 days; older ones link to where they were published.

  1. 4.6.7

    12 October 2026
  2. 4.6.6

    11 October 2026

    Six malicious commits pushed to main on September 21 with a compromised git credential were reverted the same day in #6620 and have since been removed from the history of main. None were ever published to npm. The npm provenance for 4.6.6 names 284243fb, the pre-rewrite copy of 9c219833 with identical contents.

    Commits

    • fix(types): declare record output and input as members, not base type arguments

    • fix(v4): check array, set and map size bounds before parsing elements

  3. 4.6.5

    13 September 2026

    Commits

    • feat(instanceof): key the .properties() shape off the instance type

    • Revert "feat: add z.currencyCode() over a vendored ISO 4217 list, refreshed weekly by CI (#6595)"

    • Revert "Revert "feat: add z.currencyCode() over a vendored ISO 4217 list, refreshed weekly by CI (#6595)""

  4. 4.6.4

    13 September 2026

    A patch on top of 4.6.3.

    • feat: add z.currencyCode() over a vendored ISO 4217 list, refreshed weekly by CI

    • perf: 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 September 2026

    A patch on top of 4.6.2.

    • fix(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

  6. 4.6.2

    10 September 2026

    A patch on top of 4.6.1.

    • fix: preserve undefined prefault outputs and object keys (#6587) — closes #6585

  7. 4.6.1

    9 September 2026

    A patch on top of 4.6.0.

    • fix: preserve unique tags with defaulted discriminators (#6582) — closes #6577

    • fix(v4): defer recursive object index inference

    • feat(lang): add Tajik (tg) locale

  8. 4.6.0

    9 September 2026

    Zod 4.6 is now available.

    npm install zod@latest

    At a glance:

    • .validate() — checks input validity without building a result (up to 35x faster than .safeParse().success on a compiled schema)

  9. 4.5.4

    29 August 2026

    Commits

    • fix(v4): stop the cycle walk from firing a default factory

  10. 4.5.3

    29 August 2026

    Commits

    • fix(docs): drop the OG description when the title wraps past two lines

    • bench(v4): z.compile() against zod-compiler

    • fix(v4): emit record numeric keys as strings in toJSONSchema

  11. 4.5.2

    29 August 2026

    Commits

    • fix(docs): keep blog posts out of the docs collection

    • fix(v4): let a prototype method getter answer a bare call so vi.spyOn works

    • fix(docs): match the blog TOC hover bar to the 2px active indicator

  12. 4.5.1

    28 August 2026

    Only internal changes: docs, tests or tooling.

  13. 4.5.0

    28 August 2026

    Zod 4.5 is now available.

    npm install zod@latest

    At a glance:

    • z.compile() — the flagship feature of Zod 4.5

  14. 4.4.3

    4 May 2026
  15. 4.4.2

    1 May 2026
  16. 4.4.1

    29 April 2026
  17. 4.4.0

    29 April 2026
  18. 4.3.6

    22 January 2026
  19. 4.3.5

    4 January 2026
  20. 4.3.4

    31 December 2025
  21. 4.3.3

    31 December 2025
  22. 4.3.2

    31 December 2025
  23. 4.3.1

    31 December 2025
  24. 4.3.0

    31 December 2025
  25. 4.2.1

    16 December 2025
  26. 4.2.0

    15 December 2025
  27. 4.1.13

    24 November 2025
  28. 4.1.12

    6 October 2025
  29. 4.1.11

    20 September 2025
  30. 4.1.10

    20 September 2025
  31. 4.1.9

    16 September 2025
  32. 4.1.8

    11 September 2025
  33. 4.1.7

    11 September 2025
  34. 4.1.6

    11 September 2025
  35. 4.1.5

    28 August 2025
  36. 4.1.4

    27 August 2025
  37. 4.1.3

    26 August 2025
  38. 4.1.2

    25 August 2025
  39. 4.1.1

    24 August 2025
  40. 4.1.0

    23 August 2025
  41. 4.0.17

    9 August 2025
  42. 4.0.16

    8 August 2025
  43. 4.0.15

    6 August 2025
  44. 4.0.14

    30 July 2025
  45. 4.0.13

    29 July 2025
  46. 4.0.12

    29 July 2025
  47. 4.0.11

    29 July 2025
  48. 4.0.10

    25 July 2025
  49. 4.0.9

    24 July 2025
  50. 4.0.8

    24 July 2025