1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225
|
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
|