Skip to content

v1.1.0 - Reusable Rules and Schemas

Latest

Choose a tag to compare

@gravity-zero gravity-zero released this 15 Jan 18:00
· 1 commit to master since this release

🎉 New Features

Reusable Rules & Schemas

  • Register field-agnostic validation patterns with DataVerify::registerRules()
  • Define complete validation structures with DataVerify::registerSchema()
  • Load from files with loadRulesFrom() and loadSchemasFrom()

Performance

  • Rules registration: 1.4μs
  • Schema registration: 4.6μs
  • Schemas 37% faster than manual validation

Architecture

  • Removed legacy conditional validation system
  • Unified validation structure for better maintainability

📊 Stats

  • 616 tests, 84% mutation score
  • Memory: ~2MB stable

Full Changelog