Skip to content

3.1.4

Choose a tag to compare

@msimerson msimerson released this 30 Mar 20:33
· 43 commits to master since this release
a9c0fd5

Fixed

  • fix: add ensure_body for late parse_body=true #3539
  • fix(outbound): prevent ERR_UNHANDLED_ERROR crash #3538
  • fix(txn): more robust handling of body filter additions #3537
  • fix(conn): avoid connection fault when 2x QUIT sent #3536
  • fix(txn): more robust handling of broken messages #3535
  • fix(connection): pause after odd SMTP command sequence #3525

Changed

  • chore(plugins): deleted deprecated core_require
  • dep(rabbitmq): repackaged as NPM module #3526
  • deps(all): bump versions
  • doc(Plugins): add sections filter, enrichment, and logging #3534
    • added dropbox-plugin #3543
  • es2024: #3527, #3528
    • outbound replace fs callback with promises and async/await #3528
    • dep(async): remove dep by replacing async.map with Queue
    • use startsWith instead of indexOf === 0
    • use spread syntax instead of [].concat and {}.assign
    • use implicit arrow function returns
    • replace deprecated substr with slice or substring
  • test(outbound/queue): added tests #3531
  • test: fixes for test-fixtures 1.4 & local plugins that do require('./')
    • TL;DR: bundled plugins don't need a special require any more
    • fixtures/plugin behaves more like real one, test accordingly
    • refactored connection, transaction, and outbound to node --test #3541
      • transaction.js (48 → 62 tests)
      • connection.js (24 → 51 tests)
      • moved ./test/outbound_* to ./test/outbound/, and fixed race conditions
    • move TLS tests to haraka-tls #3542
    • improve coverage for transaction, rfc1869, xclient, and record_envelope_addresses #3524