ElasticSearch PHP v7.10.0 Release Notes

Release Date: 2020-11-11 // 11 months 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