github elastic/elasticsearch-php v7.11.0
Release 7.11.0

latest releases: v8.15.0, v8.14.0, v6.8.3...
3 years ago

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 with ClientBuilder::setElasticMetaHeader(false)
  • #1075 Replaced array_walk with array_map in Connection::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

Experimental

API changes

  • Cat.tasks, the parameters node_id and parent_task has been changed in nodes and parent_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 the for_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)

Don't miss a new elasticsearch-php release

NewReleases is sending notifications on new releases.