Change8

v4.0.1

📦 zodView on GitHub →
3 features1 deprecations🔧 5 symbols

Summary

Zod 4.0.0 is officially released on npm, promoting the stable v4 subpaths to the primary package exports with no code changes from the latest 3.25.x release.

Migration Steps

  1. Run 'npm upgrade zod@^4.0.0' to update the package version.
  2. Simplify imports by changing 'zod/v4' to 'zod' and 'zod/v4-mini' to 'zod/mini'.
  3. Library authors should update peerDependencies to include '^3.25.0 || ^4.0.0'.

✨ New Features

  • Official stable release of Zod 4 on the main npm tag.
  • Support for 'zod/mini' subpath for Zod 4 Mini.
  • Continued support for 'zod/v3' subpath for legacy Zod 3 access.

🔧 Affected Symbols

zodzod/minizod/v4zod/v4-minizod/v3

⚡ Deprecations

  • Importing from 'zod/v4' and 'zod/v4-mini' is no longer needed; use standard 'zod' or 'zod/mini' imports instead.