This repository has been archived by the owner on Mar 21, 2022. It is now read-only.
Update dependency elasticsearch/elasticsearch to v7 #116
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
~6.0
->~7.0
Release Notes
elastic/elasticsearch-php
v7.13.1
Compare Source
This is a patch release that includes PR #1126. It was scheduled for
7.13.0
but not included in the release.v7.13.0
Compare Source
This release is compatible with the latest Elasticsearch 7.13.0 released in 25th May 2021.
It includes the following fixes and improvements:
Added the following new APIs 🎉 (4 stable, 7 experimental, and 5 beta):
Stable
Experimental
Beta
API changes
v7.12.0
Compare Source
in favor of symplify/git-wrapper
136d5b9
0d81be1
f69d96f
v7.11.0
Compare Source
X-Elastic-Client-Meta
header which is used by Elastic Cloudand can be disabled with
ClientBuilder::setElasticMetaHeader(false)
#1089
array_walk
witharray_map
inConnection::getURI
for PHP 8compatibility
#1075
InvalidArgumentExceptions
#1069
#1063
.gitignore
#1062
v7.10.0
Compare Source
3ceb748
parameters (e.g. setApiKey)
#1076
85fadc2
v7.9.1
Compare Source
#1066
#1065
#1056
v7.9.0
Compare Source
28bf0ed
scroll_id
intobody
for search operations in the documentation#1052
#1051
json_last_error_msg()
#1045
v7.8.0
Compare Source
f2a0828
#1038
#1027
#1025
v7.7.0
Compare Source
util/GenerateEndpoints.php
#1026
#1022
#1016
88b7e1c
763d91a
v7.6.1
Compare Source
guzzlehttp/ringphp
andguzzle/streams
using forks
ezimuel/ringphp
andezimuel/guzzlestreams
92a6a4a
v7.6.0
Compare Source
be31f31
v7.5.2
Compare Source
This release fixes an issue with
guzzlehttp/ringphp
andguzzle/streams
dependencies. It uses a fork of these libraries in ezimuel/ringphp and ezimuel/guzzlestreams repositories.See 92a6a4a commit.
v7.5.1
Compare Source
75e0888
ClientBuilder::includePortInHostHeader()
to add theport
in theHost
header. This fixes #993.By default the
port
is not included in theHost
header.#997
#996
#986
v7.5.0
Compare Source
Client::extractArgument
iterable casting to array;this allows passing a
Traversable
body for some endpoints(e.g. Bulk, Msearch, MsearchTemplate)
#983
reason
field is null#980
#976
v7.4.2
Compare Source
This release fixes elastic/elasticsearch-php#1048 and #1017 issues with indexing failure for item IDs that contain slashes.
v7.4.1
Compare Source
@
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 usinga custom error handler.
#973
#970
This PR solved the unexpected BC break introduce in 7.4.0 with the code
generation tool
#968
v7.4.0
Compare Source
the REST API specification
of Elasticsearch. This tool is available in
util/GenerateEndpoints.php
.#966
using Sami project
#966
experimental
andbeta
APIs are now signed witha
@note
tag in the phpdoc section (e.g. $client->rankEval()). For more information read the experimental and beta APIssection in the documentation.
#966
AlreadyExpiredException
since it has been removedfrom Elasticsearch with Remove AlreadyExpiredException elastic/elasticsearch#24857
#954
v7.3.0
Compare Source
X-Opaque-Id
header#952
#950
#949
#948
v7.2.2
Compare Source
Elasticsearch\Namespaces\IndicesNamespace::getAliases()
.This fixes the BC break introduced in 7.2.0 and 7.2.1.
#947
v7.2.1
Compare Source
Elasticsearch\Namespaces\IndicesNamespace::getAliases()
as proxyto
IndicesNamespace::getAlias()
to prevent BC breaks. ThegetAliases()
ismarked as deprecated and it will be removed from
elasticsearch-php 8.0
#943
Docs
#938
v7.2.0
Compare Source
wait_for_active_shards
parameter toindices.close
API;expand_wildcards
parameter tocluster.health
API;,
expand_wildcards,
forbid_closed_indicesparameters to
indices.stats` API.[27d721b]
[27d721b]
#929
php_uname()
usage checking if it is disabled#927
#923
Release 7.1.1
ClientBuilder::setSSLVerification()
to accept string or boolean#917
setBody
inElasticsearch\Endpoints\Ingest\Pipeline\Put
#913
Release 7.1.0
Warning
header#911
YamlRunnerTest.php
#844
NoNodesAvailableException
to extendServerErrorResponseException
instead of the generic
\Exception
#607
#907
Testing
YamlRunnerTest::clean
#911
#911
Docs
#904
Release 7.0.2
#905
Release 7.0.1
#899
Release 7.0.0
#897
#897
#897
User-Agent
in each HTTP request #898logRequestFail($request, $response, $exception)
and
logRequestSuccess($request, $response)
inElasticsearch\Connections\Connection
#876
json_encode
for unicode(emoji) characters 856Release 6.7.1
track_total_hits
insearch
endpoint 0c9ff47Release 6.7.0
{type}
part inindices.put_mapping
, see new API specification hereseq_no_primary_term
parameter inbulk
endpoint #884include_type_name
,if_primary_term
,if_seq_no
indelete
endpoint #884include_type_name
inget
,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
insearch
endpoint #884if_primary_term', 'if_seq_no
inupdate
endpoint #884Testing
Docs
Release 6.5.0
_suggest
endpoint, which has disappeared from ES6 #763SearchHitIterator
key duplicates #872lang
from endpoint url #814SearchResponseIterator
is scrolling the first page twice #871, issue #595Docs
parse_url()
for Extended Host Configuration #778community.asciidoc
, addedElasticSearchQueryDSL
project #749IndicesNamespace
#651Testing
Release 6.1.0
Docs
Testing
Release 6.0.1
Note: I'm considering PutTemplate removal a bugfix, since the API doesn't exist in ES Core anymore. Using the endpoint throws an error,
so the removal is just fixing an existing bug, hence
6.0.1
instead of6.1.0
Docs
Release 6.0.0
Docs
Testing
bad_request
in yaml runner [ad86f91]max_compilations_per_minute
is nowmax_compilations_rate
[ebdba06]Release 6.0.0-beta1
Woo!
Docs
Testing
v7.1.1
Compare Source
ClientBuilder::setSSLVerification()
to accept string or boolean#917
setBody
inElasticsearch\Endpoints\Ingest\Pipeline\Put
#913
v7.1.0
Compare Source
Warning
header#911
YamlRunnerTest.php
#844
NoNodesAvailableException
to extendServerErrorResponseException
instead of the generic
\Exception
#607
#907
Testing
YamlRunnerTest::clean
#911
#911
Docs
#904
v7.0.2
Compare Source
#905
v7.0.1
Compare Source
#899
v7.0.0
Compare Source
#897
#897
#897
User-Agent
in each HTTP request #898logRequestFail($request, $response, $exception)
and
logRequestSuccess($request, $response)
inElasticsearch\Connections\Connection
#876
json_encode
for unicode(emoji) characters 856v6.8.2
Compare Source
elasticsearch-php
< 6.8.These endpoints are:
NodeAttrs
,ForceMerge
,MTermVectors
,TermVectors
(Fixed #1131 using old endpoint naming elastic/elasticsearch-php#1151)
v6.8.1
Compare Source
v6.8.0
Compare Source
The 6.8.0 release includes all the Elasticsearch endpoints (including XPack).
We tested using the latest Elasticsearch 6.8.14 released in February 10, 2021.
NOTE: This release requires PHP 7.3+. It supports also PHP 8.
This release includes the following updates:
and backported the following features/PRs:
array_walk
witharray_map
inConnection::getURI
(Replaced array_walk with array_map in Connection::getURI elastic/elasticsearch-php#1075)guzzlehttp/ringphp
withezimuel/ringphp
(Replace guzzlehttp/ringphp with ezimuel/ringphp elastic/elasticsearch-php#1102)v6.7.2
Compare Source
GET
andPOST
in endpoints based on body [acbc76d0]wait_for_active_shards
andpipeline
inUpdateByQuery
[acbc76d0]ScriptsPainlessExecute
endpoint, since ES 6.3 [acbc76d0]RankEval
endpoint, since ES 6.2 [acbc76d0]elasticsearch-php/6.7.2 (metadata-values)
[acbc76d0]v6.7.1
Compare Source
track_total_hits
insearch
endpoint 0c9ff47v6.7.0
Compare Source
{type}
part inindices.put_mapping
, see new API specification hereseq_no_primary_term
parameter inbulk
endpoint #884include_type_name
,if_primary_term
,if_seq_no
indelete
endpoint #884include_type_name
inget
,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
insearch
endpoint #884if_primary_term', 'if_seq_no
inupdate
endpoint #884Testing
Docs
v6.5.1
Compare Source
GET
andPOST
in endpoints based on body [acbc76d0]wait_for_active_shards
andpipeline
inUpdateByQuery
[acbc76d0]ScriptsPainlessExecute
endpoint, since ES 6.3 [acbc76d0]RankEval
endpoint, since ES 6.2 [acbc76d0]elasticsearch-php/6.5.1 (metadata-values)
[acbc76d0]NOTE: this release can be used with Elasticsearch from 6.0 to 6.5 included.
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.