Change8

v3.25.29

Breaking Changes
📦 zodView on GitHub →
1 breaking2 features🐛 3 fixes🔧 5 symbols

Summary

This release introduces the unwrap method for ZodArray and standardizes URL behavior while fixing bugs related to string validation parameters and build warnings.

⚠️ Breaking Changes

  • Removed 'interface' from the type enum, which may affect code relying on this specific enum value for type checking or serialization.

Migration Steps

  1. Update code references that utilize the 'interface' value within the type enum, as it has been removed.

✨ New Features

  • Added .unwrap() method to ZodArray to allow accessing the underlying schema.
  • Standardized URL validation behavior and updated associated documentation.

🐛 Bug Fixes

  • Fixed Rollup comment warning during build processes.
  • Fixed parameter handling for endswith and startswith string validations.
  • Fixed internal test suite failures.

🔧 Affected Symbols

ZodArrayZodArray.unwrapendswithstartswithtype enum