All Versions
67
Latest Version
Avg Release Cycle
24 days
Latest Release
-

Changelog History
Page 6

  • v1.4.0 Changes

    October 28, 2019

    โž• Added

    • ๐Ÿ”Š Event logger (ability to output validation logs to stdout/file)
    • JSON serializer for validator instance
    • [Changelog](CHANGELOG.md)
    • Logo

    0๏ธโƒฃ Truemail gem allows to output tracking events to stdout/file or both of these. Please note, at least one of the outputs must exist. Tracking event by default is :error

    Available tracking events

    • :all, all detected events including success validation cases
    • :unrecognized_error, unrecognized errors only (when smtp_safe_check = true and SMTP server does not return an exact answer that the email does not exist)
    • :recognized_error, recognized errors only
    • :error, recognized and unrecognized errors only
    Truemail.configure do |config|
      config.logger = { tracking_event: :all, stdout: true, log_absolute_path: '/home/app/log/truemail.log' }
    end
    

    Also starting from this version Truemail has built in JSON serializer for Truemail::Validator instance, so you can represent your email validation result as json.

    Truemail::Log::Serializer::Json.call(Truemail.validate('[email protected]'))
    

    ๐Ÿ”„ Changed

    • ๐Ÿ”ง Truemail::Configuration
    • Truemail::Validator
    • Truemail::Validate::Regex
    • Truemail::VERSION
    • ๐Ÿ“š gem documentation
    • gem description
  • v1.3.0 Changes

    September 16, 2019

    โž• Added

    • ๐Ÿ”ง Ability to create new Truemail::Configuration instance with block
    • ๐Ÿ”ง Truemail::Validate::Smtp::Request::Configuration

    ๐Ÿ”„ Changed

    • Truemail::Wrapper
    • Truemail::Validate::Base
    • Truemail::Validator
    • Truemail::Validator::Result
    • Truemail::Validate::Regex
    • Truemail::Validate::Mx
    • Truemail::Validate::Smtp
    • Truemail::Validate::Smtp::Request
    • Truemail::Audit::Base
    • Truemail::Auditor
    • Truemail::Audit::Ptr
    • ::Truemail module
    • Truemail::VERSION
    • ๐Ÿ“š gem documentation
    • gem description
  • v1.2.1 Changes

    June 27, 2019

    ๐Ÿ›  Fixed

    • โœ‚ Removed memoization from DomainListMatch#whitelisted_domain?

    ๐Ÿ”„ Changed

    • Truemail::VERSION
    • ๐Ÿ“š gem documentation
  • v1.2.0 Changes

    June 26, 2019

    โž• Added

    • ๐Ÿ”ง Configurable option: validation for whitelisted domains only.

    When email domain in whitelist and whitelist_validation is sets equal to true validation type will be passed to other validators. Validation of email which not contains whitelisted domain always will return false.

    Truemail.configure do |config|
      config.verifier_email = '[email protected]'
      config.whitelisted_domains = ['white-domain.com']
      config.whitelist_validation = true
    end
    

    Email has whitelisted domain

    Truemail.validate('[email protected]', with: :regex)
    
    #<Truemail::Validator:0x000055b8429f3490
      @result=#<struct Truemail::Validator::Result
        success=true,
        email="[email protected]",
        domain=nil,
        mail_servers=[],
        errors={},
        smtp_debug=nil>,
      @validation_type=:regex>
    

    Email hasn't whitelisted domain

    Truemail.validate('[email protected]', with: :regex)
    
    #<Truemail::Validator:0x000055b8429f3490
      @result=#<struct Truemail::Validator::Result
        success=false,
        email="[email protected]",
        domain=nil,
        mail_servers=[],
        errors={},
        smtp_debug=nil>,
      @validation_type=:blacklist>
    

    ๐Ÿ”„ Changed

    • Truemail::VERSION
    • ๐Ÿ“š gem documentation
  • v1.1.0 Changes

    June 18, 2019

    โž• Added

    0๏ธโƒฃ You can predefine default validation type for Truemail.validate('[email protected]') call without with-parameter. Available validation types: :regex, :mx, :smtp. By default validation type still remains :smtp

    Truemail.configure do |config|
      config.verifier_email = '[email protected]'
      config.default_validation_type = :mx
    end
    

    ๐Ÿ”„ Changed

    • Truemail::VERSION
    • ๐Ÿ“š gem documentation
  • v1.0.1 Changes

    June 08, 2019

    โž• Added

    • Result validation type marker for domain list match check
    Truemail.validate('[email protected]')
    
    #<Truemail::Validator:0x000055b8429f3490
      @result=#<struct Truemail::Validator::Result
        success=true,
        email="[email protected]",
        domain=nil,
        mail_servers=[],
        errors={},
        smtp_debug=nil>,
      @validation_type=:whitelist>
    
    Truemail.validate('[email protected]')
    
    #<Truemail::Validator:0x000023y8429f3493
      @result=#<struct Truemail::Validator::Result
        success=false,
        email="[email protected]",
        domain=nil,
        mail_servers=[],
        errors={},
        smtp_debug=nil>,
      @validation_type=:blacklist>
    

    ๐Ÿ”„ Changed

    • Truemail::VERSION
    • ๐Ÿ“š gem documentation
  • v1.0 Changes

    June 04, 2019

    โž• Added

    • Feature domain whitelist blacklist. Other validations will not processed even if it was defined in validation_type_for.
    Truemail.configure do |config|
      # Optional parameter. Validation of email which contains whitelisted domain
      # always will return true.
      config.whitelisted_domains = ['somedomain1.com', 'somedomain2.com']
    
      # Optional parameter. Validation of email which contains whitelisted domain
      # always will return false.
      config.blacklisted_domains = ['somedomain1.com', 'somedomain2.com']
    end
    

    and

    Truemail.configuration.whitelisted_domains = ['somedomain1.com', 'somedomain2.com']
    Truemail.configuration.blacklisted_domains = ['somedomain1.com', 'somedomain2.com']
    

    โœ‚ Removed

    • :skip validation type for validation_type_for

    ๐Ÿ›  Fixed

    • error key in lower_snake_case

    ๐Ÿ”„ Changed

    • Truemail::VERSION
    • ๐Ÿ“š gem documentation
  • v0.2 Changes

    May 23, 2019

    โž• Added

    • skip validation by domain for validation_type_for configuration option:
    Truemail.configure do |config|
      config.validation_type_for = { 'somedomain.com' => :skip }
    end
    

    and

    Truemail.configuration.validation_type_for = { 'somedomain.com' => :skip }
    

    ๐Ÿ”„ Changed

    • Truemail::VERSION
    • ๐Ÿ“š gem documentation
  • v0.1.10 Changes

    May 10, 2019

    โž• Added

    ๐Ÿ”„ Changed

    • Truemail::VERSION
    • ๐Ÿ“š gem documentation
  • v0.1.9 Changes

    April 29, 2019

    ๐Ÿ›  Fixed

    • Empty ptr constant