2.1.3 - Nov 15, 2017

PHPUnit & test dependencies upgrade

* Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase

* Use installed PHPUnit version not global


2.1.2 - Jan 30, 2017

Compatibility with RFC 2181

According to RFC2181, every DNS query needs to have a . at the end of
the name record you are requesting.

This will show that that name record is the root of the domain you are
asking.
In some cases, when the . is missing, the hostname of the server the
code is running on will be appended to the name record when
checkdnsrr() is being executed and this will in turn return a false
positive when there is a wildcard DNS record for the root domain of the
hostname of the server.


2.1.1 - Aug 7, 2016

Readme update & Bug fixing

    #123 Readme
    #124 Returned errors for multiple validations
    #126 Fix NoRFCValidation to return InvalidEmail error


2.1.0 - Jul 16, 2016

MultipleValidationWithAnd has new options

Allow MultipleValidationWithAnd to stop with the first failure.

2.0.1 - Jul 3, 2016

DNSCheck bugs and poilshing

    Fix #115 - fixed DNSCheckValidation bug
    Fix #112 - typo
    Fix #116 - fixed some more problems in DNSCheckValidation
    Fix #117 - fixed type missing and removed unused code
    Feature #113 - Improve lib export feature by providing less code, making it thinner.


2.0.0 - May 16, 2016

New interface

Changed isValid method interface to
EmailValidator::isValid(String $email, EmailValidation $validation)
This allows for extensibility of the validator.

Out of the box implementations

    RFCValidation
    NoWarningsRFCValidation
    DNSCheckValidation
    SpoofCheckValidation
    MultipleValidationsWithAnd

Custom Warnings and Errors (Exceptions)

Since this version, all errors and Exceptions are custom to better express the error or warning


1.2.12 - May 16, 2016

Backslash in domain bug fix


1.2.11 - Nov 11, 2015

Orphan brackets


1.2.10 - Oct 11, 2015

Improve parenthesis control for unclosed parenthesis by @whyte624


1.2.9 - Jun 22, 2015


1.2.8 - Apr 26, 2015

Improved UTF8 and domain validations

    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


1.2.7 - 4 Jan 2015

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.


1.2.6 - 29 Nov 2014

UTF8 Character improvements

Control of ill formed UTF-8 chars and control characters for wrongly written emails with UTF8 chars
Thanks @masakielastic for reporting


1.2.5 - 6 Nov 2014

Fix regression from 1.2.4

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


1.2.4 - 2 Nov 2014

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.


1.2.3 - 26 Oct 2014

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.


1.2.2 - 1 Sep 2014

Quoted Part Improvements

Bug fixes reported by @brianfreytag on issue #19:

Invalid emails:

    brian,freytag@gmail.com
    bri[an]freytag@gmail.com

Valid emails:

    "brian,freytag"@gmail.com
    "brian freytag"@gmail.com
    "brian@freytag"@gmail.com
    brian\ freytag@gmail.com

Are now detected as such.


1.2.1 - 21 Aug 2014

Remove dependency with checkDNS

Change DNS validation to default to true instead of false by @brianfreytag


1.2.0 - 6 Jul 2014

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


1.1.1 - 12 Jan 2014

1.1.0 - 8 Dec 2013

1.0.0 - 19 May 2013
