Skip to content

v5.2.0

Latest

Choose a tag to compare

@eramitgupta eramitgupta released this 20 Jul 16:21
f2fbee3

🚀 What's Changed

✨ Added

  • Added optional RFC, DNS, strict, spoof, filter, and filter_unicode validation modes to the disposable_email rule.
  • Added support for combining multiple validation modes.
$request->validate([
    'email' => ['required', 'disposable_email:rfc,dns'],
]);

♻️ Improved

  • Refactored and optimized the disposable email validation pipeline.
  • Improved domain loading, matching, and caching.
  • Enhanced internal architecture for better maintainability and performance.
  • Updated documentation with validation mode examples and usage.

✅ Backward Compatibility

The existing disposable_email validation rule continues to work without any changes.

Merged Pull Requests

Full Changelog: v5.1.2...v5.2.0