All Versions
22
Latest Version
Avg Release Cycle
123 days
Latest Release
999 days ago

Changelog History
Page 3

  • v4.0.0 Changes

    September 23, 2015

    ➕ 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
  • v2.0.0 Changes

    October 18, 2019

    ➕ Added

    • League\Uri\UriInfo: to get RFC3986 information from an URI object
    • League\Uri\UriResolver: to resolve or relativize an URI object
    • 🏗 League\Uri\UriString: to parse or build an URL into or from its components
    • League\Uri\Uri::createFromBaseUri named constructor
    • League\Uri\Uri::createFromDataPath named constructor
    • League\Uri\Uri::createFromPsr7 named constructor
    • League\Uri\Uri::createFromUnixPath named constructor
    • 🏁 League\Uri\Uri::createFromWindowsPath named constructor
    • League\Uri\Http::createFromBaseUri named constructor

    🛠 Fixed

    • 👌 Improve parsing and building URI
    • 👍 All URI object are now finals and supports parameter type widening
    • League\Uri\Uri implements the JsonSerializable interface
    • League\Uri\Http implements the JsonSerializable interface

    🗄 Deprecated

    • None

    ✂ Remove

    • 👌 support for PHP7.1 and PHP7.0
    • create function defined in the League\Uri namespace replaced by League\Uri\Uri::createFromBaseUri
    • League\Uri\Factory replaced by League\Uri\Uri
    • League\Uri\Data replaced by League\Uri\Uri
    • League\Uri\File replaced by League\Uri\Uri
    • League\Uri\Ftp replaced by League\Uri\Uri
    • League\Uri\Ws replaced by League\Uri\Uri
    • League\Uri\UriException replaced by League\Uri\Contract\UriException
    • League\Uri\AbstractUri internal, replaced by League\Uri\Uri
    • League\Uri\Schemes namespace and all classes inside
    • League\Uri\Uri no longer implements League\Uri\UriInterface