Skip to content

version 7.5.0

Latest
Compare
Choose a tag to compare
@nyamsprod nyamsprod released this 08 Dec 08:32
· 14 commits to master since this release

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 accepts Stringable object as valid input
  • Uri\IPv4\Converter::toDecimal also handles 6to4 and IPv4 mapped address algorithm.
  • Uri\QueryString::extract and QueryString::convert stop parsing too early issue #146

Deprecated

  • UriInterface::getComponents use UriInterface::toComponents

Removed

  • None