ElasticSearch PHP v7.10.0 Release Notes

Release Date: 2020-11-11 // over 3 years ago
  • 🚀 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.


Previous changes from v7.9.1

    • 🛠 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