Skip to content

Releases: elastic/elasticsearch-ruby

7.11.2

25 Feb 18:19
Compare
Choose a tag to compare

7.11.2

Client

  • Bug fix in meta header, fixes fail when http adapter library hasn't been loaded yet: Issue.

7.11.1

11 Feb 18:42
Compare
Choose a tag to compare

Client

  • Bug fix in meta header, adds support for unknown Faraday adapters. Pull Request.

7.11.0

10 Feb 16:57
Compare
Choose a tag to compare

7.11.0

Client

  • Fixes a bug with headers in our default Faraday class. Commit.
  • Adds the X-Elastic-Client-Meta HTTP header which is used by Elastic Cloud and can be disabled with the enable_meta_header parameter set to false.

API

API Changes

  • cat.tasks - Parameter node_id changes name to nodes, a comma-separated list of node IDS or names. Parameter parent_task changes name to parent_task_id.
  • APIs that are no longer experimental: cluster.delete_component_template, cluster.exists_component_template, cluster.get_component_template, cluster.put_component_template, indices.delete_index_template, indices.exists_index_template, indices.get_index_template, indices.put_index_template, indices.simulate_index_template, indices.simulate_template.
  • Deprecation notice: The _upgrade API is no longer useful and will be removed. Instead, see _reindex API. Deprecated since version 8.0.0. Endpoints: indices.get_upgrade, indices.upgrade

X-Pack

  • New endpoints:async_search.status, autoscaling.get_autoscaling_capacity (experimental), indices.migrate_to_data_stream, indices.promote_data_stream, machine_learning.upgrade_job_snapshot, rollup.rollup, watcher.query_watches.
  • APIs that are no longer experimental: eql.delete, eql.get, eql.search,
  • APIs promoted from experimental to beta: machine_learning.delete_data_frame_analytics, ml.delete_trained_model, machine_learning.evaluate_data_frame, machine_learning.explain_data_frame_analytics, machine_learning.get_data_frame_analytics, machine_learning.get_datafeed_stats, machine_learning.get_trained_models, machine_learning.get_trained_models_stats, machine_learning.put_data_frame_analytics, machine_learning.put_trained_model, machine_learning.start_data_frame_analytics, machine_learning.stop_data_frame_analytics, machine_learning.update_data_frame_analytics
  • indices.delete_data_stream, indices.get_data_stream add parameter expand_wildcards, wether wildcard expressions should get expanded to open or closed indices (default: open). Options: open, closed, hidden, none, all.
  • machine_learning.get_data_frame_analytics, machine_learning.get_datafeeds, machine_learning.get_jobs, machine_learning.get_trained_models, transform.get_transform add parameter exclude_generated - omits fields that are illegal to set on PUT.
  • data_frame_transform_deprecated.get_transform (_data_frame/transforms/ is deprecated, use _transform/ in the future) adds parameter exclude_generated - omits generated files.

6.8.3

10 Feb 14:04
Compare
Choose a tag to compare

6.8.3

Client

  • Adds Typhoeus 1.4, now compatible with Faraday 1.0
  • Converts all argument keys to symbol in Client initializer
  • Adds the X-Elastic-Client-Meta HTTP header which is used by Elastic Cloud and can be disabled with the enable_meta_header parameter set to false.

7.11.0.pre.1

11 Jan 18:48
Compare
Choose a tag to compare
7.11.0.pre.1 Pre-release
Pre-release

-Support for Elasticsearch version 7.11.0
-This is a pre-release, full Changelog details will be published with the final release of 7.11.0

7.10.1

07 Jan 22:48
Compare
Choose a tag to compare

Client

  • Use 443 for default cloud port, 9200 as the default port for http

EXT:0.0.33

17 Dec 11:36
Compare
Choose a tag to compare

New release of elasticsearch-extensions:

  • Fixes a bug where clusters failed to start with "unknown setting [xpack.security.enabled]" when running elasticsearch-oss. More details on the issue (commit).

EXT:0.0.32

01 Dec 22:07
Compare
Choose a tag to compare

New release of elasticsearch-extensions:

  • Fixes parsing Elasticsearch version when a major, minor or patch have more than 1 digit (e.g. 7.10.0) (commit).
  • Changes the key of the parameter of Reindex from target to dest by @tetsuya-ogawa (commit).
  • Fixes test cluster clear_cluster option by @Lajcisvk (commit).
  • Sanitizes filename in the backup extension (commit).
  • Adds 8.0.0 to cluster tasks (commit).

7.10.0

16 Nov 17:01
Compare
Choose a tag to compare

Client

  • Support for Elasticsearch version 7.10.0.
  • Fixes a bug when building the complete endpoint URL could end with duplicate slashes //.
  • Fixes a bug when building the complete endpoint URL with cloud id could end with duplicate ports #1081.

API

  • Fix in RubyDoc comments, some parameters were being duplicated.
  • Deprecation notice: Synced flush (indices.flush_synced) is deprecated and will be removed in 8.0. Use flush instead.

New API Endpoints

  • snapshot.clone

API Changes

  • bulk, index, update: new parameter require_alias (boolean): When true, requires destination to be an alias (default: false) for index and update. For bulk it sets require_alias for all incoming documents. Defaults to unset (false).

X-Pack

Deprecation notice: searchable_snapshots.repository_stats is deprecated and is replaced by the Repositories Metering API.

New API Endpoints

  • close_point_in_time
  • open_point_in_time
  • security.clear_api_key_cache
  • security.grant_api_key

API Changes

  • cat.ml_datafeeds, cat.ml_jobs, machine_learning.close_job, machine_learning.get_datafeed_stats, machine_learning.get_datafeeds, machine_learning.get_job_stats, machine_learning.get_jobs, machine_learning.get_overall_buckets, machine_learning.stop_datafeed: new parameter allow_no_match (boolean): Whether to ignore if a wildcard expression matches no datafeeds. (This includes _all string or when no datafeeds have been specified)
    -machine_learning.get_data_frame_analytics: new parameter verbose (boolean), whether the stats response should be verbose
  • machine_learning.get_trained_models: new parameter include (string), a comma-separate list of fields to optionally include. Valid options are 'definition' and 'total_feature_importance'. Default is none.
  • machine_learning.stop_datafeed: endpoint now accepts a body: the URL params optionally sent in the body
  • security.get_role, security/get_role_mapping: The name parameter is now a comma-separated list of role-mapping names
  • machine_learning.delete_trained_model, machine_learning.get_trained_models, machine_learning.get_trained_models_stats, machine_learning.put_trained_model: Internal change, url changed from _ml/inference to _ml/trained_models

7.10.0.pre

04 Nov 00:53
Compare
Choose a tag to compare

-Support for Elasticsearch version 7.10.0
-This is a pre-release, full Changelog details will be published with the final release of 7.10.0