|
2 | 2 |
|
3 | 3 | All Notable changes to `PHP Domain Parser` **5.x** series will be documented in this file
|
4 | 4 |
|
| 5 | +## 5.3.0 - 2018-05-22 |
| 6 | + |
| 7 | +### Added |
| 8 | + |
| 9 | +- `Pdp\PublicSuffixListSection` interface implemented by `Pdp\Rules` and `Pdp\PublicSuffix` |
| 10 | +- `Pdp\DomainInterface` interface implemented by `Pdp\Domain` and `Pdp\PublicSuffix` |
| 11 | +- `Pdp\Domain::getContent` replaces `Pdp\Domain::getDomain` |
| 12 | +- `Pdp\Domain::withLabel` adds a new label to the `Pdp\Domain`. |
| 13 | +- `Pdp\Domain::withoutLabel` removes labels from the `Pdp\Domain`. |
| 14 | +- `Pdp\Domain::withPublicSuffix` updates the `Pdp\Domain` public suffix part. |
| 15 | +- `Pdp\Domain::withSubDomain` updates the `Pdp\Domain` sub domain part. |
| 16 | +- `Pdp\Domain::append` appends a label to `Pdp\Domain`. |
| 17 | +- `Pdp\Domain::prepend` prepends a label to `Pdp\Domain`. |
| 18 | +- `Pdp\Domain::resolve` attach a public suffix to the `Pdp\Domain`. |
| 19 | +- `Pdp\Domain::isResolvable` tells whether the current `Pdp\Domain` can have a public suffix attached to it or not. |
| 20 | +- `Pdp\PublicSuffix::createFromDomain` returns a new `Pdp\PublicSuffix` object from a `Pdp\Domain`object |
| 21 | +- `Pdp\Exception` sub namespace to organize exception. All exception extends the `Pdp\Exception` class to prevent BC break. |
| 22 | + |
| 23 | +### Fixed |
| 24 | + |
| 25 | +- `Pdp\Domain` domain part computation (public suffix, registrable domain and sub domain) |
| 26 | +- `Pdp\Domain` and `Pdp\PublicSuffix` host validation compliance to RFC improved |
| 27 | +- Improve `Pdp\Converter` and `Pdp\Manager` class to better report error on IDN conversion. |
| 28 | +- Improve `Pdp\Installer` vendor directory resolution see [PR #222](https://github.com/jeremykendall/php-domain-parser/pull/222) |
| 29 | +- `Pdp\Exception` nows extends `InvalidArgumentException` instead of `RuntimeException` |
| 30 | + |
| 31 | +### Deprecated |
| 32 | + |
| 33 | +- `Pdp\Domain::getDomain` use instead `Pdp\Domain::getContent` |
| 34 | +- `Pdp\Rules::ALL_DOMAINS` use the empty string instead |
| 35 | + |
| 36 | +### Removed |
| 37 | + |
| 38 | +- None |
| 39 | + |
5 | 40 | ## 5.2.0 - 2018-02-23
|
6 | 41 |
|
7 | 42 | ### Added
|
|
0 commit comments