From 616ccfda9bb902f0533138ec3e24082f9309e8e7 Mon Sep 17 00:00:00 2001 From: Vacha Shah Date: Wed, 20 Jul 2022 16:31:22 -0700 Subject: [PATCH 1/3] Bumping version to 2.0.1 Signed-off-by: Vacha Shah --- internal/build/go.mod | 2 +- internal/version/version.go | 2 +- opensearchapi/test/go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 ) From f14a4389b96664423dfba162f0f6cb0ed7ff3f68 Mon Sep 17 00:00:00 2001 From: Vacha Shah Date: Wed, 20 Jul 2022 16:36:55 -0700 Subject: [PATCH 2/3] Updating and simplifying compatibility matrix Signed-off-by: Vacha Shah --- COMPATIBILITY.md | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/COMPATIBILITY.md b/COMPATIBILITY.md index 443e2f377..2705cb39c 100644 --- a/COMPATIBILITY.md +++ b/COMPATIBILITY.md @@ -5,22 +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 | -| 1.3.2 | 1.1.0 | -| 1.3.3 | 1.1.0 | -| 2.0.0 | 2.0.0 | -| 2.0.1 | 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.0.1 | +| 2.0.1 | 2.0.0-2.0.1 | ## Upgrading From a025b4a37f9005aae89fd721c1d3a83ffe67b045 Mon Sep 17 00:00:00 2001 From: Vacha Shah Date: Thu, 21 Jul 2022 10:22:01 -0700 Subject: [PATCH 3/3] Adding OpenSearch 2.1.0 to compatibility matrix Signed-off-by: Vacha Shah --- .github/workflows/test-compatibility.yml | 1 + COMPATIBILITY.md | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-compatibility.yml b/.github/workflows/test-compatibility.yml index 02460a757..ba3c002d7 100644 --- a/.github/workflows/test-compatibility.yml +++ b/.github/workflows/test-compatibility.yml @@ -22,6 +22,7 @@ jobs: - { opensearch_version: 1.3.3 } - { 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 2705cb39c..d4cc0a309 100644 --- a/COMPATIBILITY.md +++ b/COMPATIBILITY.md @@ -9,8 +9,8 @@ The below matrix shows the compatibility of the [`opensearch-go`](https://pkg.go | --- | --- | | 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.0.1 | -| 2.0.1 | 2.0.0-2.0.1 | +| 2.0.0 | 2.0.0-2.1.0 | +| 2.0.1 | 2.0.0-2.1.0 | ## Upgrading