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

Assets 2

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

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

Assets 2

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

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

Assets 2

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

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

Assets 2

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

@nyamsprod nyamsprod released this Dec 5, 2017 · 28 commits to master since this release

Assets 2

Added

  • Host::withPublicSuffix to complete domain name manipulation methods

Fixed

  • registered name infos loading

Deprecated

  • None

Remove

  • None

@nyamsprod nyamsprod released this Dec 1, 2017 · 30 commits to master since this release

Assets 2

Added

  • Uri\QueryParser class to parse any string into key/pair value or extract PHP values
  • Uri\QueryBuilder class to build a valid query string from a collection of Key/pair values
  • Uri\pairs_to_params alias for QueryParser::convert

Fixed

  • URI Host parsing to respect RFC3986
  • improve internal code

Deprecated

  • Query::parse replaced by QueryParser::parse
  • Query::extract replaced by QueryParser::extract
  • Query::build replaced by QueryBuilder::build
  • Host::getRegisterableDomain replaced by Host::getRegistrableDomain
  • Host::withRegisterableDomain replaced by Host::withRegistrableDomain

Remove

  • internal traits QueryParserTrait, HostInfoTrait

@nyamsprod nyamsprod released this Nov 24, 2017 · 32 commits to master since this release

Assets 2

Added

  • None

Fixed

  • URI Hostname parser local cache update

Deprecated

  • None

Remove

  • None

@nyamsprod nyamsprod released this Nov 22, 2017 · 34 commits to master since this release

Assets 2

Added

Fixed

  • Issue #109 Dependencie on a unstable package

Deprecated

  • None

Remove

@nyamsprod nyamsprod released this Nov 17, 2017 · 36 commits to master since this release

Assets 2

Added

  • Query::getSeparator, Query::withSeparator to allow modifying query string separator.
  • Query::__construct takes a second argument, the query separator which default to &.
  • Query::__debugInfo nows adds query separator informations.
  • Query::withoutParams to complement Query::withoutPairs method.
  • Query::createFromParams to complement Query::createFromPairs named constructor.
  • Query::withoutNumericIndices to normalized the query string by removing extra numeric indices added by the use of http_build_query.
  • Query::withoutEmptyPairs to normalized the query string #7 and #8

Fixed

  • Query::merge and Query::append normalized the query string to remove empty pairs see #7 and #8
  • Query::build and Uri\build now accept any iterable structure.

Deprecated

  • None

Remove

  • None

@nyamsprod nyamsprod released this Nov 6, 2017 · 45 commits to master since this release

Assets 2

Added

  • League\Uri\build_query as an alias of Query::build

Fixed

  • function docblocks

Deprecated

  • None

Remove

  • None