Releases: thephpleague/uri-interfaces
Releases · thephpleague/uri-interfaces
version 7.5.0
Added
UriInterface::toComponents
returns an associative array containing all URI components values.UriInterface::getUsername
returns the encoded user component of the URI.UriInterface::getPassword
returns the encoded scheme-specific information about how to gain authorization to access the resource.Uri\IPv6\Converter
allows expanding and compressing IPv6.Uri\IPv4\Converter::toIPv6Using6to4
allows converting an IPv4 into an IPv6 host using the 6to4 notation.Uri\IPv4\Converter::toIPv6UsingMapping
allows mapping an IPv4 address into an IPv6 one.- Using PHP8.4
Deprecated
attribute to signal deprecated public API methods and constants.
Fixed
- Adding Host resolution caching to speed up URI parsing in
UriString
Uri\UriString::parseAuthority
acceptsStringable
object as valid inputUri\IPv4\Converter::toDecimal
also handles 6to4 and IPv4 mapped address algorithm.Uri\QueryString::extract
andQueryString::convert
stop parsing too early issue #146
Deprecated
UriInterface::getComponents
useUriInterface::toComponents
Removed
- None
7.4.1
version 7.3.0
Added
League\Uri\Contracts\QueryInterface::withoutPairByKey
League\Uri\Contracts\QueryInterface::withoutPairByValue
League\Uri\Contracts\QueryInterface::withoutPairByKeyValue
League\Uri\Contracts\QueryInterface::toFormData
League\Uri\Contracts\QueryInterface::withoutPairByKeyValue
League\Uri\KeyValuePair\Converter::fromFormData
League\Uri\KeyValuePair\Converter::separator
methodLeague\Uri\KeyValuePair\Converter::encondingMap
method
Fixed
League\Uri\KeyValuePair\Converter
fix encoding when the value is a float or the booleanfalse
- Exception message typo fix #121 by GrahamCampbell
Deprecated
Contracts\QueryInterface\QueryInterface::withoutPair
useContracts\QueryInterface\QueryInterface::withoutPairByKey
instead.
Removed
- None
version 7.2.0
Added
League\Uri\Idna\Converter::isIdn
League\Uri\Ipv4\Converter::isIpv4
Fixed
- Add support for
Stringable
host object inLeague\Uri\Idna\Converter
feature. - Add support for
Stringable
host object inLeague\Uri\Exceptions\ConversionFailed
feature.
Deprecated
- None
Removed
- None
version 7.1.0
Added
League\Uri\Encoder
to normalize encoding URI and URI components.League\Uri\KeyValuePair\Converter
to parse and build key/value pair string.
Fixed
- Rewrite
QueryString
classes and fix query encoding for basic RFC3986. #109
Deprecated
- None
Removed
- None
Full Changelog: 7.0.0...7.1.0
version 7.0.0
Added
- New method to
UriComponentInterface::value
- New method to
UriComponentInterface::toString
- New method to
UserInfoInterface::withUser
- New method to
UserInfoInterface::withPass
- New method to
UriInterface::toString
- New method to
UriInterface::toComponents
League\Uri\IPv4
toolsLeague\Uri\Idna
toolsLeague\Uri\UriString
parserLeague\Uri\QueryString
parser
Fixed
- None
Deprecated
- None
Removed
- Support for PHP7
- Support for
__set_state
UriComponentInterface::getContent
is removed in favor ofUriComponentInterface::value
UriComponentInterface::withContent
is removed with no replacement use other means to change the value of the component.UserInfoInterface::withUserInfo
is removed in favor ofUserInfoInterface::withUser
andUserInfoInterface::withPass
.HostInfoInterface::labels
is removed with no replacement use theIteratorAggregate::getIterator
method instead.SegmentedPathInterface::segments
is removed with no replacement use theIteratorAggregate::getIterator
method instead.League\Uri\Idna\Idna
useLeague\Uri\Idna\Converter
insteadLeague\Uri\Idna\IdnaInfo
useLeague\Uri\Idna\Result
insteadLeague\Uri\Exception\IdnSupportMissing
useLeague\Uri\Exception\MissingFeature
instead
Full Changelog: 1.1.1...7.0.0
version 7.0.0-beta.1
pre-release for the next major version
7.0.0-beta.2
pre-release
version 2.3.0
Added
- IDNA processing classes
Fixed
- None
Deprecated
- None
Removed
- Support for PHP7.1