Releases: thephpleague/uri-components
Releases · thephpleague/uri-components
version 0.4.0
Added
- None
Fixed
League\Uri\Components\Host::getContent
now support correctly RFC3987League\Uri\Components\Host::__toString
only returns RFC3986 representationLeague\Uri\Components\UserInfo::getUser
to use the$enc_type
parameterLeague\Uri\Components\UserInfo::getPass
to use the$enc_type
parameter
Deprecated
- None
Remove
League\Uri\Components\Host::isIdn
League\Uri\Components\Port::getDecoded
League\Uri\Components\Scheme::getDecoded
League\Uri\Components\Fragment::getDecoded
version 0.3.0
Added
League\Uri\Components\Exception
as the base exception for the libraryLeague\Uri\Components\DataPath::getDecoded
returns the non-encoded pathLeague\Uri\Components\HierarchicalPath::getDecoded
returns the non-encoded pathLeague\Uri\Components\Path::getDecoded
returns the non-encoded pathLeague\Uri\Components\Fragment::getDecoded
returns the non-encoded fragmentLeague\Uri\Components\Port::getDecoded
returns the non-encoded portLeague\Uri\Components\Scheme::getDecoded
returns the non-encoded schemeLeague\Uri\Components\Query::extract
public static method returns a hash similar toparse_str
without the mangling from the query string
Fixed
getContent
is updated to support RFC3987
Deprecated
- None
Removed
Query::parsed
useQuery::extract
insteadQuery::parsedValue
useQuery::extract
instead
version 0.2.1
version 0.2.0
Added
Query::parsed
returns an array similar toparse_str
result with a second options with unmangled key.Query::getParsedValue
returns single value from the parse and unmangled PHP variables.Host::createFromIp
a name constructor to create a host from a IPHost::getIp
returns the IP part from the host if present otherwise returnsnull
Fixed
Host::__construct
no longers takes a IPv6 without delimiter as a valid argument.
Deprecated
- None
Removed
- None
version 0.1.0
Added
- None
Fixed
League\Uri\QueryParser
is now a traitLeague\Uri\Components\Traits\QueryParser
used byLeague\Uri\Components\Query
League\Uri\Components\UserInfo
now only accepts string and null as constructor parameters.
Deprecated
- None
Removed
League\Uri\Components\User
League\Uri\Components\Pass
League\Uri\QueryParser