v4.1.7
📦 zodView on GitHub →
✨ 5 features🐛 6 fixes🔧 8 symbols
Summary
Release 4.1.7 focuses on expanding locale support (Lithuanian, Georgian), fixing CIDRv6 validation logic, and ensuring array defaults are shallow-cloned. It also includes significant documentation improvements and ecosystem updates.
✨ New Features
- Add Lithuanian (lt) locale
- Add Georgian (ka) locale
- Add copy/edit buttons to documentation
- Add type name translations to Spanish locale
- Improve regex precision and eliminate duplicates in regexes.ts
🐛 Bug Fixes
- Fix cidrv6 validation to reject invalid strings with multiple slashes
- Fix tsconfig issue in benchmarks
- Fix Khmer and Ukrainian locales
- Ensure array defaults are shallow-cloned to prevent shared state mutations
- Fix variable name inconsistency and wrong contents in coercion documentation
- Fix broken links in async refinements and transforms references
🔧 Affected Symbols
z.string().cidrv6()z.array().default()locales/ltlocales/kalocales/eslocales/kmlocales/ukregexes.ts