This release is compatible with the latest Elasticsearch 7.11.0 released in 10th February 2021.
This is the first release to be compatible with PHP 8.
It includes the following fixes and improvements:
- #1089 Added the
X-Elastic-Client-Meta
header which is used by Elastic Cloud
and can be disabled withClientBuilder::setElasticMetaHeader(false)
- #1075 Replaced
array_walk
witharray_map
inConnection::getURI
for PHP 8
compatibility - #1069 Remove unnecessary
InvalidArgumentExceptions
- #1063 Introducing PHP 8 compatibility
- #1062 Replace Sami by Doctum and fix
.gitignore
Added the following new APIs 🎉 (6 stable, 1 experimental):
Stable
- AsyncSearch.status: api spec, documentation
- Indices.migrateToDataStream: api spec, documentation
- Indices.promoteDataStream: api spec, documentation
- Ml.upgradeJobSnapshot: api spec, documentation
- Rollup.rollup: api spec, documentation
- Watcher.queryWatches: api spec, documentation
Experimental
- Autoscaling.getAutoscalingCapacity: api spec, documentation
API changes
- Cat.tasks, the parameters
node_id
andparent_task
has been changed innodes
andparent_task_id
- Cluster.deleteComponentTemplate, this API has become STABLE, it was EXPERIMENTAL before
- Cluster.existsComponentTemplate, this API has become STABLE, it was EXPERIMENTAL before
- Cluster.getComponentTemplate, this API has become STABLE, it was EXPERIMENTAL before
- Cluster.putComponentTemplate, this API has become STABLE, it was EXPERIMENTAL before
- Indices.deleteIndexTemplate, this API has become STABLE, it was EXPERIMENTAL before
- Indices.existsIndexTemplate, this API has become STABLE, it was EXPERIMENTAL before
- Indices.getIndexTemplate, this API has become STABLE, it was EXPERIMENTAL before
- Indices.putIndexTemplate, this API has become STABLE, it was EXPERIMENTAL before
- Indices.simulateIndexTemplate, this API has become STABLE, it was EXPERIMENTAL before
- Indices.simulateTemplate, this API has become STABLE, it was EXPERIMENTAL before
- DataFrameTransformDeprecated.getTransform (BETA API), added the
exclude_generated
parameter: (boolean) Omits generated fields. Allows transform configurations to be easily copied between clusters and within the same cluster (Default = false) - Eql.delete, this API has become STABLE, it was BETA before
- Eql.get, this API has become STABLE, it was BETA before
- Eql.search, this API has become STABLE, it was BETA before
- Indices.deleteDataStream, added
expand_wildcards
parameter: (enum) Whether wildcard expressions should get expanded
to open or closed indices (default: open) (Options = open,closed,hidden,none,all) (Default = open) - Indices.getDataStream, added
expand_wildcards
parameter: (enum) Whether wildcard expressions should get expanded
to open or closed indices (default: open) (Options = open,closed,hidden,none,all) (Default = open) - Ml.deleteDataFrameAnalytics, this API has become BETA, it was EXPERIMENTAL before
- Ml.deleteTrainedModel, this API has become BETA, it was EXPERIMENTAL before
- Ml.explainDataFrameAnalytics, this API has become BETA, it was EXPERIMENTAL before
- Ml.getDataFrameAnalytics, this API has become BETA, it was EXPERIMENTAL before
- Ml.getDatafeeds, added the
exclude_generated
parameter: (boolean) Omits fields that are illegal to set on data frame
analytics PUT (Default = false) - Ml.getJobs, added the
exclude_generated
parameter: (boolean) Omits fields that are illegal to set on job PUT
(Default = false) - Ml.getTrainedModels, this API has become BETA, it was EXPERIMENTAL before. Added the
exclude_generated
paremeter: (boolean) Omits fields that are illegal to set on model PUT (Default = false). Removed thefor_export
parameter - Ml.getTrainedModelsStats, this API has become BETA, it was EXPERIMENTAL before
- Ml.putDataFrameAnalytics, this API has become BETA, it was EXPERIMENTAL before
- Ml.putTrainedModel, this API has become BETA, it was EXPERIMENTAL before
- Ml.startDataFrameAnalytics, this API has become BETA, it was EXPERIMENTAL before
- Ml.stopDataFrameAnalytics, this API has become BETA, it was EXPERIMENTAL before
- Ml.updateDataFrameAnalytics, this API has become BETA, it was EXPERIMENTAL before
- Transform.getTransform, added the
exclude_generated
parameter: (boolean) Omits fields that are illegal to set on transform
PUT (Default = false)