Skip to content

3.0.0

Compare
Choose a tag to compare
@jeremykendall jeremykendall released this 30 Mar 12:58
· 552 commits to master since this release

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 calling composer install
  • Backports PHP 5.4.7 parse_url() fix to pdp_parse_url() and supported PHP 5.3 versions: "Fixed host recognition when scheme is omitted and a leading component separator is present."