Skip to content

Commit c6a9389

Browse files
authored
Bumped Version 3.0.0 (#180)
Signed-off-by: Theo Truong <[email protected]>
1 parent e690422 commit c6a9389

File tree

5 files changed

+33
-26
lines changed

5 files changed

+33
-26
lines changed

CHANGELOG.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
# CHANGELOG
22
Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
3-
43
## [Unreleased]
54
### Added
5+
### Changed
6+
### Deprecated
7+
### Removed
8+
### Fixed
9+
### Security
10+
11+
## [3.0.0]
12+
### Added
613
- Added `remote_store.restore` action ([#176](https://github.com/opensearch-project/opensearch-ruby/pull/176))
714
- Added API Generator ([#139](https://github.com/opensearch-project/opensearch-ruby/issues/139))
815
- Added Security API through API Generator ([#179](https://github.com/opensearch-project/opensearch-ruby/pull/179))

COMPATIBILITY.md

+8-24
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,11 @@
1-
- [Compatibility with OpenSearch](#compatibility-with-opensearch)
2-
- [Upgrading](#upgrading)
1+
# Compatibility with OpenSearch
32

4-
## Compatibility with OpenSearch
3+
The below matrix shows the compatibility of the [`opensearch-ruby`](https://rubygems.org/gems/opensearch-ruby) with versions of [`OpenSearch`](https://opensearch.org/downloads.html#opensearch). In the vast majority of cases, a minor version upgrade of the OpenSearch cluster does not affect how your application's existing features interact with the cluster via the Ruby client. However, such an upgrade can introduce new endpoints that your current version of the client does not support. In this case, you must upgrade the client to the version shown in the table below (or higher) to use the new endpoints.
54

6-
The below matrix shows the compatibility of the [`opensearch-ruby`](https://rubygems.org/gems/opensearch-ruby) with versions of [`OpenSearch`](https://opensearch.org/downloads.html#opensearch).
5+
If your Server Version is higher than those listed in the table below, you should use the newest client. If the newest client still does not support the endpoint you need, please open an issue and let us know.
76

8-
| OpenSearch Version | Client Version |
9-
| --- | --- |
10-
| 1.0.0 | 1.0.0 |
11-
| 1.0.1 | 1.0.0 |
12-
| 1.1.0 | 1.0.0 |
13-
| 1.2.0 | 1.0.0 |
14-
| 1.2.1 | 1.0.0 |
15-
| 1.2.2 | 1.0.0 |
16-
| 1.2.3 | 1.0.0 |
17-
| 1.2.4 | 1.0.0 |
18-
| 1.3.0 | 1.0.0 |
19-
| 1.3.1 | 1.0.0 |
20-
| 1.3.2 | 1.0.0 |
21-
| 1.3.3 | 1.0.0 |
22-
| 2.0.0 | 2.0.2 |
23-
| 2.0.1 | 2.0.2 |
24-
25-
## Upgrading
26-
27-
Major versions of OpenSearch introduce breaking changes that require careful upgrades of the client. While `opensearch-ruby-client` 2.0.2 works against the latest OpenSearch 1.x, 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.
7+
| Server Version | Client Version |
8+
|----------------|----------------|
9+
| 1.x | 1.0 |
10+
| 2.4 | 2.2 |
11+
| 2.x | 3.0 |

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@ See [USER_GUIDE](USER_GUIDE.md).
9494

9595
See [Compatibility](COMPATIBILITY.md).
9696

97+
## Upgrading
98+
99+
See [UPGRADING](UPGRADING.md).
100+
97101
## Developer Guide
98102

99103
See [DEVELOPER_GUIDE](DEVELOPER_GUIDE.md).

UPGRADING.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Upgrading
2+
Major versions of OpenSearch introduce breaking changes that require careful upgrades of the client. Check the [Compatibility](COMPATIBILITY.md) doc to see which version of the client should be used against your OpenSearch cluster.
3+
4+
### Upgrade to OpenSearch Ruby 3
5+
In Version 3 of the OpenSearch Ruby client, we have added the `api` and `transport` modules as the core components of the gem, instead of treating them as separate gems that are required by the `opensearch-ruby` gem. This removes the confusions around compatibility between the ruby client, its legacy dependencies, and the OpenSearch cluster.
6+
7+
`opensearch-dsl` has also been moved into `opensearch-ruby` 3.0. If your application uses `opensearch-dsl`, you should now remove this gem from your Gemfile or gemspec.
8+
9+
We don't expect the upgrade to OpenSearch Ruby 3 to be a breaking change for the vast majority of use cases, and you do not have to make any changes to your application before the upgrade. On your development environment, you might want to perform a `bundle clean` to remove `opensearch-api`, `opensearch-transport`, and `opensearch-dsl` gems after the upgrade.
10+
11+
### Upgrade to OpenSearch Ruby 2
12+
While `opensearch-ruby-client` 2.x works against the latest OpenSearch 1.x, certain deprecated features removed in OpenSearch 2.0 have also been removed from the client. So, only upgrade to `opensearch-ruby` gem to 2.x if you are also upgrading your cluster to OpenSearch 2.0.

lib/opensearch/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@
2525
# under the License.
2626

2727
module OpenSearch
28-
VERSION = '2.2.0'.freeze
28+
VERSION = '3.0.0'.freeze
2929
end

0 commit comments

Comments
 (0)