elastic / elasticsearch-rs

Official Elasticsearch Rust Client
https://www.elastic.co/guide/en/elasticsearch/client/rust-api/current/index.html
Apache License 2.0
695 stars 70 forks source link

Generate beta and experimental APIs, guarded by Cargo features #165

Closed swallez closed 3 years ago

swallez commented 3 years ago

Generates all APIs, including beta and experimental. Non-stable APIs are guarded by new Cargo features beta-apis and experimental-apis (which also includes beta).

This allows applications to only have access to stable APIs (as previously) by default, and opt-in for unstable APIs, at their own risk since they can change in subsequent releases.

This also fixes the yaml-test-runner that relies on the tasks apis that were previously incorrectly marked as stable and are now experimental.

Also updates the test suite names to the new free and platinum names. It also fixes indice deletion in test setup, that must now also include data streams.

Backport of #161 and #162