PHP Domain Parser v5.3.0 Release Notes
Release Date: 2018-05-22 // almost 6 years ago-
โ Added
Pdp\PublicSuffixListSection
interface implemented byPdp\Rules
andPdp\PublicSuffix
Pdp\DomainInterface
interface implemented byPdp\Domain
andPdp\PublicSuffix
Pdp\Domain::getContent
replacesPdp\Domain::getDomain
Pdp\Domain::withLabel
adds a new label to thePdp\Domain
.- ๐
Pdp\Domain::withoutLabel
removes labels from thePdp\Domain
. - โก๏ธ
Pdp\Domain::withPublicSuffix
updates thePdp\Domain
public suffix part. - โก๏ธ
Pdp\Domain::withSubDomain
updates thePdp\Domain
sub domain part. Pdp\Domain::append
appends a label toPdp\Domain
.Pdp\Domain::prepend
prepends a label toPdp\Domain
.Pdp\Domain::resolve
attach a public suffix to thePdp\Domain
.Pdp\Domain::isResolvable
tells whether the currentPdp\Domain
can have a public suffix attached to it or not.Pdp\PublicSuffix::createFromDomain
returns a newPdp\PublicSuffix
object from aPdp\Domain
object- ๐ป
Pdp\Exception
sub namespace to organize exception. All exception extends thePdp\Exception
class to prevent BC break.
๐ Fixed
Pdp\Domain
domain part computation (public suffix, registrable domain and sub domain)Pdp\Domain
andPdp\PublicSuffix
host validation compliance to RFC improved- ๐ Improve
Pdp\Converter
andPdp\Manager
class to better report error on IDN conversion. - ๐ Improve
Pdp\Installer
vendor directory resolution see PR #222 - ๐ป
Pdp\Exception
nows extendsInvalidArgumentException
instead ofRuntimeException
๐ Deprecated
Pdp\Domain::getDomain
use insteadPdp\Domain::getContent
Pdp\Rules::ALL_DOMAINS
use the empty string instead
โ Removed
- None