All Versions
21
Latest Version
Avg Release Cycle
110 days
Latest Release
1155 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v6.1.1 Changes
February 18, 2022โ Added
- None
๐ Fixed
- ๐ #321 improve resolving private domain suffix.
Rules::getPrivateDomain
will now throw if the domain name does not contain a "private" TLD.
๐ Deprecated
- None
โ Removed
- None
-
v6.1.0 Changes
June 19, 2021โ Added
TimeToLive::until
TimeToLive::fromDurationString
๐ Fixed
.gitattributes
files to be filter out.TimeToLive
marked as internalHost::toUnicode
method MUST never throw exceptions on conversion according to RFC3490.- ๐ป
UnableToResolveDomain
typo in the exception message
๐ Deprecated
TimeToLive::fromDateTimeInterface
useTimeToLive::fromNow
TimeToLive::fromScalar
useTimeToLive::convert
โ Removed
- None
-
v6.0.0 Changes
December 13, 2020โ Added
- โ Adding proper Interfaces
- โ Added
Domain::clear
to easily initialize an empty domain object - โ Added
Domain::slice
to easily slice a domain object - โ Added
ResolvedDomain
object to normalize Resolver results. - โ Added
Suffix
object to replace thePublicSuffix
object from v5. - Public Suffix List and IANA Top Level Domain List are fully decoupled
- โ Added
Idna
, IDN support has been completely revamped - โ Added internal
Stream
class, to improve path/stream resolution - 0๏ธโฃ Resolver uses by default UTS#46 IDNA2008 algorithm to convert domain names
- Storage capability is now optional and can be based on PHP-FIG related interfaces to improve interoperability
Pdp\TopLevelDomains::getIANADomain
which throws on syntax error and if no effective TLD is found (behave likePdp\TopLevelDomains::resolve
in v5).
๐ Fixed
- The
Pdp\Domain
class not longer directly exposes Effective TLD status. - Effective TLD resolver (
Pdp\Rules::resolve
andPdp\TopLevelDomains::resolve
) no longer accept IDNA options. Rules::getICANNDomain
,Rules::getPrivateDomain
will throw even if aPublicSuffix
is found but does not belong to the correct PSL section.Pdp\TopLevelDomains::resolve
acts likePdp\Rules::resolve
and only throw onTypeError
๐ Deprecated
- None
โ Removed
__toString
and__debugInfo
usage- ๐ Support for PHP7.4-
- โก๏ธ Composer script for automatic updates of the remote databases
- โก๏ธ CLI command
bin/update-psl
- ๐ฆ
Pdp\Cache
,Pdp\CacheException
: The package PSR-16 Cache implementation using the underlying filesystem. - ๐ฆ
Pdp\HttpClient
,Pdp\CurlHttpClient
andPdp\HttpClientException
: The package Http Client. - ๐ฆ
Pdp\Installer
,Pdp\Manager
: The package source manager and installer - ๐ฆ
Pdp\Logger
, The package logger implementation - ๐
Pdp\Rules::ALL_DOMAINS
constant deprecated in version 5.3 - ๐
Pdp\Domain::getDomain
deprecated in version 5.3 Pdp\Domain::resolve
Pdp\Domain::getPublicSuffix
replaced byPdp\ResolvedDomain::suffix
Pdp\Domain::getRegistrableDomain
replaced byPdp\ResolvedDomain::registrableDomain
Pdp\Domain::getSubDomain
replaced byPdp\ResolvedDomain::subDomain
Pdp\Domain::withPublicSuffix
replaced byPdp\ResolvedDomain::withSuffix
Pdp\Domain::getLabel
replaced byPdp\Domain::label
Pdp\Domain::isTransitionalDifferent
replaced byPdp\IdnaInfo::isTransitionalDifferent
Pdp\PublicSuffix
replaced byPdp\Suffix
- Accessing suffix information from the
Pdp\Domain
object is no longer possible you need to do it fromPdp\Suffix
Pdp\TopLevelDomains::contains
without replacement- Internal Converter classes (implementation details are no longer exposed).
-
v5.7.2 Changes
October 25, 2020โ Added
- None
๐ Fixed
- โ Added support for PHP8 see #289 based on works by @szepeviktor
๐ Deprecated
- None
โ Removed
- None
-
v5.7.1 Changes
August 04, 2020โ Added
- None
๐ Fixed
- ๐ Cache throws when cache directory doesn't exist #280
๐ Deprecated
- None
โ Removed
- None
-
v5.7.0 Changes
August 02, 2020โ Added
Rules::getCookieDomain
Rules::getICANNDomain
Rules::getPrivateDomain
CouldNotResolvePublicSuffix::dueToUnresolvableDomain
๐ Fixed
- ๐ Improve type hinting and return type by dropping EOL PHP versions support.
- ๐ Improve development environment by dropping EOL PHP versions support.
- ๐ Fix composer script
๐ Deprecated
- None
โ Removed
- ๐ Support for PHP7.0 and PHP7.1
- โก๏ธ The external data from IANA and mozilla is no longer part of the package and will be downloaded only on demand on composer update/install.
-
v5.6.0 Changes
December 29, 2019 -
v5.5.0 Changes
April 14, 2019โ Added
๐
PublicSuffix::labels
andDomain::labels
to return the VO labels see #241๐
IDNAConverterTrait::parse
(internal)
๐ Fixed
- ๐ Don't swallow cache errors #232
- โก๏ธ Update travis settings to allow testing against future version of PHP.
๐ Deprecated
- ๐
IDNAConverterTrait::setLabels
replaced byIDNAConverterTrait::parse
(internal)
โ Removed
- None
-
v5.4.0 Changes
November 22, 2018โ Added
Pdp\TopLevelDomains
to allow resolving domain againts IANA Root zone databasePdp\TLDConverter
converts the IANA Root Zones database into an associative arrayPdp\Manager::getTLDs
a service to return a cache version of the IANA Root zone databasePdp\Manager::refreshTLDs
a service to refresh the cache version of the IANA Root zone database- โ added a new
$ttl
parameter to improve PSR-16 supports toPdp\Manager::__construct
Pdp\Manager::getRules
Pdp\Manager::refreshRules
- ๐ป
Pdp\Exception\CouldNotLoadTLDs
exception
๐ Fixed
Pdp\IDNAConverterTrait::setLabels
improve IDN domain handling- ๐
Pdp\IDNAConverterTrait
throws aUnexpectedValueException
if the Intl extension is misconfigured see #230
๐ Deprecated
- None
โ Removed
- None
-
v5.3.0 Changes
May 22, 2018โ 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