Skip to content

Releases: thephpleague/uri-components

version 7.0.0-beta.2

26 Jun 18:35
Compare
Choose a tag to compare
version 7.0.0-beta.2 Pre-release
Pre-release
"Tag: 7.0.0-beta.2"

version 7.0.0-beta.1

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

Pre-release

version 2.4.1

26 May 05:52
Compare
Choose a tag to compare

Added

  • None

Fixed

  • conversion query component for non ASCII characters see #202

Deprecated

  • None

Remove

  • None

version 2.4.0

02 Aug 20:33
Compare
Choose a tag to compare

Added

  • Component::toString
  • IDNA conversion in now normalize using the Uri-Interface package classes

Fixed

  • conversion host component from ASCII to unicode no longer throw

Deprecated

  • None

Remove

  • None

version 2.3.0

26 Jan 19:40
Compare
Choose a tag to compare

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 by Authority named constructors
  • DataPath::createFromPath replaced by DataPath::createFromFilePath
  • Domain::__construct replaced by Domain named constructors
  • HierarchicalPath::__construct replaced by HierarchicalPath named constructors

Remove

  • Support for PHP7.2

version 2.2.1

09 Feb 19:50
Compare
Choose a tag to compare

Added

  • None

Fixed

Deprecated

  • None

Remove

  • None

version 2.2.0

08 Feb 16:30
Compare
Choose a tag to compare

Added

  • None

Fixed

  • back port improvement made to idn_to_ascii usage see #150 thanks to ntzm

Deprecated

  • None

Remove

version 2.1.0

19 Dec 20:25
Compare
Choose a tag to compare

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

05 Nov 07:14
Compare
Choose a tag to compare

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

18 Oct 06:22
Compare
Choose a tag to compare

Added

  • League\Uri\IPv4HostNormalizer to ease IPV4 host string normalization.
  • League\Uri\UriModifier to ease manipulating League\Uri\UriInterface and Psr\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 component
  • League\Uri\Components\Fragment::decoded to return the safely decoded fragment content
  • League\Uri\Components\UserInfo::decoded to return the safely decoded user info content
  • League\Uri\Components\Port::toInt to return the int representation of the Port or null
  • League\Uri\Components\Domain to better process domain host
  • League\Uri\Components\HierarchicalPath::createAbsoluteFromSegments
  • League\Uri\Components\HierarchicalPath::createRelativeFromSegments
  • League\Uri\Components\HierarchicalPath::segments to return the component segments
  • League\Uri\Components\HierarchicalPath::get to return a specific segment
  • League\Uri\Components\Query follows more closely the URLSearchParams specifications from the WHATWG group
  • League\Uri\Components\Query::createFromRFC3986 to return a new object from a RFC3986 query string
  • League\Uri\Components\Query::createFromRFC1738 to return a new object from a RFC1738 query string
  • League\Uri\Components\Query::toRFC3986 to return a RFC3986 query string
  • League\Uri\Components\Query::toRFC1738 to return a RFC1738 query string

Fixed

  • Components classes are made final
  • getContent no-longer takes any parameter
  • Host objects throws League\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 and isNull methods are removed
  • League\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