Truemail v2.2.1 Release Notes

Release Date: 2020-12-06 // 11 months ago
  • Fixed Encoding::UndefinedConversionError in Truemail::Log::Serializer::ValidatorJson#serialize. Filter out ASCII-8BIT chars for serialized SMTP response errors. Also added missed smtp_fail_fast attribute to serialized validator and auditor results.

    ⚡️ 1. Updated Truemail::Log::Serializer::Base ⚡️ 2. Updated Truemail::Log::Serializer::ValidatorBase ♻️ 3. Refactored Truemail::Configuration ⚡️ 4. Updated gem development depemdencies ⚡️ 5. Updated linters/codeclimate configs ⚡️ 6. Updated JSON auditor/validator schemas ⚡️ 7. Updated readme, changelog ⚡️ 8. Updated gem version to 2.2.1


Previous changes from v2.2.0

  • Ability to use fail fast behaviour for SMTP validation layer. When smtp_fail_fast = true it means that truemail ends smtp validation session after first attempt on the first mx server in any fail cases (network connection/timeout error, smtp validation error). This feature helps to reduce total time of SMTP validation session up to 1 second.

    Truemail.configure do |config| config.smtp\_fail\_fast = true # by default it's equal to falseend
    
    1. Added Truemail::Configuration#smtp_fail_fast
    2. Added Truemail::Validate::Smtp#smtp_fail_fast?
    3. Added Truemail::Validate::Smtp#filtered_mail_servers_by_fail_fast_scenario
    4. Updated Truemail::Validate::Smtp#establish_smtp_connection ⚡️ 5. Updated readme, changelog ⚡️ 6. Updated gem version to 2.2.0