Releases: thephpleague/uri-components
Releases · thephpleague/uri-components
version 7.0.0-beta.2
"Tag: 7.0.0-beta.2"
version 7.0.0-beta.1
Pre-release
version 2.4.1
Added
- None
Fixed
- conversion query component for non ASCII characters see #202
Deprecated
- None
Remove
- None
version 2.4.0
Added
Component::toString
IDNA
conversion in now normalize using theUri-Interface
package classes
Fixed
- conversion host component from ASCII to unicode no longer throw
Deprecated
- None
Remove
- None
version 2.3.0
Added
Authority::createFromNull
Authority::createFromString
Authority::createFromComponents
DataPath::createFromFilePath
DataPath::createFromString
Domain::createFromString
Domain::createFromHost
HierarchicalPath::createFromPath
HierarchicalPath::createFromString
Path::createFromString
- Support for
PHP8.0
Fixed
- Fix RFC1738 encoding in
QueryString::build
- Improve
UriModifier
using the newly added named constructors.
Deprecated
Authority::__construct
replaced byAuthority
named constructorsDataPath::createFromPath
replaced byDataPath::createFromFilePath
Domain::__construct
replaced byDomain
named constructorsHierarchicalPath::__construct
replaced byHierarchicalPath
named constructors
Remove
- Support for
PHP7.2
version 2.2.1
Added
- None
Fixed
- back port improvement made to
DataUri
by #154 thanks to Nicolas Grekas
Deprecated
- None
Remove
- None
version 2.2.0
Added
- None
Fixed
Deprecated
- None
Remove
- Hard dependencies on the
ext-fileinfo
PHP extensions see #154 thanks Nicolas Grekas
version 2.1.0
Added
League\Uri\UriModifier::removeEmptyPairs
- to remove empty pairs from the URL object.
Fixed
- Improve UserInfo decoding issue #28
- Improve processing URI object with
League\Uri\UriModifier
with a better distinction between empty and undefined URI component.
Deprecated
- None
Remove
- None
version 2.0.1
Added
- None
Fixed
- Improved Domain name detection according to RFC1132 see issue #27
- Normalized exception message formatting.
Deprecated
- None
Remove
- None
version 2.0.0
Added
League\Uri\IPv4HostNormalizer
to ease IPV4 host string normalization.League\Uri\UriModifier
to ease manipulatingLeague\Uri\UriInterface
andPsr\Http\Message\UriInterface
implementing objects.League\Uri\QueryString
to parse, extract and build query string and parameters- All components classes implement the
League\Uri\Contracts\ComponentInterface
- All components classes expose the
createFromUri
named constructor to instantiate a component object from a URI object League\Uri\Components\Authority
to represent the URI authority componentLeague\Uri\Components\Fragment::decoded
to return the safely decoded fragment contentLeague\Uri\Components\UserInfo::decoded
to return the safely decoded user info contentLeague\Uri\Components\Port::toInt
to return the int representation of the Port or nullLeague\Uri\Components\Domain
to better process domain hostLeague\Uri\Components\HierarchicalPath::createAbsoluteFromSegments
League\Uri\Components\HierarchicalPath::createRelativeFromSegments
League\Uri\Components\HierarchicalPath::segments
to return the component segmentsLeague\Uri\Components\HierarchicalPath::get
to return a specific segmentLeague\Uri\Components\Query
follows more closely the URLSearchParams specifications from the WHATWG groupLeague\Uri\Components\Query::createFromRFC3986
to return a new object from a RFC3986 query stringLeague\Uri\Components\Query::createFromRFC1738
to return a new object from a RFC1738 query stringLeague\Uri\Components\Query::toRFC3986
to return a RFC3986 query stringLeague\Uri\Components\Query::toRFC1738
to return a RFC1738 query string
Fixed
- Components classes are made
final
getContent
no-longer takes any parameterHost
objects throwsLeague\Uri\Exception\IdnSupportMissing
on mis-configured or absent Intl extension presence.UserInfo::__construct
expects two arguments the user and the pass instead of one.Query::__construct
is now private- Query parsing/building is fixed so that a round between parsing and building returns the original input.
Deprecated
- None
Remove
- support for
PHP7.0
- support for
PHP7.1
- support for Public Suffix List resolution
isEmpty
andisNull
methods are removedLeague\Uri\parse_query
League\Uri\build_query
League\Uri\extract_query
League\Uri\pairs_to_params
League\Uri\QueryBuilder
League\Uri\QueryParser
League\Uri\Components\ComponentInterface
League\Uri\Components\HierarchicalPath::createFromSegments
League\Uri\Components\HierarchicalPath::getSegments
League\Uri\Components\HierarchicalPath::getSegment
League\Uri\Components\HierarchicalPath::IS_ABSOLUTE
League\Uri\Components\HierarchicalPath::IS_RELATIVE
- The following methods are transferred to the new
League\Uri\Components\Domain
class League\Uri\Components\Host::isAbsolute
League\Uri\Components\Host::getLabels
League\Uri\Components\Host::getLabel
League\Uri\Components\Host::keys
League\Uri\Components\Host::count
League\Uri\Components\Host::getIterator
League\Uri\Components\Host::append
League\Uri\Components\Host::prepend
League\Uri\Components\Host::replaceLabel
League\Uri\Components\Host::withoutLabels
League\Uri\Components\Host::withRootLabel
League\Uri\Components\Host::withoutRootLabel
League\Uri\Components\Query::ksort
League\Uri\Components\Query::getParams
League\Uri\Components\Query::getParam
League\Uri\Components\Query::getPairs
League\Uri\Components\Query::getPair
League\Uri\Components\Query::hasPair