Skip to content

Releases: elastic/elasticsearch-php

Release 8.3.0

28 Jun 20:05
6f01103
Compare
Choose a tag to compare

This release is compatible with the latest Elasticsearch 8.3.0.

Added the following new API 🎉

Experimental

API changes

Cluster.deleteVotingConfigExclusions

Added master_timeout parameter (time). Timeout for submitting request to master.

Cluster.postVotingConfigExclusions

Added master_timeout parameter (time). Timeout for submitting request to master.

Ml.inferTrainedModel (renamed)

The Ml.inferTrainedModelDeployment API has been renamed in Ml.inferTrainedModel.

Ml.previewDatafeed

Added the following optional parameters:

  • start: string, the start time from where the datafeed preview should begin;
  • end: string, the end time when the datafeed preview should stop.

Ml.startTrainedModelDeployment

Added the following optional parameters:

  • number_of_allocations: int, the number of model allocations on each node where the model is deployed;
  • threads_per_allocation: int, the number of threads used by each model allocation during inference;
  • queue_capacity: int, controls how many inference requests are allowed in the queue at a time.

Snapshot.get

Added the index_names parameter (boolean). Whether to include the name of each index in the snapshot. Defaults to true.

Release 8.2.1

25 May 07:23
0a3c814
Compare
Choose a tag to compare

This release is compatible with the latest Elasticsearch 8.2.1.

Release 8.2.0

04 May 07:31
abd3f43
Compare
Choose a tag to compare

This release is compatible with the latest Elasticsearch 8.2.0.

This release includes the following fixes:

  • Added the array support for text/plain #1220

Added the following new APIs 🎉 (2 stable and 6 experimental)

Stable

Experimental

Release 8.1.0

19 Apr 07:12
v8.1.0
ab37360
Compare
Choose a tag to compare

This release is compatible with the latest Elasticsearch 8.1.0.

Added the following new APIs 🎉 (4 stable)

API changes

Indices.forcemerge

Added wait_for_completion parameter.

Indices.get

Added features enum parameter, return only information on specified index features.

Ml.deleteTrainedModel

Added force boolean parameter, true if the model should be forcefully deleted.

Release 8.0.1

30 Mar 12:43
v8.0.1
f1851dc
Compare
Choose a tag to compare

This release contains the following fix:

  • use of NoNodeAvailableException exception in endpoints, fixing #1209 with e7d448d

Release 8.0.0

24 Mar 20:09
v8.0.0
27e46b0
Compare
Choose a tag to compare

Finally 8.0.0 for Elasticsearch 8.0 is GA!!! 🥳

This new major version of elasticsearch-php contains a brand new implementation compared with 7.x. It supports PSR-7 for HTTP messages and PSR-18 for HTTP client communications. We used the elastic-transport-php library for HTTP communications.

We tried to reduce the BC breaks as much as possible with 7.x but there are some (big) differences:

  • we changed the namespace, now everything is under Elastic\Elasticsearch;
  • we changed the Exception model, using the namespace Elastic\Elasticsearch\Exception. All the exceptions extends the
    ElasticsearchException interface, as in 7.x;
  • we changed the response type of each endpoints using an Elasticsearch response class.
    This class wraps a a PSR-7 response allowing the access of the body response
    as array or object. This means you can access the API response as in 7.x, no BC break here! 👼

You can have a look at the BREAKING_CHANGES file for more information.

We are still working on the new documentation for 8.0, in the meantime you can have a look at the README where we reported a quick start guide.

Release 8.0.0-RC2

09 Mar 09:16
v8.0.0-rc2
78676ec
Compare
Choose a tag to compare
  • Added the common parameters in all the endpoints 6427f8c

Release 8.0.0-RC1

06 Mar 22:09
v8.0.0-rc1
d3b0386
Compare
Choose a tag to compare
  • Fixed query string in API endpoints + added a first integration test e404235
  • Added AdapterOptions class and setNodePool() in ClientBuilder 9150f71
  • Fixed urlencode in params, Exception in test code generation 142327b
  • Improved client/server response exception messages 50de3e6

Release 8.0.0 alpha

02 Mar 11:58
v8.0.0-alpha
fdfb0c1
Compare
Choose a tag to compare

This is an alpha release of 8.0.0. This new major version of elasticsearch-php contains a brand new implementation compared with 7.x.
It supports PSR-7 for HTTP messages and PSR-18 for HTTP client communications. We used the elastic-transport-php library for HTTP communications.

We tried to reduce the BC breaks as much as possible with 7.x but there are some (big) differences:

  • we changed the namespace, now everything is under Elastic\Elasticsearch;
  • we changed the Exception model, using the namespace Elastic\Elasticsearch\Exception. All the exceptions extends the
    ElasticsearchException interface, as in 7.x;
  • we changed the response type of each endpoints using an Elasticsearch response class.
    This class wraps a a PSR-7 response allowing the access of the body response
    as array or object. This means you can access the API response as in 7.x, no BC break here! 👼

You can have a look at the BREAKING_CHANGES file for more information.

We are still working on the new documentation for 8.0, in the meantime you can have a look at the README where we reported a quick start guide.

Release 7.17.0

03 Feb 13:56
v7.17.0
1890f9d
Compare
Choose a tag to compare

This release is compatible with the latest Elasticsearch 7.17.0 released the 1st February 2022.

It includes the following fixes and improvements:

Added the following new APIs 🎉 (1 stable):

API changes

  • Ml.forecast, added body for HTTP request where query parameters can be specified in the body
  • Ml.openJob, added body for HTTP request where query parameters can be specified in the body
  • Transform.deleteTransform, added the timeout parameter, (time) controls the time to wait for the transform deletion
  • Transform.previewTransform, added the timeout parameter, (time) Controls the time to wait for the preview
  • Transform.putTransform, added the timeout parameter, (time) Controls the time to wait for the transform to start
  • Transform.updateTransform, added the timeout parameter, (time) Controls the time to wait for the update
  • Transform.upgradeTransforms, added the timeout parameter, (time) Controls the time to wait for the upgrade