Added
League\Uri\UriInfo
: to get RFC3986 information from an URI objectLeague\Uri\UriResolver
: to resolve or relativize an URI objectLeague\Uri\UriString
: to parse or build an URL into or from its componentsLeague\Uri\Uri::createFromBaseUri
named constructorLeague\Uri\Uri::createFromDataPath
named constructorLeague\Uri\Uri::createFromPsr7
named constructorLeague\Uri\Uri::createFromUnixPath
named constructorLeague\Uri\Uri::createFromWindowsPath
named constructorLeague\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 theJsonSerializable
interfaceLeague\Uri\Http
implements theJsonSerializable
interface
Deprecated
- None
Remove
- support for PHP7.1 and PHP7.0
create
function defined in theLeague\Uri
namespace replaced byLeague\Uri\Uri::createFromBaseUri
League\Uri\Factory
replaced byLeague\Uri\Uri
League\Uri\Data
replaced byLeague\Uri\Uri
League\Uri\File
replaced byLeague\Uri\Uri
League\Uri\Ftp
replaced byLeague\Uri\Uri
League\Uri\Ws
replaced byLeague\Uri\Uri
League\Uri\UriException
replaced byLeague\Uri\Contract\UriException
League\Uri\AbstractUri
internal, replaced byLeague\Uri\Uri
League\Uri\Schemes
namespace and all classes insideLeague\Uri\Uri
no longer implementsLeague\Uri\UriInterface