Releases: jeremykendall/php-domain-parser
Releases · jeremykendall/php-domain-parser
4.0.0-alpha
Many Improvements, Many BC Breaks
The Most Significant BC Breaks
- All misspellings of registrable have been corrected (registerable -> registrable) (see #61)
- All magic methods have been replaced with getters.
Other Updates and BC Breaks
3.0.0
New Features and BC Breaks
IMPORTANT: These are all BC breaking changes (some more significant than others).
- Adds RFC 3986 scheme support
- http(s) and ftp(s) are no longer the only supported schemes
- All RFC 3986 valid schemes are parsed
- All schemes are lowercased on output regardless of the case passed to the parser
- The
http
scheme is no longer prepended to URLs which do not include schemes - Renames Public Suffix List update script from
./bin/pdp-psl.
to./bin/update-psl
- Adds a post-install script to
composer.json
to update the Public Suffix list when callingcomposer install
- Backports PHP 5.4.7
parse_url()
fix topdp_parse_url()
and supported PHP 5.3 versions: "Fixed host recognition when scheme is omitted and a leading component separator is present."
2.0.3
2.0.2
- Fixes bug in
bin/parse
- Updates Public Suffix List
2.0.1
- Corrects mistake in documentation
- Updates
bin/parse
to include suffix validity
2.0.0
Features
- Adds IDNA support
- Removes
Parser::mbParseUrl
, a UTF-8 compatible version of PHP'sparse_url
- Adds global function
pdp_parse_url
, a UTF-8 compatible version of PHP'sparse_url
- Adds
Parser:: isSuffixValid
to test validity of domain suffix (thanks to @SmellyFish)
See 1.4.6...2.0.0 for detailed version diff
BC Breaks
Library now requires ext-intl
and ext-mbstring
.
1.4.6
Adds IPv6 support, courtesy of a bugfix submitted by @geekwright.
1.4.5
Documentation updates (removes TODO)
1.4.4
Adds "ext-mbstring" to composer require key