packagist egulias/email-validator 3.0.0
v3 Release

latest releases: 4.x-dev, 4.0.2, 3.x-dev...
3 years ago

EmailValidator v3 Changelog

New Features

  • Access to local part and domain part from EmailParser
  • Validations outside of the scope of the RFC will be considered "extra" validations, thus opening the door for adding new; will live in their own folder "extra" (as requested in #248, #195, #183).

Breacking changes

  • PHP version upgraded to match Symfony's (as of 12/2020).
  • DNSCheckValidation now fails for missing MX records. While the RFC argues that the existence of only A records to be valid, starting in v3 they will be considered invalid.
  • Emails domain part are now intenteded to be RFC 1030 compliant, rendering previous valid emails (e.g example@examp&) invalid.
  • Egulias\EmailValidator\Validation\SpoofCheckValidation has moved to Egulias\EmailValidator\Validation\Extra\SpoofCheckValidation

PHP versions upgrade policy

PHP version upgrade requirement will happen via MINOR (3.x) version upgrades of the library, following the adoption level by major frameworks.

Changes

Thanks

To contributors, be it with PRs, reporting issues or supporting otherwise.

Don't miss a new email-validator release

NewReleases is sending notifications on new releases.