Releases
5.3.0
Compare
Sorry, something went wrong.
No results found
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
You can’t perform that action at this time.