All Versions
16
Latest Version
Avg Release Cycle
57 days
Latest Release
351 days ago

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

    API changes

    Bulk: added the require_alias parameter = (boolean) Sets require_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 are definition and total_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.

  • v7.9.1 Changes

    October 06, 2020
    • ๐Ÿ›  Fixed using object instead of array in onFailure transport event #1066
    • ๐Ÿ›  Fixed reset custom header after endpoint call #1065
    • ๐Ÿ‘‰ Show generic error messages when server returns no response #1056
  • 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 into body 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 of self #1036

    ๐Ÿ†• Added the following new APIs ๐ŸŽ‰:

    Stable

    A new namespace DanglingIndices with following endpoints:

    - 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 for
    • requests_per_second (number) The desired requests per second for the deletion processes
    • timeout (time) How long can the underlying delete processes run until they are canceled

    - body (array) deleting expired data parameters

    Ml.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 disabled

    Ml.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)

  • 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 to false
    • 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.

    and the new Searchable snapshot namespace with the following experimental APIs:

  • 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 ๐ŸŽ‰:

    • โž• Added JUnit log for PHPUnit 88b7e1c
    • โž• Added the XPack endpoints 763d91a

    ๐Ÿ›  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:

    ๐Ÿ†• New APIs added to Elasticsearch 7.7.0

    Elasticsearch 7.7.0 includes the following new APIs:

    Cluster

    cluster.deleteComponentTemplate

    cluster.getComponentTemplate

    cluster.putComponentTemplate

    AsyncSearch

    asyncSearch.submit

    asyncSearch.get

    asyncSearch.delete

    Autoscaling

    Cat

    ๐Ÿ“ˆ cat.mlDataFrameAnalytics

    cat.mlDatafeeds

    ๐Ÿ‘ท cat.mlJobs

    cat.mlTrainedModels

    cat.transform

    โœ… 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.

    indices.createDataStream

    indices.deleteDataStream

    indices.getDataStreams

  • v7.6.1 Changes

    February 15, 2020

    ๐Ÿš€ This release fixes an issue with guzzlehttp/ringphp and guzzle/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

  • v7.5.2 Changes

    February 17, 2020

    ๐Ÿš€ This release fixes an issue with guzzlehttp/ringphp and guzzle/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 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
  • 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 a Traversable 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