scroll_id
inside the request body
#1134ingest.geoip.downloader.enabled=false
setting for ES
5867351Added port in url for trace and logger messages #1126
(DOCS) Added the HTTP meta data section #1143
Added support for API Compatibility Header #1142
(DOCS) Added Helpers section to PHP book #1129
Added the API description in phpdoc section for each endpoint 9e05c81
Usage of PHPUnit 9 only + migrated xml configurations 038b5dd
Updated the endpoints for ES 7.12 + removed cpliakas/git-wrapper in favor of symplify/git-wrapper 136d5b9
Fixed warning header as array in YAML tests generator 0d81be1
Refactored TEST_SUITE with free, platinum + removed old YamlRunnerTest f69d96f
X-Elastic-Client-Meta
header which is used by Elastic Cloud
and can be disabled with ClientBuilder::setElasticMetaHeader(false)
#1089array_walk
with array_map
in Connection::getURI
for PHP 8
compatibility
#1075InvalidArgumentExceptions
#1069.gitignore
#1062scroll_id
into body
for search operations in the documentation
#1052json_last_error_msg()
#1045util/GenerateEndpoints.php
#1026guzzlehttp/ringphp
and guzzle/streams
using forks ezimuel/ringphp
and ezimuel/guzzlestreams
92a6a4aClientBuilder::includePortInHostHeader()
to add the
port
in the Host
header. This fixes #993.
By default the port
is not included in the Host
header.
#997Client::extractArgument
iterable casting to array;
this allows passing a Traversable
body for some endpoints
(e.g. Bulk, Msearch, MsearchTemplate)
#983reason
field is null
#980@
for the deprecation messages @trigger_error()
.
With this approach we don't break existing application that convert PHP errors in Exception
(e.g. using Laravel with issue https://github.com/babenkoivan/scout-elasticsearch-driver/issues/297)
Using the @
operator is still possible to intercept the deprecation message using
a custom error handler.
#973util/GenerateEndpoints.php
.
#966experimental
and beta
APIs are now signed with
a @note
tag in the phpdoc section (e.g. $client->rankEval()). For more information read the experimental and beta APIs
section in the documentation.
#966AlreadyExpiredException
since it has been removed
from Elasticsearch with https://github.com/elastic/elasticsearch/pull/24857
#954X-Opaque-Id
header
#952Elasticsearch\Namespaces\IndicesNamespace::getAliases()
.
This fixes the BC break introduced in 7.2.0 and 7.2.1.
#947Elasticsearch\Namespaces\IndicesNamespace::getAliases()
as proxy
to IndicesNamespace::getAlias()
to prevent BC breaks. The getAliases()
is
marked as deprecated and it will be removed from elasticsearch-php 8.0
#943wait_for_active_shards
parameter to indices.close
API;expand_wildcards
parameter to cluster.health
API;,
expand_wildcards,
forbid_closed_indices
parameters to
indices.stats` API.
[27d721b]php_uname()
usage checking if it is disabled
#927ClientBuilder::setSSLVerification()
to accept string or boolean
#917setBody
in Elasticsearch\Endpoints\Ingest\Pipeline\Put
#913Warning
header
#911YamlRunnerTest.php
#844NoNodesAvailableException
to extend ServerErrorResponseException
instead of the generic \Exception
#607YamlRunnerTest::clean
#911User-Agent
in each HTTP request #898logRequestFail($request, $response, $exception)
and logRequestSuccess($request, $response)
in Elasticsearch\Connections\Connection
#876json_encode
for unicode(emoji) characters 856track_total_hits
in search
endpoint 0c9ff47{type}
part in indices.put_mapping
, see new API specification hereseq_no_primary_term
parameter in bulk
endpoint #884include_type_name
, if_primary_term
, if_seq_no
in delete
endpoint #884include_type_name
in get
, index
, indices.create
, indices.field.get
, indices.get
, indices.mapping.get
, indices.mapping.getfield
, indices.mapping.put
, indices.rollover
, indices.template.get
, indices.template.put
endpoints #884seq_no_primary_term
in search
endpoint #884if_primary_term', 'if_seq_no
in update
endpoint #884_suggest
endpoint, which has disappeared from ES6 #763SearchHitIterator
key duplicates #872lang
from endpoint url #814SearchResponseIterator
is scrolling the first page twice #871, issue #595parse_url()
for Extended Host Configuration #778community.asciidoc
, added ElasticSearchQueryDSL
project #749IndicesNamespace
#6516.0.1
instead of 6.1.0
bad_request
in yaml runner [ad86f91]max_compilations_per_minute
is now max_compilations_rate
[ebdba06]Woo!