Skip to content

Releases: elastic/elastic-transport-ruby

v8.5.3

Choose a tag to compare

@picandocodigo picandocodigo released this 25 Jun 10:12
  • Locks oj development dependency to >= 3.17.3 due to CVE
  • Checks if @otel is defined
  • Removes outdated Oj code

v8.5.2

Choose a tag to compare

@picandocodigo picandocodigo released this 03 Jun 09:32
  • Minor refactor to curb implementation.
  • Updated yard development dependency to > 0.9.42.
  • Fix multi_json deprecation warnings. Some deprecations were introduced in multi_json 1.21.0. Pull Request: #112.
  • Reduced gem size. Pull Request: #114.
  • Addresses duplicate content-type header in Manticore. Pull Request: #115.

v8.4.2

Choose a tag to compare

@picandocodigo picandocodigo released this 03 Jun 09:31
  • Minor refactor to curb implementation.
  • Updated yard development dependency to > 0.9.42.
  • Fix multi_json deprecation warnings. Some deprecations were introduced in multi_json 1.21.0. Pull Request: #112.
  • Reduced gem size. Pull Request: #114.
  • Addresses duplicate content-type header in Manticore. Pull Request: #115.

v8.3.7

Choose a tag to compare

@picandocodigo picandocodigo released this 03 Jun 09:23
  • Minor refactor to curb implementation.
  • Updated yard development dependency to > 0.9.42.
  • Fix multi_json deprecation warnings. Some deprecations were introduced in multi_json 1.21.0. Pull Request: #112.
  • Reduced gem size. Pull Request: #114.
  • Addresses duplicate content-type header in Manticore. Pull Request: #115.

v8.5.1

Choose a tag to compare

@picandocodigo picandocodigo released this 10 Apr 10:46
  • Fixes setting OpenTelemetry response status code only if available.

v8.5.0

Choose a tag to compare

@picandocodigo picandocodigo released this 07 Apr 14:41
  • OpenTelemetry:
    • Updates OpenTelemetry conventions
    • Updates code to capture error.type and status_code in OpenTelemetry.
    • Captures ES|QL queries as SEARCH endpoints.
  • Tested Ruby versions for elastic-transport 8.5.0:
    • MRI: 3.2, 3.3, 3.4, 4.0.
    • JRuby: 9.3, 9.4, 10.0.

v8.4.1

Choose a tag to compare

@picandocodigo picandocodigo released this 07 Oct 14:56
  • Moves require 'timeout' to the classes that use it. Closed #79.
  • Sanitize url on OTEL spans, thanks @steve21168. Pull Request: #98

v8.3.6

Choose a tag to compare

@picandocodigo picandocodigo released this 07 Oct 14:54
  • Moves require 'timeout' to the classes that use it. Closed #79.
  • Sanitize url on OTEL spans, thanks @steve21168. Pull Request: #98

v8.4.0

Choose a tag to compare

@picandocodigo picandocodigo released this 18 Feb 15:51
  • Adds support for Excon Faraday adapter. You can use the Excon adapter by setting it in when initializing an Elasticsearch client:
require 'faraday/excon'

Elasticsearch::Client.new(
  host: host,
  transport_options: transport_options,
  adapter: :excon
)

Excon may need some specific configuration for HTTPS/SSL. You may see certificate verification errors when trying to connect to Elastic. Excon has certificates bundled, but these can be customized:

Excon.defaults[:ssl_ca_path] = path_to_certs
ENV['SSL_CERT_DIR'] = path_to_certs
Excon.defaults[:ssl_ca_file] = path_to_file
ENV['SSL_CERT_FILE'] = path_to_file
Excon.defaults[:ssl_verify_callback] = callback
# (see OpenSSL::SSL::SSLContext#verify_callback)
Excon.defaults[:ssl_verify_peer] = false # (less secure).
  • Adds support for Async::HTTP::Faraday. You can use the adapter by setting it when initializing an Elasticsearch client:
require 'async-http-faraday'

Elasticsearch::Client.new(
  host: host,
  adapter: :async_http
)
  • Minor refactors, styling fixes.

v8.3.5

Choose a tag to compare

@picandocodigo picandocodigo released this 16 Jul 16:19
  • Small updates in source code documentation.
  • Updates meta header for Elasticsearch Serverless.
  • Fixes issues with ES_SERVERLESS_SERVICE_VERSION for backwards compatibility.