From aaab0c798d9c3de8ff85df60c8055ee734ca38d3 Mon Sep 17 00:00:00 2001 From: Vacha Shah Date: Tue, 31 May 2022 21:38:57 -0700 Subject: [PATCH] Bump client version to 2.0 (#53) Signed-off-by: Vacha Shah --- COMPATIBILITY.md | 8 +++++++- api_generator/Cargo.toml | 2 +- opensearch/Cargo.toml | 2 +- yaml_test_runner/Cargo.toml | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/COMPATIBILITY.md b/COMPATIBILITY.md index 6297f449..d377a1cc 100644 --- a/COMPATIBILITY.md +++ b/COMPATIBILITY.md @@ -1,4 +1,5 @@ - [Compatibility with OpenSearch](#compatibility-with-opensearch) +- [Upgrading](#upgrading) ## Compatibility with OpenSearch @@ -15,4 +16,9 @@ The below matrix shows the compatibility of the [`opensearch-rs`](https://docs.r | 1.2.3 | 1.0.0 | | 1.2.4 | 1.0.0 | | 1.3.0 | 1.0.0 | -| 1.3.1 | 1.0.0 | \ No newline at end of file +| 1.3.1 | 1.0.0 | +| 2.0.0 | 2.0.0 | + +## Upgrading + +Major versions of OpenSearch introduce breaking changes that require careful upgrades of the client. While `opensearch-rs-client` 2.0.0 works against OpenSearch 1.3.1, certain deprecated features removed in OpenSearch 2.0 have also been removed from the client. Please refer to the [OpenSearch documentation](https://opensearch.org/docs/latest/clients/index/) for more information. \ No newline at end of file diff --git a/api_generator/Cargo.toml b/api_generator/Cargo.toml index 53f24c4a..1b9f1101 100644 --- a/api_generator/Cargo.toml +++ b/api_generator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "api_generator" -version = "1.0.0" +version = "2.0.0" publish = false description = "Generates source code for opensearch package, from the OpenSearch REST API specs" repository = "https://github.com/opensearch-project/opensearch-rs" diff --git a/opensearch/Cargo.toml b/opensearch/Cargo.toml index e869f8a4..df9864e8 100644 --- a/opensearch/Cargo.toml +++ b/opensearch/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "opensearch" -version = "1.0.0" +version = "2.0.0" edition = "2018" authors = ["Elastic and Contributors", "OpenSearch Contributors"] description = "Official OpenSearch Rust client" diff --git a/yaml_test_runner/Cargo.toml b/yaml_test_runner/Cargo.toml index dad1ddc4..7e4c7caa 100644 --- a/yaml_test_runner/Cargo.toml +++ b/yaml_test_runner/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "yaml_test_runner" -version = "1.0.0" +version = "2.0.0" publish = false edition = "2018" authors = ["Elastic and Contributors", "OpenSearch Contributors"]