Skip to content

Commit 221723e

Browse files
committed
Prep for 8.13.0 release
1 parent 6280c64 commit 221723e

File tree

3 files changed

+96
-3
lines changed

3 files changed

+96
-3
lines changed

CHANGELOG.md

+83
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,86 @@
1+
## Release 8.13.0
2+
3+
- Added the `mapTo($class)` function to Elasticsearch response for mapping the result
4+
of [ES|QL](https://www.elastic.co/guide/en/elasticsearch/reference/current/esql.html)
5+
query to an object of stdClass or of a specific class
6+
[#1398](https://github.com/elastic/elasticsearch-php/issues/1398)
7+
8+
This release introduces 6 new APIs and 6 EXPERIMENTAL APIs.
9+
10+
- Specific changes per endpoints
11+
- `AsyncSearch.status`
12+
- Added the `keep_alive` parameter (time), specify the time interval in which the results (partial or final) for this search will be available.
13+
- `Connector.list`
14+
- Added the following parameters:
15+
- `index_name`: list, a comma-separated list of connector index names to fetch connector documents for;
16+
- `connector_name`: list, a comma-separated list of connector names to fetch connector documents for;
17+
- `service_type`: list, a comma-separated list of connector service types to fetch connector documents for;
18+
- `query`: string, a search string for querying connectors, filtering results by matching against connector names, descriptions, and index names;
19+
- `Connector.updateApiKeyId` (new EXPERIMENTAL API)
20+
- API: https://github.com/elastic/elasticsearch/blob/main/rest-api-spec/src/main/resources/rest-api-spec/api/connector.update_api_key_id.json
21+
- Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/master/update-connector-api-key-id-api.html
22+
- `Connector.updateIndexName` (new EXPERIMENTAL API)
23+
- API: https://github.com/elastic/elasticsearch/blob/main/rest-api-spec/src/main/resources/rest-api-spec/api/connector.update_index_name.json
24+
- Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/master/update-connector-index-name-api.html
25+
- `Connector.updateNative` (new EXPERIMENTAL API)
26+
- API: https://github.com/elastic/elasticsearch/blob/main/rest-api-spec/src/main/resources/rest-api-spec/api/connector.update_native.json
27+
- Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/master/connector-apis.html
28+
- `Connector.updateServiceType` (new EXPERIMENTAL API)
29+
- API: https://github.com/elastic/elasticsearch/blob/main/rest-api-spec/src/main/resources/rest-api-spec/api/connector.update_service_type.json
30+
- Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/master/update-connector-service-type-api.html
31+
- `Connector.updateStatus` (new EXPERIMENTAL API)
32+
- API: https://github.com/elastic/elasticsearch/blob/main/rest-api-spec/src/main/resources/rest-api-spec/api/connector.update_status.json
33+
- Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/master/update-connector-status-api.html
34+
- `ConnectorSyncJob.list`
35+
- Added the `job_type` parameter (list), a comma-separated list of job types.
36+
- `Esql.asyncQuery` (new EXPERIMENTAL API)
37+
- API: https://github.com/elastic/elasticsearch/blob/main/rest-api-spec/src/main/resources/rest-api-spec/api/esql.async_query.json
38+
- Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/master/esql-async-query-api.html
39+
- `Esql.asyncQueryGet` (new API)
40+
- API: https://github.com/elastic/elasticsearch/blob/main/rest-api-spec/src/main/resources/rest-api-spec/api/esql.async_query_get.json
41+
- Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/master/esql-async-query-get-api.html
42+
- `Esql.query`
43+
- Added the `drop_null_columns` parameter (boolean) to sepcify if null columns should be removed from the results. If yes, their name and type will be returned in a new `all_columns` section.
44+
- `Indices.resolveCluster` (new API)
45+
- API: https://github.com/elastic/elasticsearch/blob/main/rest-api-spec/src/main/resources/rest-api-spec/api/get_script.json
46+
- Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-resolve-cluster-api.html
47+
- `Indices.rollover`
48+
- Added the `lazy` parameter (boolean), if set to true, the rollover action will only mark a data stream to signal that it needs to be rolled over at the next write. Only allowed on data streams.
49+
- `Inference.deleteModel`
50+
- The `model_id` parameter has been renamed to `inference_id`.
51+
- `Inference.getModel`
52+
- The `model_id` parameter has been renamed in `inference_id`.
53+
- `Inference.inference`
54+
- The `model_id` parameter has been renamed in `inference_id`.
55+
- `Inference.putModel`
56+
- The `model_id` parameter has been renamed in `inference_id`.
57+
- `Profiling.flamegraph` (new API)
58+
- API: https://github.com/elastic/elasticsearch/blob/main/rest-api-spec/src/main/resources/rest-api-spec/api/profiling.flamegraph.json
59+
- Documentation: https://www.elastic.co/guide/en/observability/current/universal-profiling.html
60+
- `Profiling.stacktraces` (new API)
61+
- API: https://github.com/elastic/elasticsearch/blob/main/rest-api-spec/src/main/resources/rest-api-spec/api/profiling.stacktraces.json
62+
- Documentation: https://www.elastic.co/guide/en/observability/current/universal-profiling.html
63+
- `Security.queryUser` (new API)
64+
- API: https://github.com/elastic/elasticsearch/blob/main/rest-api-spec/src/main/resources/rest-api-spec/api/security.query_user.json
65+
- Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-query-user.html
66+
- `Synonyms.deleteSynonym`
67+
- This API is now stable.
68+
- `Synonyms.deleteSynonymRule`
69+
- This API is now stable.
70+
- `Synonyms.getSynonym`
71+
- This API is now stable.
72+
- `Synonyms.getSynonymRule`
73+
- This API is now stable.
74+
- `Synonyms.getSynonymsSets`
75+
- This API is now stable.
76+
- `Synonyms.putSynonym`
77+
- This API is now stable.
78+
- `Synonyms.putSynonymRule`
79+
- This API is now stable.
80+
- `TextStructure.testGrokPattern` (new API)
81+
- API: https://github.com/elastic/elasticsearch/blob/main/rest-api-spec/src/main/resources/rest-api-spec/api/text_structure.test_grok_pattern.json
82+
- Documentation: https://www.elastic.co/guide/en/elasticsearch/reference/master/test-grok-pattern.html
83+
184
## Release 8.12.0
285

386
- Added 22 new EXPERIMENTAL APIs and 1 new stable API:

docs/release-notes.asciidoc

+12-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[[release-notes]]
22
== Release notes
33

4-
* <<rn-8-11-0>>
4+
* <<rn-8-13-0>>
5+
* <<rn-8-12-0>>
56
* <<rn-8-11-0>>
67
* <<rn-8-10-0>>
78
* <<rn-8-9-0>>
@@ -44,11 +45,20 @@
4445
* <<rn-7-0-1>>
4546
* <<rn-7-0-0>>
4647

48+
[discrete]
49+
[[rn-8-13-0]]
50+
=== 8.13.0
51+
52+
* Updated the API endpoints to Elasticserach 8.13.0
53+
* Added the Added the mapTo($class) function to Elasticsearch response for mapping the result
54+
of https://www.elastic.co/guide/en/elasticsearch/reference/current/esql.html[ES|QL]
55+
query to an object of stdClass or a specific class https://github.com/elastic/elasticsearch-php/issues/1398[#1398]
56+
4757
[discrete]
4858
[[rn-8-12-0]]
4959
=== 8.12.0
5060

51-
* Updated the API endpoints to Elasticserach 8.11.0
61+
* Updated the API endpoints to Elasticserach 8.12.0
5262
* Tested the library with PHP 8.3
5363

5464
[discrete]

src/Client.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
final class Client implements ClientInterface
2929
{
3030
const CLIENT_NAME = 'es';
31-
const VERSION = '8.12.0';
31+
const VERSION = '8.13.0';
3232
const API_COMPATIBILITY_HEADER = '%s/vnd.elasticsearch+%s; compatible-with=8';
3333

3434
use ClientEndpointsTrait;

0 commit comments

Comments
 (0)