All Versions
21
Latest Version
Avg Release Cycle
110 days
Latest Release
797 days ago

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 internal
    • Host::toUnicode method MUST never throw exceptions on conversion according to RFC3490.
    • ๐Ÿ‘ป UnableToResolveDomain typo in the exception message

    ๐Ÿ—„ Deprecated

    • TimeToLive::fromDateTimeInterface use TimeToLive::fromNow
    • TimeToLive::fromScalar use TimeToLive::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 the PublicSuffix 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 like Pdp\TopLevelDomains::resolve in v5).

    ๐Ÿ›  Fixed

    • The Pdp\Domain class not longer directly exposes Effective TLD status.
    • Effective TLD resolver (Pdp\Rules::resolve and Pdp\TopLevelDomains::resolve) no longer accept IDNA options.
    • Rules::getICANNDomain, Rules::getPrivateDomain will throw even if a PublicSuffix is found but does not belong to the correct PSL section.
    • Pdp\TopLevelDomains::resolve acts like Pdp\Rules::resolve and only throw on TypeError

    ๐Ÿ—„ 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 and Pdp\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 by Pdp\ResolvedDomain::suffix
    • Pdp\Domain::getRegistrableDomain replaced by Pdp\ResolvedDomain::registrableDomain
    • Pdp\Domain::getSubDomain replaced by Pdp\ResolvedDomain::subDomain
    • Pdp\Domain::withPublicSuffix replaced by Pdp\ResolvedDomain::withSuffix
    • Pdp\Domain::getLabel replaced by Pdp\Domain::label
    • Pdp\Domain::isTransitionalDifferent replaced by Pdp\IdnaInfo::isTransitionalDifferent
    • Pdp\PublicSuffix replaced by Pdp\Suffix
    • Accessing suffix information from the Pdp\Domain object is no longer possible you need to do it from Pdp\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

    ๐Ÿ—„ 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

    โž• Added

    • ๐Ÿ”Š A simple Psr3 compatible logger class which output the logs to you cli console.

    ๐Ÿ›  Fixed

    • โšก๏ธ composer.json updated to be composer 2.0 ready
    • ๐Ÿ‘€ package bundle installer is rewritten to improve its usage see #249 and #250

    ๐Ÿ—„ Deprecated

    • None

    โœ‚ Removed

    • None
  • v5.5.0 Changes

    April 14, 2019

    โž• Added

    • ๐Ÿ‘Œ Support for IDNA options see #236 thanks to Insolita.

    • ๐Ÿ‘€ PublicSuffix::labels and Domain::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 by IDNAConverterTrait::parse (internal)

    โœ‚ Removed

    • None
  • v5.4.0 Changes

    November 22, 2018

    โž• Added

    • Pdp\TopLevelDomains to allow resolving domain againts IANA Root zone database
    • Pdp\TLDConverter converts the IANA Root Zones database into an associative array
    • Pdp\Manager::getTLDs a service to return a cache version of the IANA Root zone database
    • Pdp\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 to
      • Pdp\Manager::__construct
      • Pdp\Manager::getRules
      • Pdp\Manager::refreshRules
    • ๐Ÿ‘ป Pdp\Exception\CouldNotLoadTLDs exception

    ๐Ÿ›  Fixed

    • Pdp\IDNAConverterTrait::setLabels improve IDN domain handling
    • ๐Ÿ‘€ Pdp\IDNAConverterTrait throws a UnexpectedValueException if the Intl extension is misconfigured see #230

    ๐Ÿ—„ Deprecated

    • None

    โœ‚ Removed

    • None
  • v5.3.0 Changes

    May 22, 2018

    โž• 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