Repository navigation
Releases: Mika56/PHP-SPF-Check
Releases · Mika56/PHP-SPF-Check
Release list
3.0.1
3.0.0
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
- Very minor fixes (documentation, code style)
- Allow Symfony 7
Full Changelog: 2.1.1...2.2.0
2.1.1
2.1.0
New features
- Expose new data on Result:
getRecord(): ?Record: returns the evaluated record for the domaingetSteps(): array<array<0: Term, 1: ?bool>>: returns every evaluatedTerm. Second value of the array is whether theTermmatched or notgetRequestcount(): int,getRequestMXCount(): int,getRequestPTRCount(): intandgetVoidLookups(): 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
SPFCheckconstructor:public function __construct(DNSRecordGetterInterface $DNSRecordGetter, int $maxRequests = 10, int $maxMXRequests = 10, int $maxPTRRequests = 10)
Bugfixes
Full Changelog: 2.0.1...2.1.0
Version 2
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