Skip to content

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 15 Aug 17:58
37b6af9

2.0.0 (2026-08-15)

⚠ BREAKING CHANGES

  • Node.js 22.19.0 or newer is now required. The previous range claimed 14 and above, which no longer holds once mailauth is up to date.

Features

  • dns: accept a promise-based custom DNS resolver (4cf3466)
  • dns: accept a promise-based custom DNS resolver (a85d4cd)
  • dns: allow declaring local NAT64 prefixes (202a5dd)
  • dns: validate IPv4 addresses carried by IPv6 transition addresses (e452eec)
  • require Node 22.19.0 and refresh dependencies (fdded42)
  • validate every connection address, migrate internals to async/await (aa9129a)

Bug Fixes

  • dns: enforce ignoreIPv6 for every address, not just lookups (30a0028)
  • dns: give an address lookup failure one wording (a1c041a)
  • dns: keep judging the address a declared NAT64 prefix matches (10fe9b2)
  • dns: let a declared prefix cover the RFC 8215 NAT64 range (776c6f7)
  • dns: report an IPv6-only host accurately under ignoreIPv6 (64f145f)
  • dns: validate only canonical IP literals (e6c928d)
  • npm: publish only lib, not the whole repository (55b23ab)
  • prevent unhandled socket error events and crashes on malformed MX responses (b2d7892)
  • resolve-ip: tolerate MX entries without address arrays (d8fbead)