Skip to content

Releases: elastic/elasticsearch-php

Release 7.4.0

19 Nov 15:29
Compare
Choose a tag to compare

BC breaks:

This version introduces some potential BC breaks:

  • Using a deprecated parameter is notified triggering a E_USER_DEPRECATED error (e.g. using the type parameter will generate a Specifying types in urls has been deprecated deprecation message).
  • When delete with an empty id a Missing404Exception exception is thrown. Previously it was a InvalidArgumentException.

Changelog:

Release 7.3.0

30 Sep 12:57
Compare
Choose a tag to compare

Support for Elasticsearch v7.3.

  • Added support for simplified access to the X-Opaque-Id header #952
  • Added the HTTP port in the log messages #950
  • Fixed hostname with underscore (ClientBuilder::prependMissingScheme) #949
  • Removed unused Monolog classes in ClientBuilder #948

Note: this release is also compatible with Elasticsearch v7.2.

Release 7.2.2

30 Aug 08:22
Compare
Choose a tag to compare
  • Reintroduced the optional parameter in Elasticsearch\Namespaces\IndicesNamespace::getAliases().
    This fixes the BC break introduced in 7.2.0 and 7.2.1 #947

Release 7.2.1

27 Aug 12:22
Compare
Choose a tag to compare
  • Reintroduced Elasticsearch\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 #943

Docs

  • Fixed missing put mapping code snippet in code examples #938

Release 7.2.0

26 Aug 15:48
Compare
Choose a tag to compare
  • Updated the API endpoints for working with Elasticsearch 7.2.0 [27d721b]:

    • added wait_for_active_shards parameter to indices.close API;
    • added expand_wildcards parameter to cluster.health API;
    • added include_unloaded_segments, expand_wildcards, forbid_closed_indicesparameters toindices.stats` API.
  • Updated the phpdoc parameters for all the API endpoints [27d721b]

  • Improved the Travis CI speed using cache feature with composer #929

  • Fixed php_uname() usage checking if it is disabled #927

  • Added support of Elastic Cloud ID and API key authentication
    #923

BC break

  • IndicesNamespace::getAliases() has been changed in favor of IndicesNamespace::getAlias(). This because the endpoints are generated from the API specification of Elasticsearch and the name is indices.get_alias (see here).

NOTE: we released 7.2.1 that reintroduces the getAliases() function as proxy to getAlias(), please use this version to avoid BC breaks.

Release 6.7.2

19 Jul 14:51
Compare
Choose a tag to compare
  • Fix #846 choosing GET and POST in endpoints based on body [acbc76d0]
  • Fix #843 adding wait_for_active_shards and pipeline in UpdateByQuery [acbc76d0]
  • Fixed missing ScriptsPainlessExecute endpoint, since ES 6.3 [acbc76d0]
  • Fixed missing RankEval endpoint, since ES 6.2 [acbc76d0]
  • Added User-Agent header equal to elasticsearch-php/6.7.2 (metadata-values) [acbc76d0]

Release 6.5.1

19 Jul 14:12
Compare
Choose a tag to compare
  • Fix #846 choosing GET and POST in endpoints based on body [acbc76d0]
  • Fix #843 adding wait_for_active_shards and pipeline in UpdateByQuery [acbc76d0]
  • Fixed missing ScriptsPainlessExecute endpoint, since ES 6.3 [acbc76d0]
  • Fixed missing RankEval endpoint, since ES 6.2 [acbc76d0]
  • Added User-Agent header equal to elasticsearch-php/6.5.1 (metadata-values) [acbc76d0]

NOTE: this release can be used with Elasticsearch from 6.0 to 6.5 included.

Release 5.5.0

18 Jul 15:14
Compare
Choose a tag to compare
  • Added User-Agent header equal to elasticsearch-php/5.5.0 (metadata-values) [26da9a33]
  • Fix #846 choosing GET and POST in endpoints based on body [cdbeab38]
  • Fix #843 adding wait_for_active_shards and pipeline in UpdateByQuery [8b36458]

Release 7.1.1

12 Jul 14:31
Compare
Choose a tag to compare
  • Fixed ClientBuilder::setSSLVerification() to accept string or boolean #917
  • Fix type hinting for setBody in Elasticsearch\Endpoints\Ingest\Pipeline\Put #913

NOTE: this release can be used with Elasticsearch 7.0 and 7.1.

Release 7.1.0

09 Jul 12:13
Compare
Choose a tag to compare
  • Added warning log for Elasticsearch response containing the Warning header #911
  • Fixed #838 hosting company is blocking ports because of YamlRunnerTest.php #844
  • Specialized inheritance of NoNodesAvailableException to extend ServerErrorResponseException instead of the generic \Exception #607
  • Fixed scroll TTL is extracted but not set as a body param #907

Testing

  • Improved the speed of integration tests removing snapshots delete from YamlRunnerTest::clean #911
  • Reduced the number of skipping YAML integration tests from 20 to 6 #911

Docs

  • Documentation updated for Elasticsearch 7 #904

NOTE: this release can be used with Elasticsearch 7.0 and 7.1.