Release notes
*Sourced from [jeremykendall/php-domain-parser's releases](https://github.com/jeremykendall/php-domain-parser/releases).*
> ## version 5.4.0
> ### 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](https://github-redirect.dependabot.com/jeremykendall/php-domain-parser/issues/230)
>
> ### Deprecated
>
> - None
>
> ### Removed
>
> - None
>
> ## version 5.3.0
> ### 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\Domain`object
> - `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](https://github-redirect.dependabot.com/jeremykendall/php-domain-parser/pull/222)
> - `Pdp\Exception` nows extends `InvalidArgumentException` instead of `RuntimeException`
> ... (truncated)
Changelog
*Sourced from [jeremykendall/php-domain-parser's changelog](https://github.com/jeremykendall/php-domain-parser/blob/develop/CHANGELOG.md).*
> # 5.4.0 - 2018-11-22
>
> ### 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](https://github-redirect.dependabot.com/jeremykendall/php-domain-parser/issues/230)
>
> ### Deprecated
>
> - None
>
> ### Removed
>
> - None
>
> ## 5.3.0 - 2018-05-22
>
> ### 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\Domain`object
> - `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.
> ... (truncated)
Commits
- [`6e326c5`](https://github.com/jeremykendall/php-domain-parser/commit/6e326c57e31f21adec8ab2c445927ac2203bc91b) Merge pull request [#231](https://github-redirect.dependabot.com/jeremykendall/php-domain-parser/issues/231) from jeremykendall/develop
- [`e3bafec`](https://github.com/jeremykendall/php-domain-parser/commit/e3bafec51e8cae4c55fb1791e9e98e712541d16d) prepare 5.4.0 release
- [`d15b24c`](https://github.com/jeremykendall/php-domain-parser/commit/d15b24c1832e55a033e24be47b9652a3f200b1bd) Update readme with the 5.4 added features
- [`162b4e8`](https://github.com/jeremykendall/php-domain-parser/commit/162b4e8ce874ea6a46ebc2d2251c5b8be30280fd) improve cache
- [`fd51778`](https://github.com/jeremykendall/php-domain-parser/commit/fd51778d68d825a823aafb2cd2e85a97c9af198c) bugfix issue [#230](https://github-redirect.dependabot.com/jeremykendall/php-domain-parser/issues/230)
- [`a59ca54`](https://github.com/jeremykendall/php-domain-parser/commit/a59ca549736122b8e399137fed96496ef6b3b695) Merge pull request [#229](https://github-redirect.dependabot.com/jeremykendall/php-domain-parser/issues/229) from jeremykendall/update/configuration
- [`3cac399`](https://github.com/jeremykendall/php-domain-parser/commit/3cac399771e9a549c39e96761015251a4b7fa025) Update package configuration
- [`d2d45d7`](https://github.com/jeremykendall/php-domain-parser/commit/d2d45d72c0d7e7fd79939d5d0ccad53bd9cc1ec9) Merge pull request [#227](https://github-redirect.dependabot.com/jeremykendall/php-domain-parser/issues/227) from jeremykendall/feature/add-iana-root-zone-database
- [`18c8201`](https://github.com/jeremykendall/php-domain-parser/commit/18c8201db13a4965872ac2de532c027b63200d74) Improve code readability
- [`fe91a0e`](https://github.com/jeremykendall/php-domain-parser/commit/fe91a0e96f21bbd497a79c9a2c5a613b4a79b2ad) Revert changes
- Additional commits viewable in [compare view](https://github.com/jeremykendall/php-domain-parser/compare/2.0.3...5.4.0)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking Bump now in your Dependabot dashboard.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps jeremykendall/php-domain-parser from 2.0.3 to 5.4.0.
Release notes
*Sourced from [jeremykendall/php-domain-parser's releases](https://github.com/jeremykendall/php-domain-parser/releases).* > ## version 5.4.0 > ### 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](https://github-redirect.dependabot.com/jeremykendall/php-domain-parser/issues/230) > > ### Deprecated > > - None > > ### Removed > > - None > > ## version 5.3.0 > ### 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\Domain`object > - `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](https://github-redirect.dependabot.com/jeremykendall/php-domain-parser/pull/222) > - `Pdp\Exception` nows extends `InvalidArgumentException` instead of `RuntimeException` > ... (truncated)Changelog
*Sourced from [jeremykendall/php-domain-parser's changelog](https://github.com/jeremykendall/php-domain-parser/blob/develop/CHANGELOG.md).* > # 5.4.0 - 2018-11-22 > > ### 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](https://github-redirect.dependabot.com/jeremykendall/php-domain-parser/issues/230) > > ### Deprecated > > - None > > ### Removed > > - None > > ## 5.3.0 - 2018-05-22 > > ### 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\Domain`object > - `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. > ... (truncated)Commits
- [`6e326c5`](https://github.com/jeremykendall/php-domain-parser/commit/6e326c57e31f21adec8ab2c445927ac2203bc91b) Merge pull request [#231](https://github-redirect.dependabot.com/jeremykendall/php-domain-parser/issues/231) from jeremykendall/develop - [`e3bafec`](https://github.com/jeremykendall/php-domain-parser/commit/e3bafec51e8cae4c55fb1791e9e98e712541d16d) prepare 5.4.0 release - [`d15b24c`](https://github.com/jeremykendall/php-domain-parser/commit/d15b24c1832e55a033e24be47b9652a3f200b1bd) Update readme with the 5.4 added features - [`162b4e8`](https://github.com/jeremykendall/php-domain-parser/commit/162b4e8ce874ea6a46ebc2d2251c5b8be30280fd) improve cache - [`fd51778`](https://github.com/jeremykendall/php-domain-parser/commit/fd51778d68d825a823aafb2cd2e85a97c9af198c) bugfix issue [#230](https://github-redirect.dependabot.com/jeremykendall/php-domain-parser/issues/230) - [`a59ca54`](https://github.com/jeremykendall/php-domain-parser/commit/a59ca549736122b8e399137fed96496ef6b3b695) Merge pull request [#229](https://github-redirect.dependabot.com/jeremykendall/php-domain-parser/issues/229) from jeremykendall/update/configuration - [`3cac399`](https://github.com/jeremykendall/php-domain-parser/commit/3cac399771e9a549c39e96761015251a4b7fa025) Update package configuration - [`d2d45d7`](https://github.com/jeremykendall/php-domain-parser/commit/d2d45d72c0d7e7fd79939d5d0ccad53bd9cc1ec9) Merge pull request [#227](https://github-redirect.dependabot.com/jeremykendall/php-domain-parser/issues/227) from jeremykendall/feature/add-iana-root-zone-database - [`18c8201`](https://github.com/jeremykendall/php-domain-parser/commit/18c8201db13a4965872ac2de532c027b63200d74) Improve code readability - [`fe91a0e`](https://github.com/jeremykendall/php-domain-parser/commit/fe91a0e96f21bbd497a79c9a2c5a613b4a79b2ad) Revert changes - Additional commits viewable in [compare view](https://github.com/jeremykendall/php-domain-parser/compare/2.0.3...5.4.0)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking
Bump now
in your Dependabot dashboard.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.