Skip to content

Releases: Mika56/PHP-SPF-Check

2.2.0

24 Feb 09:48
Compare
Choose a tag to compare
  • Very minor fixes (documentation, code style)
  • Allow Symfony 7

Full Changelog: 2.1.1...2.2.0

2.1.1

27 Apr 18:15
7a03f0e
Compare
Choose a tag to compare

What's Changed

  • Fixes #49: Converts the matched term to lower case before detecting the used mechanism. by @thirsch in #50

New Contributors

Full Changelog: 2.1.0...2.1.1

2.1.0

14 Jan 16:12
Compare
Choose a tag to compare

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

Version 2

28 Aug 15:26
Compare
Choose a tag to compare

Version 2 is now out!

Work was done to simplify SPFCheck class and separating code responsibility.
A lot of work was also done to add macros support and providing a Result object with more details on the check.

Please check UPGRADE.md for details on the BC breaks

1.1.7

23 Mar 16:44
30747d4
Compare
Choose a tag to compare

Allow symfony/http-foundation version 6

1.1.4

27 Apr 16:09
0989b3d
Compare
Choose a tag to compare

1.1.3

27 Apr 15:57
Compare
Choose a tag to compare

Add compatibility with PHP7.2 and Symfony 4

Fix DNSRecordGetterDirect UDP and using PHP's dns_get_record

31 Oct 16:58
Compare
Choose a tag to compare
  • Two bugfixes for the DNSRecordGetterDirect class. #23 (@hluaces)

1.1.0

11 Aug 20:08
Compare
Choose a tag to compare
  • Add DNSRecordGetterDirect, allowing to specify the nameserver to use for the query
  • Drop HHVM support