Releases: elastic/elasticsearch-ruby
Releases · elastic/elasticsearch-ruby
7.13.3
- API Support for Elasticsearch version 7.13.3
DSL v0.1.10
- Adds auto_generate_synonyms_phrase_query (@andreasklinger) (3587ebe)
- Adds minimum_should_match option to bool filters (@MothOnMars) (c127661)
- Adds support for calendar_interval to DateHistogram (@tmaier) (a3214c5)
- Removes auto_generate_phrase_queries deprecated parameter (850eaba)
- Removes deprecated interval parameter (6b2e3ba)
- Use pry-byebug for MRI and pry-nav for JRuby
- Improves running tests (default value for cluster set to
http://localhost:9200
)
7.13.1
Client
- Support for Elasticsearch version 7.13.1
- Fixes thread safety issue in
get_connection
- [https://github.com//pull/1325](Pull Request).
7.13.0
Client
- Support for Elasticsearch version 7.13.0
- Adds support for compatibility header for Elasticsearch. If the environment variable 'ELASTIC_CLIENT_APIVERSIONING' is set to
true
or1
, the client will send the headersAccept
andContent-Type
with the following value:application/vnd.elasticsearch+json;compatible-with=7
. - Better detection of Elasticsearch and Enterprise Search clients in the meta header used by cloud.
API
- The REST API tests now use an artifact downloaded from the Elastic servers instead of depending of cloning
elasticsearch
locally. Check the README for more information. - New parameter
include_unloaded_segments
incat.nodes
,nodes.stats
: If set to true segment stats will include stats for segments that are not currently loaded into memory - New parameter
summary
iningest.get_pipeline
: Return pipelines without their definitions (default: false) - New parameter
index_details
insnapshot.get
: Whether to include details of each index in the snapshot, if those details are available. Defaults to false. - New endpoint
features.reset_features
,ingest/geo_ip_stats
- New experimental endpoints:
shutdown.delete_node
,shutdown.get_node
,shutdown.put_node
.
X-Pack
- Refactored test tasks, made it easier to run the tests by default.
- New experimental endpoints:
fleet.global_checkpoints
,searchable_snapshots.cache_stats
. - New beta endpoints:
security.clear_cached_service_tokens
,security.create_service_token
,security.delete_service_token
,security.get_service_accounts
,security.get_service_credentials
- New endpoints:
machine_learning.delete_trained_model_alias
,machine_learning.preview_data_frame_analytics
,machine_learning.put_trained_model_alias
. - APIs migrated from experimental or beta to stable:
machine_learning.delete_data_frame_analytics
,machine_learning.delete_trained_model
,machine_learning.estimate_model_memory
,machine_learning.explain_data_frame_analytics
,machine_learning.get_data_frame_analytics
,machine_learning.get_data_frame_analytics_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
- New parameter
body
inmachine_learning.preview_datafeed
: The datafeed config and job config with which to execute the preview.
7.13.0.pre
-Support for Elasticsearch version 7.13.0
-This is a pre-release, full Changelog details will be published with the final release of 7.13.0
7.12.0
7.12.0
Client
- Support for Elasticsearch version 7.12.0
- Ruby 3 is now tested, it was added to the entire test suite.
- New official documentation pages for configuration: Basic Configuration and Advanced Configuration.
- Integration tests runner refactored to keep skipped tests in a yaml file.
API
- New API namespace:
features
and endpointsfeatures.get_features
andsnapshot.get_features
. cat.plugins
adds parameterinclude_bootstrap
: Include bootstrap plugins in the response.- Update in
indices.close
parameterwait_for_active_shards
: Sets the number of active shards to wait for before the operation returns. Set toindex-setting
to wait according to the index settingindex.write.wait_for_active_shards
, orall
to wait for all shards, or an integer. Defaults to0
. actions.search
adds parametermin_compatible_shard_node
: The minimum compatible version that all shards involved in search should have for this request to be successful.
X-Pack
- New API namespace:
text_structure
and endpointstext_structure.find_structure
. - New API namespace:
logstash
and endpointslogstash.delete_pipeline
,logstash.get_pipeline
,logstash.put_pipeline
. - New API:
eql.get_status
. - APIs migrated from experimental to stable:
autoscaling.delete_autoscaling_policy
,autoscaling.get_autoscaling_capacity
,autoscaling.get_autoscaling_policy
,autoscaling.put_autoscaling_policy
. searchable_snapshots.mount
adds parameterstorage
: Selects the kind of local storage used to accelerate searches. Experimental, and defaults tofull_copy
.searchable_snapshots.stats
adds parameterlevel
: Return stats aggregated at cluster, index or shard level (options: cluster, indices, shards).
7.11.2
7.11.1
Client
- Bug fix in meta header, adds support for unknown Faraday adapters. Pull Request.
7.11.0
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 theenable_meta_header
parameter set tofalse
.
API
API Changes
cat.tasks
- Parameternode_id
changes name tonodes
, a comma-separated list of node IDS or names. Parameterparent_task
changes name toparent_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 parameterexpand_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 parameterexclude_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 parameterexclude_generated
- omits generated files.
6.8.3
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 theenable_meta_header
parameter set tofalse
.