Skip to content

Commit 0165ee8

Browse files
committed
[DOCS] Adds release notes for 9.2.0, 9.1.2
1 parent d6dbadf commit 0165ee8

File tree

1 file changed

+88
-0
lines changed

1 file changed

+88
-0
lines changed

CHANGELOG.md

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,93 @@
11
**See the full release notes on the official documentation website: https://www.elastic.co/docs/release-notes/elasticsearch/clients/ruby**
22

3+
# 9.2.0
4+
5+
## Gem
6+
7+
* Tested versions of Ruby for 9.2.0: Ruby (MRI) 3.2, 3.3, 3.4, head, JRuby 9.3, JRuby 9.4 and JRuby 10.
8+
* Cleaned up deprecated code for code generation in `elasticsearch-api/utils`.
9+
10+
## Elasticsearch API
11+
12+
Code updated to the latest Elasticsearch 9.2 specification.
13+
14+
### API Updates
15+
16+
* `async_search.submit`, `cat.count`, `count`, `eql.search`, `field_caps`, `indices.resolve_index`. `msearch`, `msearch_template`, `open_point_in_time`, `search`, `search_mvt`, `search_template`, `sql.query` - New parameter:
17+
* `:project_routing`. Specifies a subset of projects to target for the search using project metadata tags in a subset of Lucene query syntax. Supported in serverless only.
18+
* `cluster.allocation_explain` - New parameters:
19+
* [String] `:index` The name of the index that you would like an explanation for.
20+
* [Integer] `:shard` An identifier for the shard that you would like an explanation for.
21+
* [Boolean] `:primary` If true, returns an explanation for the primary shard for the specified shard ID.
22+
* [String] `:current_node` Explain a shard only if it is currently located on the specified node name or node ID.
23+
* `get` - New parameter:
24+
* [Boolean] `:_source_exclude_vectors` Whether vectors should be excluded from _source
25+
* `indices.resolve_index` - New parameter:
26+
* [String, Array<String>] `:mode` Filter indices by index mode - standard, lookup, time_series, etc. Comma-separated list of IndexMode. Empty means no filter.
27+
* `search` - New parameter:
28+
* [Boolean] `:_source_exclude_vectors` Whether vectors should be excluded from _source.
29+
* `security.update_settings` - New parameter:
30+
* [String] `:merge_type` The mapping merge type if mapping overrides are being provided in mapping_addition.
31+
32+
### Breaking change - request body required
33+
34+
The `:body` parameter is now required in the following APIs:
35+
* `close_point_in_time`
36+
* `fleet.search`
37+
* `graph.explore`
38+
* `index_lifecycle_management.move_to_step`
39+
* `index_lifecycle_management.put_lifecycle`
40+
* `indices.analyze`
41+
* `indices.put_data_lifecycle`
42+
* `indices.put_data_stream_options`
43+
* `indices.shrink`
44+
* `indices.split`
45+
* `inference.completion`
46+
* `inference.inference`
47+
* `inference.put_alibabacloud`
48+
* `inference.put_amazonbedrock`
49+
* `inference.put_amazonsagemaker`
50+
* `inference.put_anthropic`
51+
* `inference.put_azureaistudio`
52+
* `inference.put_azureopenai`
53+
* `inference.put_cohere`
54+
* `inference.put_custom`
55+
* `inference.put_deepseek`
56+
* `inference.put_elasticsearch`
57+
* `inference.put_elser`
58+
* `inference.put_googleaistudio`
59+
* `inference.put_googlevertexai`
60+
* `inference.put_hugging_face`
61+
* `inference.put_jinaai`
62+
* `inference.put_mistral`
63+
* `inference.put_openai`
64+
* `inference.put_voyageai`
65+
* `inference.put_watsonx`
66+
* `inference.rerank`
67+
* `inference.sparse_embedding`
68+
* `inference.stream_completion`
69+
* `inference.text_embedding`
70+
* `render_search_template`
71+
* `scripts_painless_execute`
72+
* `snapshot_lifecycle_management.put_lifecycle`
73+
* `terms_enum`
74+
75+
### New APIs
76+
77+
* `indices.get_data_stream_mappings` - Get mapping information for one or more data streams. [Documentation](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-get-data-stream-mappings).
78+
* `indices.put_data_stream_mappings` - Update data stream mappings. [Documentation](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-put-data-stream-mappings).
79+
* `inference.put_ai21` - Create an inference endpoint to perform an inference task with the `ai21` service. [Documentation](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-inference-put-ai21)
80+
* `inference.put_contextualai` - Create an inference endpoint to perform an inference task with the `contexualai` service. [Documentation](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-inference-put-contextualai)
81+
* `inference.put_llama` - Create an inference endpoint to perform an inference task with the `llama` service. [Documentation](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-inference-put-llama)
82+
* `project.tags` (Experimental) - Return tags defined for the project.
83+
* `security.get_stats` - Gather security usage statistics from all node(s) within the cluster. [Documentation](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-get-stats)
84+
85+
# 9.1.2
86+
87+
* Fixes [2758](https://github.com/elastic/elasticsearch-ruby/issues/2758) - `msearch`, `bulk` and other NDJSON endpoints overriding headers for `content-type` and `accept`. [Pull Request](https://github.com/elastic/elasticsearch-ruby/pull/2759).
88+
* Adds `transform.set_upgrade_mode`.
89+
* Updates source code documentation from latest 9.1 Elasticsearch specification.
90+
391
# 9.1.1
492

593
## Elasticsearch API

0 commit comments

Comments
 (0)