|
| 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 | + |
1 | 84 | ## Release 8.12.0
|
2 | 85 |
|
3 | 86 | - Added 22 new EXPERIMENTAL APIs and 1 new stable API:
|
|
0 commit comments