2.1.24 - Nov 14, 2020

Last release until v3

Added Github's sponsor button
Improves:
#272
#186
#130


2.1.23 - Oct 31, 2020

Improve domain compliance

Fixes #215


2.1.22 - Sep 26, 2020

Fix string afetr TLD

Fixes

    #217
    #214


2.1.21 - Sep 20, 2020

Remove depredcated constant

Issue-257: Fix PHP 7.3 compatibility issues. (#264)


2.1.20 - Sep 6, 2020

Fix unhandled exception

As reported by #260


2.1.19 - Aug 9, 2020

Improved DNS validation

See #250
Replaces 2.19.0.
Use of a get_dns_record PHP native function to get improved DNS validation.


2.1.18 - Jun 16, 2020

Move files to src/ folder

See #242 #243


2.1.17 - Feb 13, 2020

Fix LocalPart Length

#233


2.1.16 - Feb 12, 2020

Fix PHP >7.4 BC break on array access

See #228 & manual


2.1.15 - Jan 20, 2020

Psalm and minor updates

#190


2.1.14 - Jan 08, 2020

Cleanup

#225
#226
#227
#230


2.1.13 - Dec 31, 2019

Tests fixes

#221
#223


2.1.12 - Dec 21, 2019

composer.json update

#220 Schema update.
#216 Docs


2.1.11 - Aug 13, 2019

Return types annotations

See #209


2.1.10 - Jul 19, 2019

Support for PHP 7.4

See #203


2.1.9 - Jun 23, 2019

Improve empty domain checks

#201


2.1.8 - May 22, 2019

README updates and style improvements

Fixed

    #200
    #197
    #198


2.1.7 - Dec 4, 2018

Fix MultipleValidationWithAnd with ALLOW_ALL_ERRORS

Fixed
#179
#186


2.1.6 - Sep 25, 2018

Dev mode Autoloader

See #178


2.1.5 - Aug 16, 2018

INTL support checks

    #173 Add fallback for when INTL_IDNA_VARIANT_UTS46 is not supported (@tomsommer)
    #174 Correctly check for intl extension in SpoofCheck (@tomsommer)
    #175 DNSCheckValidation requires the Intl extension (@tomsommer)


2.1.4 - Apr 11, 2018

Convert domains to unicode before checking DNS

* fix checkdnsrr not handling unicode domains properly

* fix for php7.2


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
