Skip to content

v3.7.0

Latest
Compare
Choose a tag to compare
@eramitgupta eramitgupta released this 04 Oct 06:02

Released on v3.7.0 🔥

Added

Changed

  • Refactored getUnauthorizedProviders method to replace Laravel Collection chains with native PHP loops, improving processing speed and reducing overhead.
  • Updated domain uniqueness handling with associative arrays for faster deduplication.
  • Simplified merging of domain lists using array_merge and array_flip for better performance and readability.
  • Enhanced domain normalization by improving extraction logic for email-to-domain conversion.
  • Switched file reading operations to native PHP functions (glob & file_get_contents) for faster and more efficient file handling.

Performance

  • Reduced single domain check time from 124.274ms to 93.274ms.
  • Maintained stable bulk check performance (~3.727ms over 1000 iterations).

Upgrade Notes

  • If you extend or override the getUnauthorizedProviders method, adjust your code to replace Collection usage with native PHP arrays.
  • Verify that blacklist file directory permissions are compatible with native PHP file functions.
  • Review new blacklist domains to avoid unintended blocking.

Full Changelog: v3.6.0...v3.7.0