Releases: elastic/elasticsearch-php
Release 8.3.0
This release is compatible with the latest Elasticsearch 8.3.0.
Added the following new API 🎉
Experimental
- Security.hasPrivilegesUserProfile: api spec, documentation
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
This release is compatible with the latest Elasticsearch 8.2.1.
Release 8.2.0
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
- Cat.componentTemplates: api spec, documentation
- Ml.getMemoryStats: api spec, documentation
Experimental
- Security.activateUserProfile: api spec, documentation
- Security.disableUserProfile: api spec, documentation
- Security.enableUserProfile: api spec, documentation
- Security.getUserProfile: api spec, documentation
- Security.suggestUserProfiles: api spec, documentation
- Security.updateUserProfileData: api spec, documentation
Release 8.1.0
This release is compatible with the latest Elasticsearch 8.1.0.
Added the following new APIs 🎉 (4 stable)
- Security.oidcAuthenticate: api spec, documentation
- Security.oidcLogout : api spec, documentation
- Security.oidcPrepareAuthentication : api spec, documentation
- Transform.resetTransform : api spec, documentation
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
Release 8.0.0
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 namespaceElastic\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
- Added the common parameters in all the endpoints 6427f8c
Release 8.0.0-RC1
Release 8.0.0 alpha
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 namespaceElastic\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
This release is compatible with the latest Elasticsearch 7.17.0 released the 1st February 2022.
It includes the following fixes and improvements:
- Allow psr/log v3 #1184
Added the following new APIs 🎉 (1 stable):
- Ml.getModelSnapshotUpgradeStats: api spec, documentation
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