You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can now use this library to check the validity of an IP address/sender domain (see README.md)
When checking for semantic issues, you can now filter for the minimum issue level
Bug fixes
The library now handles SPF records in a case-insensitive way (as per RFC 7208)
Breaking changes
New methods have been added to the DNS Resolver interface (you have to implement them if you are using a custom DNS resolver)
When parsing an SPF record, the library now also checks the syntax of the mechanism/modifier arguments, throwing a new SPFLib\Exception\InvalidMacroStringException exception (which extends the SPFLib\Exception\InvalidTermException exception) in case of problems
Cloning instances of SPFLib\Record now clones the contained terms too
The result of the getDomainSpec() method of the a/exists/include/mx/ptr mechanisms and the exp/redirect modifiers is now an instance of the new SPFLib\Macro\MacroString class instead of a string (to get their string representation simply use (string) $mechamism->getDomainSpec()); the same applies for the result of the getValue() method of the unknown modifier