Skip to content

Releases: egulias/EmailValidator

Unclosed parenthesis counting

11 Oct 22:37
Compare
Choose a tag to compare

Improve parenthesis control for unclosed parenthesis by @whyte624

Improved UTF8 and domain validations

26 Apr 16:01
Compare
Choose a tag to compare
  • Improve domain validations for invalid domain tokens e.g ", >, <
  • Added capturing group for all non ASCII chars to avoid flagging them as EmailLexer::S_EMPTY
  • Fix (only for ") #57
  • Fix #55

Fix version of dependency

04 Jan 22:47
Compare
Choose a tag to compare
  • Fixed dependency for doctrine/lexerto ~1.0, thanks @Ocramius for tagging.
  • Fixed bug on test@fo;o.com like emails.
  • Minor fixes on documentation.

UTF8 Character improvements

29 Nov 09:12
Compare
Choose a tag to compare

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

06 Nov 09:05
Compare
Choose a tag to compare

A regression was introduced in 1.2.4 for long local parts.
Thanks to @craue

Strict and DNS check bug fix

02 Nov 23:20
Compare
Choose a tag to compare

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

26 Oct 22:16
Compare
Choose a tag to compare

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

01 Sep 22:45
Compare
Choose a tag to compare

Bug fixes reported by @brianfreytag on issue #19:

Invalid emails:

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

22 Aug 16:21
Compare
Choose a tag to compare
1.2.1

Change DNS validation to default to true instead of false by @brianfr…

Code Improved

06 Jul 17:07
Compare
Choose a tag to compare
  • 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