Releases: thephpleague/uri-components
Releases · thephpleague/uri-components
version 1.8.2
version 1.8.1
Added
- None
Fixed
- Issue #21 namespace collision with
League\Uri\Components\Exception
usage inLeague\Uri\QueryParser
andLeague\Uri\QueryBuilder
Deprecated
- None
Remove
- None
version 1.8.0
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
Added
- None
Fixed
- The
Host
resolver and its usage is lazyloaded so thatHost
only requires and used them if needed - Bug fix issue with:
Host::withPublicSuffix
Host::withRegistrableDomain
Host::withSubDomain
methods that were leaving the currentHost
object corrupted in some cases.
Deprecated
- None
Remove
- None
version 1.7.0
Added
- Adding the possibility to use your own domain resolver object.
Host::__construct
can take an optionalRules
object as the domain resolverHost::createFromIp
can take an optionalRules
object as the domain resolverHost::createFromLabels
can take an optionalRules
object as the domain resolverHost::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 theQueryParser
fromComponentTrait
Deprecated
- None
Remove
- None
version 1.6.0
Added
Host::withPublicSuffix
to complete domain name manipulation methods
Fixed
- registered name infos loading
Deprecated
- None
Remove
- None
version 1.5.0
Added
Uri\QueryParser
class to parse any string into key/pair value or extract PHP valuesUri\QueryBuilder
class to build a valid query string from a collection of Key/pair valuesUri\pairs_to_params
alias forQueryParser::convert
Fixed
- URI Host parsing to respect RFC3986
- improve internal code
Deprecated
Query::parse
replaced byQueryParser::parse
Query::extract
replaced byQueryParser::extract
Query::build
replaced byQueryBuilder::build
Host::getRegisterableDomain
replaced byHost::getRegistrableDomain
Host::withRegisterableDomain
replaced byHost::withRegistrableDomain
Remove
- internal traits
QueryParserTrait
,HostInfoTrait
version 1.4.1
Added
- None
Fixed
- URI Hostname parser local cache update
Deprecated
- None
Remove
- None
version 1.4.0
Added
- Dependencies to League URI Hostname parser
Fixed
- Issue #109 Dependencie on a unstable package
Deprecated
- None
Remove
- Dependencies to PHP Domaine parser
version 1.3.0
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 complementQuery::withoutPairs
method.Query::createFromParams
to complementQuery::createFromPairs
named constructor.Query::withoutNumericIndices
to normalized the query string by removing extra numeric indices added by the use ofhttp_build_query
.Query::withoutEmptyPairs
to normalized the query string #7 and #8
Fixed
Query::merge
andQuery::append
normalized the query string to remove empty pairs see #7 and #8Query::build
andUri\build
now accept any iterable structure.
Deprecated
- None
Remove
- None