Changelog History
Page 1
-
v7.10.0 Changes
November 11, 2020๐ This release is compatible with the latest Elasticsearch 7.10.0 released in 11th November 2020.
๐ It includes the following fixes and improvements:
- ๐ Fixed
ClientBuilder::fromConfig
allowing multiple function parameters (e.g. setApiKey) #1076 - ๐จ Refactored the YAML tests using generated PHPUnit code 85fadc2
๐ Added the following new APIs ๐:
Stable
- openPointInTime: api spec, documentation
- closePointInTime: api spec, documentation
- ๐ Security.clearApiKeyCache: api spec, documentation
- ๐ Security.grantApiKey: api spec, documentation
API changes
Bulk: added the
require_alias
parameter = (boolean) Setsrequire_alias
for all incoming documents. Defaults to unset (false).Index: added the
require_alias
parameter = (boolean) When true, requires destination to be an alias. Default is false.โก๏ธ Update: added the
require_alias
parameter = (boolean) When true, requires destination is an alias. Default is false.Cat.mlDatafeeds: added the
allow_no_match
parameter = (boolean) Whether to ignore if a wildcard expression matches no datafeeds.
This includes_all
string or when no datafeeds have been specified.๐ท Cat.mlJobs: added the
allow_no_match
parameter = (boolean) Whether to ignore if a wildcard expression matches no datafeeds.
This includes_all
string or when no datafeeds have been specified.๐ท Ml.closeJob: added the
allow_no_match
parameter = (boolean) Whether to ignore if a wildcard expression matches no jobs.
๐ท This includes_all
string or when no jobs have been specified.Ml.getDatafeeds: added the
allow_no_match
parameter = (boolean) Whether to ignore if a wildcard expression matches no datafeeds.
This includes_all
string or when no datafeeds have been specified.๐ท Ml.getJobStats: added the
allow_no_match
parameter = (boolean) Whether to ignore if a wildcard expression matches no jobs.
๐ท This includes_all
string or when no jobs have been specified.๐ท Ml.getJobs: added the
allow_no_match
parameter = (boolean) Whether to ignore if a wildcard expression matches no jobs.
๐ท This includes_all
string or when no jobs have been specified.Ml.getOverallBuckets: added the
allow_no_match
parameter = (boolean) Whether to ignore if a wildcard expression matches no jobs.
๐ท This includes_all
string or when no jobs have been specified.Ml.getTrainedModels (EXPERIMENTAL API): added the
include
parameter = (string) A comma-separate list of fields to optionally include.
๐ Valid options aredefinition
andtotal_feature_importance
. Default is none.Ml.stopDatafeed: added the
allow_no_match
parameter = (boolean) Whether to ignore if a wildcard expression matches no datafeeds.
This includes_all
string or when no datafeeds have been specified. - ๐ Fixed
-
v7.9.1 Changes
October 06, 2020 -
v7.9.0 Changes
August 18, 2020๐ This release is compatible with the latest Elasticsearch 7.9.0 released in 18th August 2020.
๐ It includes the following fixes:
- ๐ Moved
scroll_id
intobody
for search operations in the documentation #1052 - ๐ Fixed PHP 7.4 preloading feature for autoload.php #1051
- Improved message of JSON errors using
json_last_error_msg()
#1045 - ๐ Make ClientBuilder override possible, using
static
instead ofself
#1036
๐ Added the following new APIs ๐:
Stable
A new namespace DanglingIndices with following endpoints:
- DanglingIndices.listDanglingIndices: api spec, documentation
- DanglingIndices.importDanglingIndex: api spec, documentation
- DanglingIndices.deleteDanglingIndex: api spec, documentation
Indices.addBlock: api spec, documentation
๐ Security.clearCachedPrivileges: api spec, documentation
Indices.dataStreamsStats: api spec, documentation
Beta
Beta APIs are on track to become stable and permanent features. Use them with caution because it is possible that breaking changes are made to these APIs in a minor version.
Eql.get: api spec, documentation
Eql.delete: api spec, documentation
Experimental
๐ Experimental APIs are just that - an experiment. An experimental API might have breaking changes in any future version, or it might even be removed entirely.
โก๏ธ Ml.updateDataFrameAnalytics: api spec, documentation
Indices.resolveIndex: api spec, documentation
Indices.simulateTemplate: api spec, documentation
API changes
Indices.putMapping: added the
write_index_only
parameter = (boolean) When true, applies mappings only to the write index of an alias or data stream (Default = false)Ml.deleteExpiredData: added the following parameters:
job_id
(string) The ID of the job(s) to perform expired data hygiene forrequests_per_second
(number) The desired requests per second for the deletion processestimeout
(time) How long can the underlying delete processes run until they are canceled
-
body
(array) deleting expired data parametersMl.forecast: added the parameter
max_model_memory
(string) The max memory able to be used by the forecast. Default is 20mb.Ml.getCategories: added the parameter
partition_field_value
(string) Specifies the partition to retrieve categories for. This is optional, and should never be used for jobs where per-partition categorization is disabledMl.getTrainedModels: added the parameter
for_export
(boolean) Omits fields that are illegal to set on model PUT (Default = false)Xpack.info: added the parameter
accept_enterprise
(boolean) If an enterprise license is installed, return the type and mode as 'enterprise' (default: false)Indices.deleteDataStream: changed the
name
parameter from string to list (a comma-separated list of data streams to delete; use*
to delete all data streams)Indices.getDataStream (name changed from getDataStreams): changed the
name
parameter from string to list (a comma-separated list of data streams to get; use*
to get all data streams) - ๐ Moved
-
v7.8.0 Changes
June 18, 2020๐ This release is compatible with the latest Elasticsearch 7.8.0 released in 18th June 2020.
๐ฑ It includes the following new endpoints ๐:
and the following changes:
- Indices.getDataStreams , changed the
name
parameter type to string, instead of list - Tasks.cancel , added
wait_for_completion
boolean parameter. Can be use to block the request until the cancellation of the task and its descendant tasks is completed. Defaults tofalse
- Ml.deleteExpiredData , added
body
containing deleting expired data parameters - ๐ Ml.deleteDataFrameAnalytics , added
timeout
controls the time to wait until a job is deleted. Defaults to 1 minute
Elasticsearch 7.8.0 includes also some experimental APIs. Pleas note, an experimental API might have breaking changes in any future version, or it might even be removed entirely.
- Autoscaling.deleteAutoscalingPolicy
- Autoscaling.getAutoscalingPolicy
- Autoscaling.putAutoscalingPolicy
- Cluster.existsComponentTemplate
- Indices.deleteIndexTemplate
- Indices.existsIndexTemplate
- Indices.getIndexTemplate
- Indices.putIndexTemplate
- Indices.simulateIndexTemplate
and the new Searchable snapshot namespace with the following experimental APIs:
- Indices.getDataStreams , changed the
-
v7.7.0 Changes
May 13, 2020๐ This release is compatible with the latest Elasticsearch 7.7.0 released in 13th May 2020.
๐ It contains the following new features ๐:
๐ and fixes :
- โ Removed setId() into endpoints, fixed
util/GenerateEndpoints.php
#1026 - ๐ Fixes JsonErrorException with code instead of message #1022
- ๐ Better exception message for Could not parse URI #1016
๐ฑ XPack endpoints ๐
๐ In this release we included all the XPack endpoints, that was previously managed in a separate repository elastic/elasticsearch-x-pack-php (not updated since
Elasticsearch 5.0
๐).These APIs are related to:
- Cross-cluster replication
- Graph explorer
- Info
- Licensing
- Machine learning anomaly detection
- ๐ Machine learning data frame analytics
- Migration
- Reload search analyzers
- Rollup
- ๐ Security
- Snapshot lifecycle management
- Transform
- Usage
- Watcher
๐ New APIs added to Elasticsearch 7.7.0
Elasticsearch 7.7.0
includes the following new APIs:Cluster
cluster.deleteComponentTemplate
AsyncSearch
Autoscaling
Cat
๐ท cat.mlJobs
โ Eql
Machine Learning (ML)
Experimental APIs:
Elasticsearch 7.7.0
includes also some experimental APIs. Pleas note, an experimental API might have breaking changes in any future version, or it might even be removed entirely. - โ Removed setId() into endpoints, fixed
-
v7.6.1 Changes
February 15, 2020๐ This release fixes an issue with
guzzlehttp/ringphp
andguzzle/streams
dependencies. It uses a fork of these libraries in ezimuel/ringphp and ezimuel/guzzlestreams repositories.๐ See 92a6a4a commit.
-
v7.6.0 Changes
February 14, 2020- Generated the new endpoints for Elasticsearch 7.6.0
be31f31
๐ The following fix are also included in elasticsearch-php 7.5.1:
- ๐ Fixes port missing in log #925
75e0888 - ๐ Fixes #993 adding
ClientBuilder::includePortInHostHeader()
for including port in the Host header. By default, the port is not included.
#997 - ๐ฆ Replace abandoned packages: ringphp, streams and phpstan-shim
#996 - ๐ Fixed gzip compression when setting Cloud Id
#986
For more information about Elasticsearch 7.6 release please read the following page:
๐ https://www.elastic.co/blog/elasticsearch-7-6-0-released - Generated the new endpoints for Elasticsearch 7.6.0
-
v7.5.2 Changes
February 17, 2020๐ This release fixes an issue with
guzzlehttp/ringphp
andguzzle/streams
dependencies. It uses a fork of these libraries in ezimuel/ringphp and ezimuel/guzzlestreams repositories.๐ See 92a6a4a commit.
-
v7.5.1 Changes
February 14, 2020- ๐ Fixes port missing in log #925
commit 75e0888 - ๐ Fixes #993 adding
ClientBuilder::includePortInHostHeader()
for includingport
in theHost
header. By default, the port is not included.
#997 - ๐ฆ Replace abandoned packages: ringphp, streams and phpstan-shim
#996 - ๐ Fixed gzip compression when setting Cloud Id
#986
- ๐ Fixes port missing in log #925
-
v7.5.0 Changes
December 19, 2019- Code generation of endpoint classes using the API specification of Elasticsearch 7.5.0
commit ec0e0aa - ๐ Fixed
Client::extractArgument
iterable casting to array; this allows passing aTraversable
body for some endpoints (e.g. Bulk, Msearch, MsearchTemplate)
#983 - ๐ Fixed the Response Exception if the
reason
field is null
#980 - โ Added support for PHP 7.4
#976
- Code generation of endpoint classes using the API specification of Elasticsearch 7.5.0