Releases: egulias/EmailValidator
Releases · egulias/EmailValidator
Unclosed parenthesis counting
Improve parenthesis control for unclosed parenthesis by @whyte624
Improved UTF8 and domain validations
Fix version of dependency
- Fixed dependency for
doctrine/lexer
to~1.0
, thanks @Ocramius for tagging. - Fixed bug on
test@fo;o.com
like emails. - Minor fixes on documentation.
UTF8 Character improvements
Control of ill formed UTF-8 chars and control characters for wrongly written emails with UTF8 chars
Thanks @masakielastic for reporting
Fix regression from 1.2.4
A regression was introduced in 1.2.4 for long local parts.
Thanks to @craue
Strict and DNS check bug fix
See #32
Error was caused by wrong negation and use of checkdnsr
wasn't been taken into account when strict was set.
Now emails with warnings will fail when strict && DNS check or when strict with no DNS
Also, DNS check only raises warnings.
Improved detection of invalid emails
Valid Emails
- Improved detection of 4 valid email addresses
Invalid Emails
- Added 21 invalid emails in tests and added them to the validation, they are now detected as invalid.
Quoted Part Improvements
Bug fixes reported by @brianfreytag on issue #19:
Invalid emails:
- brian,[email protected]
- bri[an][email protected]
Valid emails:
- "brian,freytag"@gmail.com
- "brian freytag"@gmail.com
- "brian@freytag"@gmail.com
- brian\ [email protected]
Are now detected as such.
Remove dependency with checkDNS
1.2.1 Change DNS validation to default to true instead of false by @brianfr…
Code Improved
- Code has been improved to allow for later refactors
- A bug was fixed regarding comments in the domain part. Check the test cases for details
- The validator is now 20% slower (in CLI, with PHP 5.5) due to several classed being involved