Skip to content

Releases: thephpleague/uri-interfaces

version 7.5.0

08 Dec 08:32
Compare
Choose a tag to compare

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

7.4.1

23 Mar 07:48
Compare
Choose a tag to compare

Added

  • None

Fixed

  • Fix package to avoid PHP8.4 deprecation warnings

Deprecated

  • None

Removed

  • None

version 7.3.0

09 Sep 19:59
Compare
Choose a tag to compare

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 method
  • League\Uri\KeyValuePair\Converter::encondingMap method

Fixed

  • League\Uri\KeyValuePair\Converter fix encoding when the value is a float or the boolean false
  • Exception message typo fix #121 by GrahamCampbell

Deprecated

  • Contracts\QueryInterface\QueryInterface::withoutPair use Contracts\QueryInterface\QueryInterface::withoutPairByKey instead.

Removed

  • None

version 7.2.0

30 Aug 21:04
Compare
Choose a tag to compare

Added

  • League\Uri\Idna\Converter::isIdn
  • League\Uri\Ipv4\Converter::isIpv4

Fixed

  • Add support for Stringable host object in League\Uri\Idna\Converter feature.
  • Add support for Stringable host object in League\Uri\Exceptions\ConversionFailed feature.

Deprecated

  • None

Removed

  • None

version 7.1.0

21 Aug 20:36
Compare
Choose a tag to compare

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

10 Aug 14:46
Compare
Choose a tag to compare

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 tools
  • League\Uri\Idna tools
  • League\Uri\UriString parser
  • League\Uri\QueryString parser

Fixed

  • None

Deprecated

  • None

Removed

  • Support for PHP7
  • Support for __set_state
  • UriComponentInterface::getContent is removed in favor of UriComponentInterface::value
  • UriComponentInterface::withContent is removed with no replacement use other means to change the value of the component.
  • UserInfoInterface::withUserInfo is removed in favor of UserInfoInterface::withUser and UserInfoInterface::withPass.
  • HostInfoInterface::labels is removed with no replacement use the IteratorAggregate::getIterator method instead.
  • SegmentedPathInterface::segments is removed with no replacement use the IteratorAggregate::getIterator method instead.
  • League\Uri\Idna\Idna use League\Uri\Idna\Converter instead
  • League\Uri\Idna\IdnaInfo use League\Uri\Idna\Result instead
  • League\Uri\Exception\IdnSupportMissing use League\Uri\Exception\MissingFeature instead

Full Changelog: 1.1.1...7.0.0

version 7.0.0-beta.1

26 Jun 18:10
Compare
Choose a tag to compare
version 7.0.0-beta.1 Pre-release
Pre-release

pre-release for the next major version

7.0.0-beta.2

26 Jun 18:34
Compare
Choose a tag to compare
7.0.0-beta.2 Pre-release
Pre-release

pre-release

version 2.3.0

28 Jun 04:28
Compare
Choose a tag to compare

Added

  • IDNA processing classes

Fixed

  • None

Deprecated

  • None

Removed

  • Support for PHP7.1

version 2.2.0

31 Oct 13:48
Compare
Choose a tag to compare

Added

Fixed

  • None

Deprecated

  • None

Removed

  • None