Changelog History
Page 5
-
v2.1.0 Changes
November 21, 2020⚡️ Collecting only unique ip-addresses for target mail servers. This update reduces email validation time for case when remote server have closed connection via avoiding connection attempt to server with the same ip address.
🔄 Changed
- Updated
Truemail::Validate::Mx#fetch_target_hosts
- Updated
-
v2.0.2 Changes
November 14, 2020🛠 Fixed
📚 Timeouts time units in
Setting global configuration
of Truemail documentation's section. Thanks to @wikiti for report.🔄 Changed
- Refactored
Truemail::RegexConstant::REGEX_EMAIL_PATTERN
- ⚡️ Updated gem development dependencies
- 📚 Updated gem documentation
- Refactored
-
v2.0.1 Changes
October 20, 2020⚡️ 1. Updated gem development dependencies 📚 2. Updated gem documentation, changelog ⚡️ 3. Updated gem version to
2.0.1
-
v2.0.0 Changes
October 20, 2020🛠 FIxed SMTP connection errors: invalid
HELO
hostname (localhost
), duplicateHELO
(verifier domain
).⚡️ 1. Updated
Truemail::Validate::Smtp::Request#run
⚡️ 2. UpdatedTruemail::Validate::Smtp::Request#session_data
⚡️ 3. Updated behaviour of collectingTruemail::Validate::Smtp::Response
instance 📚 4. Updated gem documentation, changelog ⚡️ 5. Updated gem version to2.0.0
Now
helo
is aBoolean
instead ofNet::SMTP::Response
instance. It was changed becausehelo
is sending during SMTP-session initializing (Net::SMTP.new.start
), andhelo
is alwaystrue
if session up is okay. Alsohello
response won't logged as error if it happens. Example ofTruemail::Validate::Smtp::Response
instance from 2.x version.#\<struct Truemail::Validate::Smtp::Response:0x00007fa74704cd10port\_opened=true,connection=true,helo=true, # Returns Boolean instead of Net::SMTP::Response instancemailfrom=false,rcptto=nil,errors={:mailfrom=\>"server response timeout"}\>
-
v1.9.2 Changes
October 02, 2020➕ Added error handling for invalid types as input email.
- Added
Truemail::TypeError
⚡️ 2. UpdatedTruemail.validate
⚡️ 3. UpdatedTruemail.valid?
⚡️ 4. Updated gem changelog ⚡️ 5. Updated gem version to1.9.2
- Added
-
v1.9.1 Changes
September 21, 2020⚡️ Migrated to updated Ruby 2.7.x syntax.
⚡️ 1. Updated
Truemail::Configuration#logger=
⚡️ 2. Updated gem dependencies ⚡️ 3. Updated linters configs ⚡️ 4. Updated gem changelog ⚡️ 5. Updated gem version to1.9.1
-
v1.9.0 Changes
September 01, 2020Ability to use
Truemail::Auditor
instance represented as json directly:Truemail.host\_audit.as\_json=\># Serialized Truemail::Auditor instance{"date": "2020-08-31 22:33:43 +0300","current\_host\_ip": "127.0.0.1","warnings": {"dns": "A-record of verifier domain not refers to current host ip address", "ptr": "PTR-record does not reference to current verifier domain"},"configuration": {"validation\_type\_by\_domain": null,"whitelist\_validation": false,"whitelisted\_domains": null,"blacklisted\_domains": null,"not\_rfc\_mx\_lookup\_flow": false,"smtp\_safe\_check": false,"email\_pattern": "default gem value","smtp\_error\_body\_pattern": "default gem value"}}
⚡️ 1. Updated
Truemail::Auditor, Truemail::Validator
🔨 2. RefactoredTruemail::Log::Serializer
namespaces 🌲 3. ImplementedTruemail::Log::Serializer::AuditorJson
⚡️ 4. Optimized regex ⚡️ 5. Updated gem dependencies ⚡️ 6. Updated linters configs ⚡️ 7. Updated gem changelog ⚡️ 8. Updated gem version to1.9.0
-
v1.8.0 Changes
June 21, 2020➕ Added
Separated audit features for verifier host.
Truemail::Audit::Ip
Truemail::Audit::Dns
Truemail.host_audit => #<Truemail::Auditor:0x00005580df358828 @result= #<struct Truemail::Auditor::Result current_host_ip="127.0.0.1", warnings={ :dns=>"a record of verifier domain not refers to current host ip address", :ptr=>"ptr record does not reference to current verifier domain" }, configuration= #<Truemail::Configuration:0x00005615e86327a8 @blacklisted_domains=[], @connection_attempts=2, @connection_timeout=2, @default_validation_type=:smtp, @email_pattern=/(?=\A.{6,255}\z)(\A([\p{L}0-9]+[\w|\-|\.|\+]*)@((?i-mx:[\p{L}0-9]+([\-\.]{1}[\p{L}0-9]+)*\.[\p{L}]{2,63}))\z)/, @response_timeout=2, @smtp_error_body_pattern=/(?=.*550)(?=.*(user|account|customer|mailbox)).*/i, @not_rfc_mx_lookup_flow=false, @smtp_safe_check=false, @validation_type_by_domain={}, @verifier_domain="example.com", @verifier_email="[email protected]", @whitelist_validation=false, @whitelisted_domains=[]>
🔄 Changed
Truemail::Auditor
Truemail::Auditor::Result
Truemail::Audit::Base
Truemail::Audit::Ptr
Truemail::VERSION
- 📚 gem documentation
-
v1.7.1 Changes
May 10, 2020Added ability to show
not_rfc_mx_lookup_flow
attribute in serialized validation result:Truemail.validate('nonexistent\[email protected]').as\_json=\># Serialized Truemail::Validator instance{"date": "2020-05-10 10:00:00 +0200","email": "nonexistent\[email protected]","validation\_type": "smtp","success": false,"errors": {"smtp": "smtp error"},"smtp\_debug": [{"mail\_host": "213.180.193.89","port\_opened": true,"connection": true,"errors": {"rcptto": "550 5.7.1 No such user!\n"}}],"configuration": {"validation\_type\_by\_domain": null,"whitelist\_validation": false,"whitelisted\_domains": null,"blacklisted\_domains": null,"not\_rfc\_mx\_lookup\_flow": false,"smtp\_safe\_check": false,"email\_pattern": "default gem value","smtp\_error\_body\_pattern": "default gem value"}}
⚡️ 1. Updated
Truemail::Log::Serializer::Base
📚 2. Updated gem documentation ⚡️ 3. Updated gem version to1.7.1
-
v1.7.0 Changes
May 09, 2020➕ Added ability to use not RFC MX lookup flow (MX and Null MX records will be checked on the DNS validation layer only).
Truemail.configure do |config| # Optional parameter. This option will provide to use not RFC MX lookup flow.# It means that MX and Null MX records will be cheked on the DNS validation layer only.# By default this option is disabled.config.not\_rfc\_mx\_lookup\_flow = trueend
⚡️ 1. Updated
Truemail::Configuration
⚡️ 2. UpdatedTruemail::Validate::Mx
⚡️ 3. Updated gem development dependencies 📚 4. Updated gem documentation ⚡️ 5. Updated gem version to1.7.0