Skip to content

Commit

Permalink
Release 6.8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
picandocodigo committed Apr 29, 2020
1 parent e0ee762 commit cda614f
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 6 deletions.
35 changes: 35 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,38 @@
## 6.8.2

### Client

- Accept options passed to #perform_request to avoid infinite retry loop - https://github.com/elastic/elasticsearch-ruby/pull/837

#### API Key Support
The client now supports API Key Authentication, check "Authentication" on the [transport README](https://github.com/elastic/elasticsearch-ruby/tree/7.x/elasticsearch-transport#authentication) for information on how to use it.

#### X-Opaque-Id Support

The client now supports identifying running tasks with X-Opaque-Id. Check [transport README](https://github.com/elastic/elasticsearch-ruby/tree/7.x/elasticsearch-transport#identifying-running-tasks-with-x-opaque-id) for information on how to use X-Opaque-Id.

#### Faraday migrated to 1.0

We're now using version 1.0 of Faraday:
- The client initializer was modified but this should not disrupt final users at all, check [this commit](https://github.com/elastic/elasticsearch-ruby/commit/0fdc6533f4621a549a4cb99e778bbd827461a2d0) for more information.
- Migrated error checking to remove the deprecated `Faraday::Error` namespace.
- **This change is not compatible with [Typhoeus](https://github.com/typhoeus/typhoeus)**. The latest release is 1.3.1, but it's [still using the deprecated `Faraday::Error` namespace](https://github.com/typhoeus/typhoeus/blob/v1.3.1/lib/typhoeus/adapters/faraday.rb#L100). This has been fixed on master, but the last release was November 6, 2018. Version 1.4.0 should be ok once it's released.
- Note: Faraday 1.0 drops official support for JRuby. It installs fine on the tests we run with JRuby in this repo, but it's something we should pay attention to.

Reference: [Upgrading - Faraday 1.0](https://github.com/lostisland/faraday/blob/master/UPGRADING.md)

[Pull Request](https://github.com/elastic/elasticsearch-ruby/pull/808)

### API

* Ensure that `index` argument is considered in rank_eval api https://github.com/elastic/elasticsearch-ruby/commit/b56beea7fa3c78594428bc718bd412b40d8e424f
* Update handling of publish_address in _nodes/http response https://github.com/elastic/elasticsearch-ruby/commit/68350f9f978badef57930aec35441f4d975f65bf
* Remove percolate Spec (not supported)

### EXT:6.8.2



## 6.8.1

* Lock the version of Faraday: Faraday 1.0 was released with breaking changes. Thank you @taylorthurlow :+1: (#752)
Expand Down
2 changes: 1 addition & 1 deletion elasticsearch-api/lib/elasticsearch/api/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

module Elasticsearch
module API
VERSION = '6.8.1'
VERSION = '6.8.2'
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

module Elasticsearch
module Transport
VERSION = '6.8.1'
VERSION = '6.8.2'
end
end
2 changes: 1 addition & 1 deletion elasticsearch-xpack/lib/elasticsearch/xpack/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

module Elasticsearch
module XPack
VERSION = '6.8.1'
VERSION = '6.8.2'
end
end
4 changes: 2 additions & 2 deletions elasticsearch/elasticsearch.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ Gem::Specification.new do |s|
s.rdoc_options = ['--charset=UTF-8']

s.required_ruby_version = '>= 2.4'
s.add_dependency 'elasticsearch-api', '6.8.1'
s.add_dependency 'elasticsearch-transport', '6.8.1'
s.add_dependency 'elasticsearch-api', '6.8.2'
s.add_dependency 'elasticsearch-transport', '6.8.2'

s.add_development_dependency 'ansi'
s.add_development_dependency 'bundler'
Expand Down
2 changes: 1 addition & 1 deletion elasticsearch/lib/elasticsearch/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
# See the LICENSE file in the project root for more information

module Elasticsearch
VERSION = '6.8.1'
VERSION = '6.8.2'
end

0 comments on commit cda614f

Please sign in to comment.