Skip to content

Releases: Mika56/PHP-SPF-Check

3.0.1

Choose a tag to compare

@Mika56 Mika56 released this 10 May 08:40

Update README.md

Full Changelog: 3.0.0...3.0.1

3.0.0

Choose a tag to compare

@Mika56 Mika56 released this 10 May 08:29
9a142d0

What's Changed

  • Fix PHP 8.4 deprecations
  • PHP 8.31 is now the minimum required version (oldest support version to date)

Full Changelog: 2.2.0...3.0.0

2.2.0

Choose a tag to compare

@Mika56 Mika56 released this 24 Feb 09:48
  • Very minor fixes (documentation, code style)
  • Allow Symfony 7

Full Changelog: 2.1.1...2.2.0

2.1.1

Choose a tag to compare

@Mika56 Mika56 released this 27 Apr 18:15
7a03f0e

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

Choose a tag to compare

@Mika56 Mika56 released this 14 Jan 16:12

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

Choose a tag to compare

@Mika56 Mika56 released this 28 Aug 15:26

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

Choose a tag to compare

@Mika56 Mika56 released this 23 Mar 16:44
30747d4

Allow symfony/http-foundation version 6

1.1.4

Choose a tag to compare

@Mika56 Mika56 released this 27 Apr 16:09
0989b3d

1.1.3

Choose a tag to compare

@Mika56 Mika56 released this 27 Apr 15:57

Add compatibility with PHP7.2 and Symfony 4

Fix DNSRecordGetterDirect UDP and using PHP's dns_get_record

Choose a tag to compare

@Mika56 Mika56 released this 31 Oct 16:58
  • Two bugfixes for the DNSRecordGetterDirect class. #23 (@hluaces)