PHP Domain Parser v5.3.0 Release Notes

Release Date: 2018-05-22 // almost 6 years ago
  • โž• Added

    • Pdp\PublicSuffixListSection interface implemented by Pdp\Rules and Pdp\PublicSuffix
    • Pdp\DomainInterface interface implemented by Pdp\Domain and Pdp\PublicSuffix
    • Pdp\Domain::getContent replaces Pdp\Domain::getDomain
    • Pdp\Domain::withLabel adds a new label to the Pdp\Domain.
    • ๐Ÿšš Pdp\Domain::withoutLabel removes labels from the Pdp\Domain.
    • โšก๏ธ Pdp\Domain::withPublicSuffix updates the Pdp\Domain public suffix part.
    • โšก๏ธ Pdp\Domain::withSubDomain updates the Pdp\Domain sub domain part.
    • Pdp\Domain::append appends a label to Pdp\Domain.
    • Pdp\Domain::prepend prepends a label to Pdp\Domain.
    • Pdp\Domain::resolve attach a public suffix to the Pdp\Domain.
    • Pdp\Domain::isResolvable tells whether the current Pdp\Domain can have a public suffix attached to it or not.
    • Pdp\PublicSuffix::createFromDomain returns a new Pdp\PublicSuffix object from a Pdp\Domainobject
    • ๐Ÿ‘ป Pdp\Exception sub namespace to organize exception. All exception extends the Pdp\Exception class to prevent BC break.

    ๐Ÿ›  Fixed

    • Pdp\Domain domain part computation (public suffix, registrable domain and sub domain)
    • Pdp\Domain and Pdp\PublicSuffix host validation compliance to RFC improved
    • ๐Ÿ‘Œ Improve Pdp\Converter and Pdp\Manager class to better report error on IDN conversion.
    • ๐Ÿ‘Œ Improve Pdp\Installer vendor directory resolution see PR #222
    • ๐Ÿ‘ป Pdp\Exception nows extends InvalidArgumentException instead of RuntimeException

    ๐Ÿ—„ Deprecated

    • Pdp\Domain::getDomain use instead Pdp\Domain::getContent
    • Pdp\Rules::ALL_DOMAINS use the empty string instead

    โœ‚ Removed

    • None