Skip to content

Releases: elastic/elasticsearch-php

Release 7.17.2

21 Apr 15:35
v7.17.2
2d30223
Compare
Choose a tag to compare

This release contains the following fix:

  • Added ELASTIC_CLIENT_URL_PLUS_AS_SPACE env variable for URL encode #1303 and b35ec5e

Release 8.7.0

30 Mar 15:37
a456313
Compare
Choose a tag to compare

This release is compatible with the latest Elasticsearch 8.7.0.

  • Allow plugin for php-http/discovery library #1294

General changes

This release introduces 2 new APIs.

Specific changes per endpoints

healthReport (new API)

API: https://github.com/elastic/elasticsearch/blob/main/rest-api-spec/src/main/resources/rest-api-spec/api/health_report.json
Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/health-api.html

Transform.scheduleNowTransform (new API)

API: https://github.com/elastic/elasticsearch/blob/main/rest-api-spec/src/main/resources/rest-api-spec/api/transform.schedule_now_transform.json
Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/schedule-now-transform.html

Ml.deleteJob

Added the delete_user_annotations boolean parameter. Should annotations added by the user be deleted

Ml.resetJob

Added the delete_user_annotations boolean parameter. Should annotations added by the user be deleted

Transform.getTransformStats

Added the timeout time parameter. Controls the time to wait for the stats

Transform.startTransform

Added the from string parameter. Restricts the set of transformed entities to those changed after this time

Release 8.6.1

30 Jan 16:38
b3af430
Compare
Choose a tag to compare

This release is compatible with the latest Elasticsearch 8.6.0.

General changes

This release introduces 1 new API.

Specific changes per endpoints

Ml.startTrainedModelDeployment

Added the priority string paramter. The deployment priority.

Ml.updateTrainedModelDeployment (new API)

API: https://github.com/elastic/elasticsearch/blob/main/rest-api-spec/src/main/resources/rest-api-spec/api/ml.update_trained_model_deployment.json
Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/update-trained-model-deployment.html

Release 8.5.0

02 Nov 07:16
accfca2
Compare
Choose a tag to compare

This release is compatible with the latest Elasticsearch 8.5.0.

General changes

This release introduces 1 experimental new API and 2 stable APIs.

Specific changes per endpoints

Indices.downsample (new EXPERIMENTAL API)

API: https://github.com/elastic/elasticsearch/blob/8.5/rest-api-spec/src/main/resources/rest-api-spec/api/indices.downsample.json
Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/xpack-rollup.html

Ml.clearTrainedModelDeploymentCache (new API)

API: https://github.com/elastic/elasticsearch/blob/8.5/rest-api-spec/src/main/resources/rest-api-spec/api/ml.clear_trained_model_deployment_cache.json
Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/master/clear-trained-model-deployment-cache.html

Ml.inferTrainedModel

This API is now stable.

Ml.putTrainedModelDefinitionPart

This API is now stable.

Ml.putTrainedModelVocabulary

This API is now stable.

Ml.startTrainedModelDeployment

This API is now stable. The descript of the number_of_allocations has been changed in "The total number of allocations this model is assigned across machine learning nodes".

Ml.stopTrainedModelDeployment

This API is now stable.

Rollup.rollup

This experimental API has been removed.

Security.activateUserProfile

This API is now stable.

Security.bulkUpdateApiKeys (new API)

API: https://github.com/elastic/elasticsearch/blob/8.5/rest-api-spec/src/main/resources/rest-api-spec/api/security.bulk_update_api_keys.json
Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-bulk-update-api-keys.html

Security.disableUserProfile

This API is now stable.

Security.enableUserProfile

This API is now stable.

Security.getApiKey

Added the with_limited_by boolean parameter. Flag to show the limited-by role descriptors of API Keys.

Security.getUser

Added the with_profile_uid boolean parameter. Flag to retrieve profile uid (if exists) associated to the user.

Security.getUserProfile

This API is now stable. Changed the description of uid parameter, a comma-separated list of unique identifier for user profiles.

Security.hasPrivilegesUserProfile

This API is now stable.

Security.queryApiKeys

Added the with_limited_by boolean parameter. Flag to show the limited-by role descriptors of API Keys.

Security.suggestUserProfiles

This API is now stable.

Security.updateUserProfileData

This API is now stable.

TextStructure.findStructure

Added the ecs_compatibility string parameter. Optional parameter to specify the compatibility mode with ECS Grok patterns - may be either 'v1' or 'disabled'.

Release 7.17.1

30 Sep 12:31
v7.17.1
f1b8918
Compare
Choose a tag to compare

This release contains the following fix:

  • Fixed a node selector issue for StickyRoundRobinSelector #1253

Release 8.4.0

24 Aug 15:45
8ecf231
Compare
Choose a tag to compare

This release is compatible with the latest Elasticsearch 8.4.0 and includes the following changes:

  • Added a ClientInterface to simplify the mock of the Client, this is a fix for #1227
    #1249
  • Added the support of Symfony HTTP client, fixing the issue #1241
    #1243
  • Added the API compatibility header
    #1233

Added the following new API 🎉

Stable

API changes

get

Added the force_synthetic_source parameter (boolean). Should this request force synthetic _source? Use this to test if the mapping supports synthetic _source and to get a sense of the worst case performance. Fetches with this enabled will be slower the enabling synthetic source natively in the index.

mget

Added the force_synthetic_source parameter (boolean). Should this request force synthetic _source? Use this to test if the mapping supports synthetic _source and to get a sense of the worst case performance. Fetches with this enabled will be slower the enabling synthetic source natively in the index.

search

Added the force_synthetic_source parameter (boolean). Should this request force synthetic _source? Use this to test if the mapping supports synthetic _source and to get a sense of the worst case performance. Fetches with this enabled will be slower the enabling synthetic source natively in the index.

Ml.startTrainedModelDeployment

Added cache_size parameter (string). A byte-size value for configuring the inference cache size. For example, 20mb.

Snapshot.get

Added the following parameters:

  • sort (enum), allows setting a sort order for the result. Defaults to start_time;
  • size (integer), maximum number of snapshots to return. Defaults to 0 which means return all that match without limit;
  • order (enum), soprt order;
  • from_sort_value (string), value of the current sort column at which to start retrieval;
  • after (string), offset identifier to start pagination from as returned by the 'next' field in the response body;
  • offset (integer), numeric offset to start pagination based on the snapshots matching the request. Defaults to 0;
  • slm_policy_filter (string), filter snapshots by a comma-separated list of SLM policy names that snapshots belong to. Accepts wildcards. Use the special pattern '_none' to match snapshots without an SLM policy.

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.