Skip to content

Releases: thephpleague/uri-components

version 1.8.2

24 Oct 11:35
Compare
Choose a tag to compare

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

version 1.8.1

06 Jul 06:42
Compare
Choose a tag to compare

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

version 1.8.0

14 Mar 15:49
Compare
Choose a tag to compare

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

version 1.7.1

16 Feb 07:44
Compare
Choose a tag to compare

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

version 1.7.0

31 Jan 12:40
Compare
Choose a tag to compare

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

version 1.6.0

05 Dec 11:54
Compare
Choose a tag to compare

Added

  • Host::withPublicSuffix to complete domain name manipulation methods

Fixed

  • registered name infos loading

Deprecated

  • None

Remove

  • None

version 1.5.0

01 Dec 11:50
1b2e4ed
Compare
Choose a tag to compare

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

version 1.4.1

24 Nov 07:55
Compare
Choose a tag to compare

Added

  • None

Fixed

  • URI Hostname parser local cache update

Deprecated

  • None

Remove

  • None

version 1.4.0

22 Nov 12:03
Compare
Choose a tag to compare

Added

Fixed

  • Issue #109 Dependencie on a unstable package

Deprecated

  • None

Remove

version 1.3.0

17 Nov 09:07
Compare
Choose a tag to compare

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