All Versions
26
Latest Version
Avg Release Cycle
120 days
Latest Release
409 days ago

Changelog History
Page 1

  • v6.4.0 Changes

    April 26, 2025

    โž• Added

    • DomainName::withRootLabel, DomainName::withoutRootLabel, DomainName::isAbsolute methods to handle absolute domain names.
    • ๐Ÿ— DomainName::when to allow conditionable when building the domain.

    ๐Ÿ›  Fixed

    • ๐Ÿš€ Absolute domain name can now also be resolved by the package see issue #361 prior to this release an exception was thrown.
    • ๐Ÿ‘ Since we no longer support PHP7 type hint and return type are improved.
    • ๐Ÿ“œ Resolving private suffixes that have a wildcarded subdomain suffix #363 by @wikando-ck

    โš  Warning

    โฌ†๏ธ When upgrading to version 6.4 you MUST refresh your local cache for the fix on private domain resolution to take effect.

    ๐Ÿ—„ Deprecated

    • None

    โœ‚ Removed

    • None
  • v6.3.1 Changes

    November 10, 2024

    What's Changed

  • v6.3.0 Changes

    February 26, 2023

    โž• Added

    • RegisteredName class to allow domain with IP4-like labels

    ๐Ÿ›  Fixed

    • Using PHPUnit 10
    • ๐Ÿ“œ Domain decorates the new RegisteredName class #347
    • Host::withoutLabel works without arguments.

    ๐Ÿ—„ Deprecated

    • None

    โœ‚ Removed

    • None
  • v6.2.0 Changes

    November 05, 2022

    โž• Added

    • None

    ๐Ÿ›  Fixed

    • Internal code to make services readonly

    • Internal code to make VO properties readonly

    • Internal code improved typehinting

    • ๐Ÿ—„ Deprecated

    • None

    โœ‚ Removed

    • ๐Ÿ‘ PHP7 and PHP8.0 support
  • v6.1.2 Changes

    September 29, 2022

    โž• Added

    • None

    ๐Ÿ›  Fixed

    • ๐Ÿšš #321 remove regression when resolving private domain suffix.

    ๐Ÿ—„ Deprecated

    • None

    โœ‚ Removed

    • None
  • v6.1.1 Changes

    February 18, 2022

    โž• Added

    • None

    ๐Ÿ›  Fixed

    • ๐Ÿ“œ #321 improve resolving private domain suffix. Rules::getPrivateDomain is more restrictive It will throw if the domain name does not contain a valid "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