From 3fe247a3acecd0df92e5aed46b291a3a1575d3c4 Mon Sep 17 00:00:00 2001 From: Vacha Shah Date: Tue, 26 Jul 2022 14:03:36 -0700 Subject: [PATCH] Bumping client version to 2.0.1 (#137) (#140) * Bumping version to 2.0.1 Signed-off-by: Vacha Shah * Updating and simplifying compatibility matrix Signed-off-by: Vacha Shah * Adding OpenSearch 2.1.0 to compatibility matrix Signed-off-by: Vacha Shah (cherry picked from commit 25a1a6f29b6f9977f655e7f369f29d8bbf04fe1b) --- .github/workflows/test-compatibility.yml | 2 ++ COMPATIBILITY.md | 17 +++++------------ internal/build/go.mod | 2 +- internal/version/version.go | 2 +- opensearchapi/test/go.mod | 2 +- 5 files changed, 10 insertions(+), 15 deletions(-) diff --git a/.github/workflows/test-compatibility.yml b/.github/workflows/test-compatibility.yml index 485ff034f..4b81277cb 100644 --- a/.github/workflows/test-compatibility.yml +++ b/.github/workflows/test-compatibility.yml @@ -19,6 +19,8 @@ jobs: - { opensearch_version: 1.3.0 } - { opensearch_version: 1.3.1 } - { opensearch_version: 2.0.0 } + - { opensearch_version: 2.0.1 } + - { opensearch_version: 2.1.0 } steps: - uses: actions/checkout@v2 with: { fetch-depth: 1 } diff --git a/COMPATIBILITY.md b/COMPATIBILITY.md index bdcc9ce8e..be5d66d5f 100644 --- a/COMPATIBILITY.md +++ b/COMPATIBILITY.md @@ -5,19 +5,12 @@ The below matrix shows the compatibility of the [`opensearch-go`](https://pkg.go.dev/github.com/opensearch-project/opensearch-go) with versions of [`OpenSearch`](https://opensearch.org/downloads.html#opensearch). -| OpenSearch Version | Client Version | +| Client Version | OpenSearch Version | | --- | --- | -| 1.0.0 | 1.0.0 | -| 1.0.1 | 1.0.0 | -| 1.1.0 | 1.1.0 | -| 1.2.0 | 1.1.0 | -| 1.2.1 | 1.1.0 | -| 1.2.2 | 1.1.0 | -| 1.2.3 | 1.1.0 | -| 1.2.4 | 1.1.0 | -| 1.3.0 | 1.1.0 | -| 1.3.1 | 1.1.0 | -| 2.0.0 | 2.0.0 | +| 1.0.0 | 1.0.0-1.0.1 | +| 1.1.0 | 1.1.0-1.3.1 | +| 2.0.0 | 2.0.0-2.1.0 | +| 2.0.1 | 2.0.0-2.1.0 | ## Upgrading diff --git a/internal/build/go.mod b/internal/build/go.mod index fa01aa2f6..cdebfd1bd 100644 --- a/internal/build/go.mod +++ b/internal/build/go.mod @@ -6,7 +6,7 @@ replace github.com/opensearch-project/opensearch-go/v2 => ../../ require ( github.com/alecthomas/chroma v0.8.2 - github.com/opensearch-project/opensearch-go/v2 v2.0.0 + github.com/opensearch-project/opensearch-go/v2 v2.0.1 github.com/spf13/cobra v1.1.3 golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2 golang.org/x/tools v0.1.0 diff --git a/internal/version/version.go b/internal/version/version.go index b6830d359..d3b5bdd02 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -28,4 +28,4 @@ package version // Client returns the client version as a string. // -const Client = "2.0.0" +const Client = "2.0.1" diff --git a/opensearchapi/test/go.mod b/opensearchapi/test/go.mod index 6350a5b0b..9e7154ada 100644 --- a/opensearchapi/test/go.mod +++ b/opensearchapi/test/go.mod @@ -5,7 +5,7 @@ go 1.11 replace github.com/opensearch-project/opensearch-go/v2 => ../../ require ( - github.com/opensearch-project/opensearch-go/v2 v2.0.0 + github.com/opensearch-project/opensearch-go/v2 v2.0.1 gopkg.in/yaml.v2 v2.4.0 )