Skip to content

version 4.0.0

Compare
Choose a tag to compare
@nyamsprod nyamsprod released this 23 Sep 11:13
· 1386 commits to master since this release

Added

  • Intl extension is now required to use the library
  • FileInfo extension is now required to use the library
  • Domain parsing capabilities to Host using jeremykendall/php-domain-parser package
  • UriParser to parse an URI according to RFC3986 rules
  • QueryParser to parse and build a query string according to RFC3986 rules.
  • League\Uri\Schemes\Generic\AbstractUri to enable better URI extension
  • URI Modifiers classes to modify URI objects in an uniform way for interoperability
  • A Data class to specifically manipulate data schemed URI
  • A Http class to specifically manipulate http,https schemed URI
  • A Ftp class to specifically manipulate ftp schemed URI
  • A Ws class to specifically manipulate ws, wss schemed URI
  • A DataPath component class to manipulate Data-uri path component
  • A HierarchicalPath to manipulate Hierarchical-like path component
  • Support for IP host

Fixed

  • Move namespace from League\Url to League\Uri to avoid dependency hell
  • Uri components classes are fixed to comply to RFC3986
  • Uri components classes are now all immutable value objects

Deprecated

  • Nothing

Remove

  • Support for PHP 5.4 and PHP 5.3
  • Dependency on PHP parse_url, parse_str and http_build_query functions
  • Dependency on the True/php-punycode library
  • League\Url\Url, League\Url\UrlImmutable, League\Url\UrlConstants classes
  • Most of the public API is removed