packagist league/uri 6.0.0
version 6.0.0

latest releases: dev-master, 7.5.1, 7.5.0...
5 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

Don't miss a new uri release

NewReleases is sending notifications on new releases.