Skip to content

Releases: elastic/elasticsearch-ruby

7.6.0.pre

03 Apr 10:08

Choose a tag to compare

7.6.0.pre Pre-release
Pre-release

Pre-release version of 7.6 client.

  • Support for Elasticsearch version 7.6.
  • New features: API Key Support, X-Opaque-Id and Faraday 1.0.
  • This is a pre-release, full Changelog details will be published with the final release of 7.6.0

7.5.0

26 Feb 13:56

Choose a tag to compare

  • Support for Elasticsearch 7.5.
  • Update API spec generator: The code for Elasticsearch OSS and X-Pack APIs is being generated from the rest api spec.
  • Specs have been updated to address new/deprecated parameters.
  • Ruby versions tested: 2.3.8, 2.4.9, 2.5.7, 2.6.5 and 2.7.0 (new).

API

Endpoints that changed:

  • _bulk: body is now required as an argument.
  • cat: local and master_timeout parameters are gone.
    • health: New parameter health.
    • indices: Adds time and include_unload_segments parameters.
    • nodes: Adds bytes, time parameters.
    • pending_tasks: Adds time parameter.
    • recovery: Adds active_only, detailed, index, time parameters.
    • segments: Removes index parameter and it's now a url part.
    • shards: Adds time parameter.
    • snapshots: Adds time parameter.
    • tasks: Adds time parameter.
    • templates: The name parameter is now passed in as a part but not a parameter.
    • thread_pool: The thread_pool_patterns parameter is now passed in as a part but not as a parameter.
  • cluster
    • put_settings: body is required.
    • state: index_templates is gone.
    • node_id is now a url part.
  • delete - parent parameter is gone.
  • delete_by_query: analyzer parameters are gone, max_docs is a new parameter, body is now a required parameter.
  • delete_by_query_rethrottle new endpoint.
  • delete_by_rethrottle - uses delete_by_query_rethrottle and hasn't changed.
  • exists, exists_source, explain: parent parameter is gone.
  • field_caps: fields param is no longer required.
  • get: parent parameter is gone
  • get_source: parent parameter is gone
  • index: body parameter is required, wait_for_shard is a new parameter, consistency, include_type_name, parent, percolate, replication, timestamp, ttl parameters are gone
  • indices
    • get: feature paramatere was deprecated and is gone.
    • delete_aliases, put_alias: URL changed internally to 'aliases' instead of 'alias' but shouldn't affect the client's API.
  • render_search_template: id is now a part not a parameter
  • search: fielddata_fields, include_type_name, fields, ignore_indices, lowercase_expanded_terms, query_cache, source parameters are gone, ccs_minimize_roundtrips, track_scores are new parameters.
  • tasks - list: task_id is not supported anymore, it's in get now.
  • termvectors: parent parameter is gone.
  • update: version parameter is not supported anymore.

X-PACK

Some urls changed internally to remove _xpack, but it shouldn't affect the client's API.

  • explore: index is now required.
  • info: human parameter is gone.
  • migration: some endpoints are gone: get_assistance, get_assistance_test and upgrade_test.
  • watcher: restart endpoint is gone.

7.5.0-pre

21 Feb 15:42

Choose a tag to compare

7.5.0-pre Pre-release
Pre-release

Pre-release version of 7.5 client.

  • Support for Elasticsearch 7.5.
  • Update API spec generator: The code for Elasticsearch OSS and X-Pack APIs is being generated from the rest api spec.
  • Specs have been updated to address new/deprecated parameters.
  • This is a pre-release, full Changelog details will be published with the final release of 7.5.0

6.8.1

21 Jan 15:38

Choose a tag to compare

  • Lock the version of Faraday: Faraday 1.0 was released with breaking changes. Thank you @taylorthurlow 👍 (#752)
  • Add support for Ruby 2.7
  • 6.x releases are now tested in the latests Ruby versions: 2.4.9, 2.5.7, 2.6.5 and 2.7.0
  • Fix bad range value error

7.4.0

05 Nov 12:15

Choose a tag to compare

This version supports Elasticsearch version 7.4.0

Client

  • Accept options passed to #perform_request to avoid infinite retry loop
  • Fix minor typo

API

  • Update documentation of put_script method

XPACK

  • Add ParamsRegistry in each direcotry and for Xpack top-level API
  • Add ParamsRegistry for Xpack data_frame API
  • Add ParamsRegistry for Xpack graph API
  • Add ParamsRegistry for Xpack license API
  • Add ParamsRegistry for Xpack MachineLearning API
  • Fix path for loading params_registry files
  • Add ParamsRegistry for Xpack Migration API
  • Add ParamsRegistry for Xpack Monitoring API
  • Add ParamsRegistry for Xpack Rollup API
  • Add ParamsRegistry for Xpack security API
  • Add ParamsRegistry for Xpack sql API
  • Add ParamsRegistry for Xpack watcher API
  • Update missed file with ParamsRegistry
  • Update versions in params registry files
  • Add update_data_frame_transform
  • Support Index Lifecycle Management(ILM) API

DSL v0.1.9

05 Nov 12:22

Choose a tag to compare

DSL

7.3.0

01 Aug 15:13

Choose a tag to compare

This version supports Elasticsearch server version 7.3.0.
It has the following changes:

Client

  • Add note to readme about the default port value
  • Add note about exception to default port rule when connecting using Elastic Cloud ID
  • Cluster name is variable in cloud id

XPACK

  • Support allow_no_match parameter in stop_data_frame_transform
  • Add allow_no_match to get_data_frame_transform API
  • Add missing headers
  • Support get_builtin_privileges API
  • Update tests for changed xpack paths
  • test:integration task in xpack gem shouldn't do anything in favor of test:rest_api

7.2.1

25 Jul 15:11

Choose a tag to compare

This release has a single change:

  • Cluster name is variable in cloud id. See the follow for issue details: #690

7.2.0

26 Jun 13:41

Choose a tag to compare

This client version supports Elasticsearch server version 7.2.0

Notable changes include the addition of the User-Agent header and support for compression with the compression: true option on a client.

Client

  • Support User-Agent header client team specification
  • Improve code handling headers
  • Handle headers when using JRuby and Manticore
  • Rename method for clarity
  • Test selecting connections using multiple threads
  • Synchronize access to the connections collection and mutation of @current instance variable
  • Fix specs for selecting a connection
  • Further fixes to specs for testing selecting connections in parallel
  • Support providing a cloud id
  • Allow a port to be set with a Cloud id and use default if no port is provided
  • Remove unnecessary check for cloud_id when setting default port
  • Add documentation for creating client with cloud_id
  • Allow compression with Faraday and supported http adapters
  • Put development gem dependencies in gemspec
  • No reason to use ! for decompress method name
  • Check for the existence of headers before checking headers
  • Apply compression headers manually based on general :compression option
  • Use GZIP constant
  • Group tests into their transport adapters
  • Support compression when using Curb adapter
  • Support compression when using Manticore adapter with JRuby
  • Fix Curb unit test, expecting headers to be merged and not set
  • Update test descriptions for compression settings
  • Add documentation of 'compression' option on client
  • Improve client documentation for compression option
  • Centralize header handling into one method
  • Only add Accept-Encoding header if compression option is true

API

  • Use rewritten test harness from XPACK for rest API tests
  • Include skipped tests and further updates
  • Delete all repositories and snapshots in a method
  • Further updates to the rest API test runner
  • Add erroneously removed constants and gems
  • Updates to rest api yaml rspec tasks
  • The get_source endpoint should raise an error if the resource is not found
  • Rename method to clear data in tests and consolidate tasks into one method
  • Update api for 7.2

DSL v0.1.8

06 Jun 15:48

Choose a tag to compare

  • Swap links elasticsearch.org->elastic.co (@harry-wood)
  • Add a composite aggregation (@watsonjon)
  • Don't specify a type when creating mappings in tests
  • Update links in elasticsearch-dsl README
  • Allow Bool query and Bool filter methods to take objects as arguments
  • Edit tests on bool query / filter to match context