Uri v6.0.0 Release Notes

Release Date: 2019-10-18 // over 4 years ago
  • โž• 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