Releases: thephpleague/uri-src
Releases · thephpleague/uri-src
version 7.5.1
Full Changelog: 7.5.0...7.5.1
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.Uri::getUsername
returns the encoded user component of the URI.Uri::getPassword
returns the encoded password component of the URI.BaseUri::isOpaque
tells whether a URI is opaque.UrlSearchParams::uniqueKeyCount
Modifier::getIdnUriString
Modifier::hostToIpv6Compressed
Modifier::hostToIpv6Expanded
Scheme::isHttp
Scheme::isWebsocket
Scheme::isSsl
Scheme::isSpecial
- 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- Improve PSR-7
Http
class implementation. BaseUri::from
will compress the IPv6 host to its compressed form if possible.- Remove Usage of PSR-7
UriInterface
inUrlSearchParams
class - Normalizes
fromUri
to return the same value for the component if the URI object has the same string representation.
Deprecated
UriInterface::getComponents
useUriInterface::toComponents
- Usage of PSR-7
UriFactoryInterface
is deprecated inBaseUri
class - Usage of PSR-7
UriFactoryInterface
is deprecated inModifier
class
Removed
- None
7.4.1
version 7.4.0
What's Changed
- Adding BaseUri::unixPath and BaseUri::windowsPath by @nyamsprod in #125
- Adding Uri::fromData named constructor by @nyamsprod in #127
- Bugfix/query parameters constructors encoding values by @nyamsprod in #122
- Fix typo in exception message about invalid path parameters by @JoshuaBehrens in #128
- Add support for RFC8089 by @nyamsprod in #131
New Contributors
- @JoshuaBehrens made their first contribution in #128
Full Changelog: 7.3.0...7.4.0
version 7.3.0
What's Changed
- Adding a PHP implementation of URLSearchParams by @nyamsprod in #118
- Fix broken code that assumes array keys are strings by @GrahamCampbell in #120
- Fixed grammar errors by @GrahamCampbell in #121
New Contributors
- @GrahamCampbell made their first contribution in #120
Full Changelog:
7.2.1...7.3.0
version 7.2.1
Fix composer.json
Full Changelog: 7.2.0...7.2.1
version 7.2.0
- Introduce more Modifier methods
- Improve Converters
- Add
BaseUri::hasIdn
Full Changelog: 7.1.0...7.2.0
version 7.1.0
version 7.0.0
the new major release for all league uri related packages
Full Changelog: 7.0.0-beta.2...7.0.0
version 7.0.0-beta.2
Full Changelog: 7.0.0-beta.1...7.0.0-beta.2