Releases: opensearch-project/opensearch-ruby
opensearch-dsl/0.2.1
opensearch-ruby/2.1.0
- Use safe_load instead of load for yaml by @VachaShah in #77
- Update comments around deprecated and inclusive naming by @harshavamsi in #112
opensearch-aws-sigv4/1.0.0
This is the first release of opensearch-aws-sigv4
gem!
This gem library provides an AWS Sigv4 client for OpenSearch.
Compatibility
The OpenSearch Aws Sigv4 Client is compatible with Ruby 2.5 and higher.
The client's API is compatible with OpenSearch's API versions from 1.0.0 till current.
See COMPATIBILITY for more details.
Installation
Install the package from Rubygems:
gem install opensearch-aws-sigv4
To use an unreleased version, either add it to your Gemfile
for Bundler:
gem 'opensearch-aws-sigv4', git: 'git://github.com/opensearch-project/opensearch-ruby.git'
or install it from a source code checkout:
git clone https://github.com/opensearch-project/opensearch-ruby
cd opensearch-ruby/opensearch-aws-sigv4
bundle install
rake install
Usage
This library is an AWS Sigv4 wrapper for opensearch-ruby
,
which is a Ruby client for OpenSearch. The OpenSearch::Aws::Sigv4Client
is, therefore, has all features of OpenSearch::Client
.
And since opensearch-ruby
is a dependency of opensearch-aws-sigv4
, you only need to install opensearch-aws-sigv4
.
require 'opensearch-aws-sigv4'
require 'aws-sigv4'
signer = Aws::Sigv4::Signer.new(service: 'es',
region: 'us-west-2',
access_key_id: 'key_id',
secret_access_key: 'secret')
client = OpenSearch::Aws::Sigv4Client.new({ log: true }, signer)
client.cluster.health
client.transport.reload_connections!
client.search q: 'test'
Please refer to opensearch-ruby documentation for further details.
opensearch-api/2.1.0
- Update comments around deprecated and inclusive naming by @harshavamsi in #112
- Remove deprecated escape_utils. by @dblock in #74
- Adding new OpenSearch versions and updating compatibility matrix by @VachaShah in #73
Version 2.0.3
Version 2.0.2 Release Notes
Compatible with OpenSearch 2.x
Ruby Gems
https://rubygems.org/gems/opensearch-ruby/versions/2.0.3
https://rubygems.org/gems/opensearch-transport/versions/2.0.1
Changes
- Faraday 2 support for opensearch-transport 2 (#85)
- Ruby 2.6 works with faraday-typhoeus now (#89)
- Bumping version to 2.0.1 for opensearch-transport (#94)
Full Changelog: v2.0.2...v2.0.3
Version 1.0.1
Version 1.0.1 Release Notes
Compatible with OpenSearch 1.x
Ruby Gems
https://rubygems.org/gems/opensearch-ruby/versions/1.0.1
https://rubygems.org/gems/opensearch-transport/versions/1.0.1
Changes
- Faraday 2 support for opensearch-transport 2 (#86)
- Ruby 2.6 works with faraday-typhoeus now (#90)
- Bumping version to 1.0.1 (#92)
Full Changelog: https://github.com/opensearch-project/opensearch-ruby/commits/v1.0.1
Version 2.0.2
Version 2.0.2 Release Notes
Compatible with OpenSearch 2.0
Ruby Gems
https://rubygems.org/gems/opensearch-ruby/versions/2.0.2
https://rubygems.org/gems/opensearch-api/versions/2.0.2
https://rubygems.org/gems/opensearch-transport/versions/2.0.0
https://rubygems.org/gems/opensearch-dsl/versions/0.2.0
Fixes
Full Changelog: v2.0.0...v2.0.2
Version 2.0.0
Version 2.0.0 Release Notes
Compatible with OpenSearch 2.0
Ruby Gems
https://rubygems.org/gems/opensearch-ruby/versions/2.0.0
https://rubygems.org/gems/opensearch-api/versions/2.0.0
https://rubygems.org/gems/opensearch-transport/versions/2.0.0
https://rubygems.org/gems/opensearch-dsl/versions/0.2.0
Features
- Type mapping removals for OpenSearch 2.0 (#65)
- Update gemspec to include signing key path (#45)
- Add Ruby 3.1 to the CI matrix (#55)
Infrastructure
- Add support to test against multiple versions of OpenSearch for compatiblity (#62)
- Add support to test against unreleased OpenSearch (#65)
- Add auto backport functionality (#64)
- Test against OpenSearch 2.0 (#69)
- Configure WhiteSource for GitHub.com (#49)
Full Changelog: https://github.com/opensearch-project/opensearch-ruby/commits/v2.0.0