All notable changes grouped by version.
- Returns
PermError
when TXT is not in US-ASCII.
Match only IPs of the same kind.
Publish NPM package.
BC-BREAK
Now DNS lookup limit is enforced as 10 maximum queries for mechanisms and 10 maximum queries for retrieving A record out of exchanges returned in the MX mechanism.- New option
{ maxDNS: 10 }
to change the DNS lookup limit. BC-BREAK
Domain and sender parameters has been moved fromSPF.check()
toSPF.constructor()
. Stable API has no change.
BC-BREAK
Now DNS queries will be performed at evaluation time. Previous checks that returnedTempFail
might now return another value on an early match. Old method can be re-activated with{ prefetch: true }
options.- Now
SPFResult
contains the lastmechanism
matched (useful for Received-SPF header field "mechanism") and a list of allmatched
mechanisms in case that at least one "include" mechanism was processed.
Initial version.