Releases: egulias/EmailValidator
Releases · egulias/EmailValidator
PHP version increase and DNSCheck improvement
Increase PHP version to 7.4
Fix #321
Fix empty Reason for MultipleError
Fix label length
Fixed by #297
MessageID validator
From #290 a new validator has been added.
Follows RFC2822 for message-id to validate saidfield, that has some differences in both local (id-left) and domain (id-right) part.
Improve dns_get_record error handling
v3 Release
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 toEgulias\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.