- Dev: This release replaces the deprecated artifacts API with a new up to date one (https://github.com/elastic/elasticsearch-ruby/pull/2844[Pull Request]). This is used for downloading the REST tests and specification from Elasticsearch in development.
- Dev: The 8.19 branch now tests for Ruby 4.0, so the gems
ostructandbenchmarkhave been added to Gemfiles whenRUBY_VERSION >= '4'.
API Changes
-
Code updated to the latest Elasticsearch 8.19.11 specification.
-
General source code documentation updates.
-
indices.data_streams_stats- New parameter: [List]:expand_wildcardsWhether to expand wildcard expressions to concrete data stream names that are open, closed or both. (options: all, closed, hidden, none, open) -
Inference APIs add [Time]
:timeoutparameter:inference.chat_completion_unifiedinference.completioninference.inferenceinference.putinference.put_alibabacloudinference.put_amazonbedrockinference.put_amazonsagemakerinference.put_anthropicinference.put_azureaistudioinference.put_azureopenaiinference.put_cohereinference.put_deepseekinference.put_elasticsearchinference.put_elserinference.put_googleaistudioinference.put_googlevertexaiinference.put_hugging_faceinference.put_jinaaiinference.put_mistralinference.put_openaiinference.put_voyageaiinference.put_watsonx
-
Update for
ml.infer_trained_model_path:
/_ml/trained_models/{model_id}/deployment/_inferis deprecated since version 8.2.0. The code has been updated to use
/_ml/trained_models/{model_id}/_inferinstead. The response object is different and will return:
{
"inference_results":
[
{"predicted_value": [[1.0,1.0]]}
]
}Instead of:
{"predicted_value": [[1.0,1.0]]}