Skip to content

2.1.0

Compare
Choose a tag to compare
@Mika56 Mika56 released this 14 Jan 16:12
· 8 commits to master since this release

New features

  • Expose new data on Result:
    • getRecord(): ?Record: returns the evaluated record for the domain
    • getSteps(): array<array<0: Term, 1: ?bool>>: returns every evaluated Term. Second value of the array is whether the Term matched or not
    • getRequestcount(): int, getRequestMXCount(): int, getRequestPTRCount(): int and getVoidLookups(): int: returns the number of DNS lookups, MX lookups, PTR lookups and void lookups that were made for this evaluation
  • Allow using custom lookup limits. Added three new arguments to SPFCheck constructor: public function __construct(DNSRecordGetterInterface $DNSRecordGetter, int $maxRequests = 10, int $maxMXRequests = 10, int $maxPTRRequests = 10)

Bugfixes

  • Ignore empty MX entries in #46, contributed by @sLIDe5

Full Changelog: 2.0.1...2.1.0