Skip to content

Commit b9f6f3a

Browse files
committed
Updated the CHANGELOG and release-notes
1 parent 4fab3de commit b9f6f3a

File tree

2 files changed

+302
-0
lines changed

2 files changed

+302
-0
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## Release 9.2.0
2+
3+
- Updated the APIs to Elasticsearch [9.2.0](https://www.elastic.co/docs/release-notes/elasticsearch#elasticsearch-9.2.0-release-notes)
4+
- Added the ES|QL query builder [#1462](https://github.com/elastic/elasticsearch-php/pull/1462)
5+
16
## Release 9.1.0
27

38
- Updated the APIs to Elasticsearch [9.1.0](https://www.elastic.co/docs/release-notes/elasticsearch#elasticsearch-9.1.0-release-notes)

docs/release-notes/index.md

Lines changed: 297 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,303 @@ To check for security updates, go to [Security announcements for the Elastic sta
2020
% ### Fixes [elasticsearch-php-client-next-fixes]
2121
% *
2222

23+
## 9.2.0 [elasticsearch-php-client-920-release-notes]
24+
25+
### Features and enhancements [elasticsearch-php-client-920-features-enhancements]
26+
27+
- Added the ES|QL query builder [#1462](https://github.com/elastic/elasticsearch-php/pull/1462)
28+
29+
This query builder should simplify the usage of the Elasticsearch Query Language ([ES|QL](https://www.elastic.co/docs/reference/query-languages/esql)) in PHP.
30+
31+
Example usage:
32+
33+
```php
34+
$query = Esql\Query::from("books", "books*")
35+
->where('author == "King"', 'year == 1982')
36+
->limit(10);
37+
echo $query;
38+
```
39+
40+
Output:
41+
42+
```
43+
FROM books, books*
44+
| WHERE author == "King" AND year == 1982
45+
| LIMIT 10
46+
```
47+
48+
This release includes the following endpoint changes for [Elasticsearch 9.2.0](https://www.elastic.co/docs/release-notes/elasticsearch#elasticsearch-9.2.0-release-notes):
49+
50+
### AsyncSearch.submit
51+
52+
- Added the `project_routing` parameter (string), a Lucene query using project metadata tags to limit which projects to search, such as _alias:_origin or _alias:*pr*. Only supported in serverless.
53+
54+
### Cat.aliases
55+
56+
- Added the `bytes` parameter (string), the unit in which to display byte values
57+
- Added the `time` parameter (string), the unit in which to display time values
58+
59+
### Cat.componentTemplates
60+
61+
- Added the `bytes` parameter (string), the unit in which to display byte values
62+
- Added the `time` parameter (string), the unit in which to display time values
63+
64+
### Cat.count
65+
66+
- Added the `project_routing` parameter (string), a Lucene query using project metadata tags to limit which projects to search, such as _alias:_origin or _alias:*pr*. Only supported in serverless.
67+
- Added the `bytes` parameter (string), the unit in which to display byte values
68+
- Added the `time` parameter (string), the unit in which to display time values
69+
70+
### Cat.fielddata
71+
72+
- Added the `time` parameter (string), the unit in which to display time values
73+
74+
### Cat.health
75+
76+
- Added the `bytes` parameter (string), the unit in which to display byte values
77+
78+
### Cat.master
79+
80+
- Added the `bytes` parameter (string), the unit in which to display byte values
81+
- Added the `time` parameter (string), the unit in which to display time values
82+
83+
### Cat.mlDatafeeds
84+
85+
- Added the `bytes` parameter (string), the unit in which to display byte values
86+
87+
### Cat.nodeattrs
88+
89+
- Added the `bytes` parameter (string), the unit in which to display byte values
90+
- Added the `time` parameter (string), the unit in which to display time values
91+
92+
### Cat.pendingTasks
93+
94+
- Added the `bytes` parameter (string), the unit in which to display byte values
95+
96+
### Cat.plugins
97+
98+
- Added the `bytes` parameter (string), the unit in which to display byte values
99+
- Added the `time` parameter (string), the unit in which to display time values
100+
101+
### Cat.repositories
102+
103+
- Added the `bytes` parameter (string), the unit in which to display byte values
104+
- Added the `time` parameter (string), the unit in which to display time values
105+
106+
### Cat.segments
107+
108+
- Added the `time` parameter (string), the unit in which to display time values
109+
- Added the `ignore_unavailable` parameter (bool), whether specified concrete indices should be ignored when unavailable (missing or closed). Only allowed when providing an index expression.
110+
- Added the `ignore_throttled` (bool), whether specified concrete, expanded or aliased indices should be ignored when throttled. Only allowed when providing an index expression.
111+
- Added the `allow_no_indices` (bool), whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified). Only allowed when providing an index expression.
112+
- Added the `expand_wildcards` parameter (string), whether to expand wildcard expression to concrete indices that are open, closed or both.
113+
- Added the `allow_closed` parameter (bool), if true, allow closed indices to be returned in the response otherwise if false, keep the legacy behaviour of throwing an exception if index pattern matches closed indices
114+
115+
### Cat.snapshots
116+
117+
- Added the `bytes` paremeter (string), the unit in which to display byte values
118+
119+
### Cat.tasks
120+
121+
- Added the `bytes` paremeter (string), the unit in which to display byte values
122+
123+
### Cat.templates
124+
125+
- Added the `bytes` parameter (string), the unit in which to display byte values
126+
- Added the `time` parameter (string), the unit in which to display time values
127+
128+
### Cat.threadPool
129+
130+
- Added the `bytes` parameter (string), the unit in which to display byte values
131+
132+
### Cat.transforms
133+
134+
- Added the `bytes` parameter (string), the unit in which to display byte values
135+
136+
### Cluster.allocationExplain
137+
138+
- Added the `index` parameter (string), specifies the name of the index that you would like an explanation for
139+
- Added the `shard` paremeter (int), specifies the ID of the shard that you would like an explanation for
140+
- Added the `primary` parameter (bool), if true, returns explanation for the primary shard for the given shard ID
141+
- Added the `current_node` parameter (string), specifies the node ID or the name of the node to only explain a shard that is currently located on the specified node
142+
143+
### Connector.lastSync
144+
145+
This experimental endpoint has been removed.
146+
147+
### Eql.search
148+
149+
- Added the `project_routing` parameter (string), a Lucene query using project metadata tags to limit which projects to search, such as _alias:_origin or _alias:*pr*. Only supported in serverless.
150+
151+
### Indices.cancelMigrateReindex (new API)
152+
153+
- API: https://github.com/elastic/elasticsearch/blob/main/rest-api-spec/src/main/resources/rest-api-spec/api/indices.cancel_migrate_reindex.json
154+
- Documentation: https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-cancel-migrate-reindex
155+
156+
### Indices.createFrom (new API)
157+
158+
- API: https://github.com/elastic/elasticsearch/blob/main/rest-api-spec/src/main/resources/rest-api-spec/api/indices.create_from.json
159+
- Documentation: https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-create-from
160+
161+
### Indices.getDataStreamMappings (new API)
162+
163+
- API: https://github.com/elastic/elasticsearch/blob/main/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_data_stream_mappings.json
164+
- Documentation: https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-get-data-stream-mappings
165+
166+
### Indices.getMigrateReindexStatus (new API)
167+
168+
- API: https://github.com/elastic/elasticsearch/blob/main/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_migrate_reindex_status.json
169+
- Documentation: https://www.elastic.co/docs/api/doc/elasticsearch/group/endpoint-migration
170+
171+
### Indices.migrateReindex (new API)
172+
173+
- API: https://github.com/elastic/elasticsearch/blob/main/rest-api-spec/src/main/resources/rest-api-spec/api/indices.migrate_reindex.json
174+
- Documentation: https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-migrate-reindex
175+
176+
### Indices.putDataStreamMappings (new API)
177+
178+
- API: https://github.com/elastic/elasticsearch/blob/main/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_data_stream_mappings.json
179+
- Documentation: https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-put-data-stream-mappings
180+
181+
### Inference.chatCompletionUnified
182+
183+
- Added `timeout` parameter (int|string), specifies the amount of time to wait for the inference request to complete.
184+
185+
### Inference.completion
186+
187+
- Added `timeout` parameter (int|string), specifies the amount of time to wait for the inference request to complete.
188+
189+
### Inference.inference
190+
191+
- Added `timeout` parameter (int|string), specifies the amount of time to wait for the inference request to complete.
192+
193+
### Inference.put
194+
195+
- Added `timeout` parameter (int|string), specifies the amount of time to wait for the inference request to complete.
196+
197+
### Inference.putAi21 (new API)
198+
199+
- API: https://github.com/elastic/elasticsearch/blob/main/rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_ai21.json
200+
- Documentation: https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-inference-put-ai21
201+
202+
### Inference.putAmazonbedrock
203+
204+
- Added `timeout` parameter (int|string), specifies the amount of time to wait for the inference request to complete.
205+
206+
### Inference.putAmazonsagemaker
207+
208+
- Added `timeout` parameter (int|string), specifies the amount of time to wait for the inference request to complete.
209+
210+
### Inference.putAnthropic
211+
212+
- Added `timeout` parameter (int|string), specifies the amount of time to wait for the inference request to complete.
213+
214+
### Inference.putAzureaistudio
215+
216+
- Added `timeout` parameter (int|string), specifies the amount of time to wait for the inference request to complete.
217+
218+
### Inference.putAzureopenai
219+
220+
- Added `timeout` parameter (int|string), specifies the amount of time to wait for the inference request to complete.
221+
222+
### Inference.putCohere
223+
224+
- Added `timeout` parameter (int|string), specifies the amount of time to wait for the inference request to complete.
225+
226+
### Inference.putContextualai (new API)
227+
228+
- API: https://github.com/elastic/elasticsearch/blob/main/rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_contextualai.json
229+
- Documentation: https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-inference-put-contextualai
230+
231+
### Inference.putDeepseek
232+
233+
- Added `timeout` parameter (int|string), specifies the amount of time to wait for the inference request to complete.
234+
235+
### Inference.putElasticsearch
236+
237+
- Added `timeout` parameter (int|string), specifies the amount of time to wait for the inference request to complete.
238+
239+
### Inference.putElser
240+
241+
- Added `timeout` parameter (int|string), specifies the amount of time to wait for the inference request to complete.
242+
243+
### Inference.putGoogleaistudio
244+
245+
- Added `timeout` parameter (int|string), specifies the amount of time to wait for the inference request to complete.
246+
247+
### Inference.putGooglevertexai
248+
249+
- Added `timeout` parameter (int|string), specifies the amount of time to wait for the inference request to complete.
250+
251+
### Inference.putHuggingFace
252+
253+
- Added `timeout` parameter (int|string), specifies the amount of time to wait for the inference request to complete.
254+
255+
### Inference.putJinaai
256+
257+
- Added `timeout` parameter (int|string), specifies the amount of time to wait for the inference request to complete.
258+
259+
### Inference.putLlama (new API)
260+
261+
- API: https://github.com/elastic/elasticsearch/blob/main/rest-api-spec/src/main/resources/rest-api-spec/api/inference.put_llama.json
262+
- Documentation: https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-inference-put-llama
263+
264+
### Inference.putMistral
265+
266+
- Added `timeout` parameter (int|string), specifies the amount of time to wait for the inference request to complete.
267+
268+
### Inference.putOpenai
269+
270+
- Added `timeout` parameter (int|string), specifies the amount of time to wait for the inference request to complete.
271+
272+
### Inference.putVoyageai
273+
274+
- Added `timeout` parameter (int|string), specifies the amount of time to wait for the inference request to complete.
275+
276+
### Inference.putWatsonx
277+
278+
- Added `timeout` parameter (int|string), specifies the amount of time to wait for the inference request to complete.
279+
280+
### Inference.rerank
281+
282+
- Added `timeout` parameter (int|string), specifies the amount of time to wait for the inference request to complete.
283+
284+
### Inference.sparseEmbedding
285+
286+
- Added `timeout` parameter (int|string), specifies the amount of time to wait for the inference request to complete.
287+
288+
### Inference.streamCompletion
289+
290+
- Added `timeout` parameter (int|string), specifies the amount of time to wait for the inference request to complete.
291+
292+
### Inference.textEmbedding
293+
294+
- Added `timeout` parameter (int|string), specifies the amount of time to wait for the inference request to complete.
295+
296+
### Project.tags (new API)
297+
298+
- API: https://github.com/elastic/elasticsearch/blob/main/rest-api-spec/src/main/resources/rest-api-spec/api/project.tags.json
299+
- Documentation: https://www.elastic.co/docs/api/doc/elasticsearch-serverless/operation/operation-project-tags
300+
301+
### Security.getStats (new API)
302+
303+
- API: https://github.com/elastic/elasticsearch/blob/main/rest-api-spec/src/main/resources/rest-api-spec/api/security.get_stats.json
304+
- Documentation: https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-security-get-stats
305+
306+
### Simulate.ingest
307+
308+
- Added the `merge_type` parameter (string), the mapping merge type if mapping overrides are being provided in mapping_addition.The allowed values are one of index or template.The index option merges mappings the way they would be merged into an existing index.The template option merges mappings the way they would be merged into a template.
309+
310+
### Sql.query
311+
312+
- Added the `project_routing` parameter (string), a Lucene query using project metadata tags to limit which projects to search, such as _alias:_origin or _alias:*pr*. Only supported in serverless.
313+
314+
### Transform.setUpgradeMode (new API)
315+
316+
- API: https://github.com/elastic/elasticsearch/blob/main/rest-api-spec/src/main/resources/rest-api-spec/api/transform.set_upgrade_mode.json
317+
- Documentation: https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-transform-set-upgrade-mode
318+
319+
23320
## 9.1.0 [elasticsearch-php-client-910-release-notes]
24321

25322
This release includes the following endpoint changes for [Elasticsearch 9.1.0](https://www.elastic.co/docs/release-notes/elasticsearch#elasticsearch-9.1.0-release-notes):

0 commit comments

Comments
 (0)