Change8

v3.25.33

📦 zodView on GitHub →
6 features🐛 4 fixes🔧 3 symbols

Summary

This release introduces support for Khmer, Swedish, Dutch, and Traditional Chinese locales alongside several documentation improvements and minor bug fixes for schema shape validation.

✨ New Features

  • Add Khmer (km) locale support
  • Add Swedish (sv) locale support
  • Add Dutch (nl) locale support
  • Add Traditional Chinese (zh-TW) locale support
  • Standardize casing for all locale identifiers
  • Add inheritance diagram to documentation

🐛 Bug Fixes

  • Improve runtime error messaging for non-schema values in shape
  • Fix issue where json.required was assigned without checking for requiredKeys
  • Fix various typos in v4 documentation and error customization guides
  • Fix CI build issues

🔧 Affected Symbols

ZodObject.shapelocalesjson.required