|
| 1 | +## 7.6.0 |
| 2 | + |
| 3 | +### Client |
| 4 | + |
| 5 | +- Support for Elasticsearch version `7.6`. |
| 6 | +- Last release supporting Ruby 2.4. Ruby 2.4 has reached it's end of life and no more security updates will be provided, users are suggested to update to a newer version of Ruby. |
| 7 | + |
| 8 | +#### API Key Support |
| 9 | +The client now supports API Key Authentication, check "Authentication" on the [transport README](https://github.com/elastic/elasticsearch-ruby/tree/7.x/elasticsearch-transport#authentication) for information on how to use it. |
| 10 | + |
| 11 | +#### X-Opaque-Id Support |
| 12 | + |
| 13 | +The client now supports identifying running tasks with X-Opaque-Id. Check [transport README](https://github.com/elastic/elasticsearch-ruby/tree/7.x/elasticsearch-transport#identifying-running-tasks-with-x-opaque-id) for information on how to use X-Opaque-Id. |
| 14 | + |
| 15 | +#### Faraday migrated to 1.0 |
| 16 | + |
| 17 | +We're now using version 1.0 of Faraday: |
| 18 | +- The client initializer was modified but this should not disrupt final users at all, check [this commit](https://github.com/elastic/elasticsearch-ruby/commit/0fdc6533f4621a549a4cb99e778bbd827461a2d0) for more information. |
| 19 | +- Migrated error checking to remove the deprecated `Faraday::Error` namespace. |
| 20 | +- **This change is not compatible with [Typhoeus](https://github.com/typhoeus/typhoeus)**. The latest release is 1.3.1, but it's [still using the deprecated `Faraday::Error` namespace](https://github.com/typhoeus/typhoeus/blob/v1.3.1/lib/typhoeus/adapters/faraday.rb#L100). This has been fixed on master, but the last release was November 6, 2018. Version 1.4.0 should be ok once it's released. |
| 21 | +- Note: Faraday 1.0 drops official support for JRuby. It installs fine on the tests we run with JRuby in this repo, but it's something we should pay attention to. |
| 22 | + |
| 23 | +Reference: [Upgrading - Faraday 1.0](https://github.com/lostisland/faraday/blob/master/UPGRADING.md) |
| 24 | + |
| 25 | +[Pull Request](https://github.com/elastic/elasticsearch-ruby/pull/808) |
| 26 | + |
| 27 | +### API |
| 28 | + |
| 29 | +#### API Changes: |
| 30 | +- `cat.indices`: argument `bytes` options were: `b,k,m,g` and are now `b,k,kb,m,mb,g,gb,t,tb,p,pb`. |
| 31 | +- `delete_by_query`: New parameter `analyzer` - The analyzer to use for the query string. |
| 32 | +- `indices.put_template`: Removed parameters: `timeout`, `flat_settings`. |
| 33 | +- `msearch_template`: New Parameter `ccs_minimize_roundtrips` - Indicates whether network round-trips should be minimized as part of cross-cluster search requests execution. |
| 34 | +- `rank_eval`: New parameter `search_type` - Search operation type (options: `query_then_fetch,dfs_query_then_fetch`). |
| 35 | +- `search_template`: New parameter `ccs_minimize_roundtrips` - Indicates whether network round-trips should be minimized as part of cross-cluster search requests execution. |
| 36 | + |
| 37 | +#### New API endpoints: |
| 38 | +- `get_script_context` |
| 39 | +- `get_script_languages` |
| 40 | + |
| 41 | +#### Warnings: |
| 42 | +Synced flush is deprecated and will be removed in 8.0. |
| 43 | + |
| 44 | +### X-Pack |
| 45 | + |
| 46 | +#### New API endpoints: |
| 47 | +- `ml/delete_trained_model` |
| 48 | +- `ml/explain_data_frame_analytics` |
| 49 | +- `ml/get_trained_models` |
| 50 | +- `ml/get_trained_models_stats` |
| 51 | +- `ml/put_trained_model` |
| 52 | + |
| 53 | +#### API changes: |
| 54 | +- `license/get`: Added parameter `accept_enterprise`. |
| 55 | +- `ml/delete_data_frame_analytics` Added parameter `force`. |
| 56 | +- `monitoring/bulk` - Removed parameter `system_version`. |
| 57 | + |
1 | 58 | ## 7.5.0
|
2 | 59 |
|
3 | 60 | - Support for Elasticsearch 7.5.
|
|
0 commit comments