Skip to content

@nyamsprod nyamsprod released this Feb 9, 2020 · 21 commits to master since this release

Added

  • None

Fixed

Deprecated

  • None

Remove

  • None
Assets 2

@nyamsprod nyamsprod released this Feb 8, 2020 · 22 commits to master since this release

Added

  • None

Fixed

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

Deprecated

  • None

Remove

Assets 2

@nyamsprod nyamsprod released this Dec 19, 2019 · 30 commits to master since this release

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
Assets 2

@nyamsprod nyamsprod released this Nov 5, 2019 · 45 commits to master since this release

Added

  • None

Fixed

  • Improved Domain name detection according to RFC1132 see issue #27
  • Normalized exception message formatting.

Deprecated

  • None

Remove

  • None
Assets 2

@nyamsprod nyamsprod released this Oct 18, 2019 · 62 commits to master since this release

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
Assets 2

@nyamsprod nyamsprod released this Oct 24, 2018 · 225 commits to master since this release

1.8.2 - 2018-10-24

Added

  • None

Fixed

  • Issues #22 bug with path encoding and path validation before path modification see issue #4

Deprecated

  • None

Remove

  • None
Assets 2

@nyamsprod nyamsprod released this Jul 6, 2018 · 228 commits to master since this release

Added

  • None

Fixed

  • Issue #21 namespace collision with League\Uri\Components\Exception usage in League\Uri\QueryParser and League\Uri\QueryBuilder

Deprecated

  • None

Remove

  • None
Assets 2

@nyamsprod nyamsprod released this Mar 14, 2018 · 230 commits to master since this release

Added

  • IPvFuture support

Fixed

  • Using PHPStan
  • Using the new scrutinizr engine for PHP
  • Bug fix Port class to conform to RFC3986 now allow any port number greater or equals to 0.
  • Improve Host parsing

Deprecated

  • None

Remove

  • mbstring extension requirement
Assets 2

@nyamsprod nyamsprod released this Feb 16, 2018 · 244 commits to master since this release

Added

  • None

Fixed

  • The Host resolver and its usage is lazyloaded so that Host only requires and used them if needed
  • Bug fix issue with:
    • Host::withPublicSuffix
    • Host::withRegistrableDomain
    • Host::withSubDomain
      methods that were leaving the current Host object corrupted in some cases.

Deprecated

  • None

Remove

  • None
Assets 2

@nyamsprod nyamsprod released this Jan 31, 2018 · 249 commits to master since this release

Added

  • Adding the possibility to use your own domain resolver object.
    • Host::__construct can take an optional Rules object as the domain resolver
    • Host::createFromIp can take an optional Rules object as the domain resolver
    • Host::createFromLabels can take an optional Rules object as the domain resolver
    • Host::withDomainResolver to enable switching to current domain resolver object

Fixed

  • The domain resolver as a Rules object is now injecting into the Host domain so that its data can be cached independently of the filecache. If not domain resolver is provided the Host will fallback to using the filecache with the data being kept for 7 days in a vendor subdirectory.

  • Decoupled the QueryBuilder and the QueryParser from ComponentTrait

Deprecated

  • None

Remove

  • None
Assets 2
You can’t perform that action at this time.