elasticsearch-ruby v7.6.0 Release Notes

Release Date: 2020-04-07 // about 4 years ago
  • Client

    • ๐Ÿ‘Œ Support for Elasticsearch version 7.6.
    • ๐Ÿš€ Last release supporting Ruby 2.4. Ruby 2.4 has reached it's end of life and no more security updates will be provided, users are suggested to update to a newer version of Ruby.

    ๐Ÿ‘ API Key Support

    ๐Ÿ’Ž The client now supports API Key Authentication, check "Authentication" on the transport README 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 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 for more information.
    • ๐Ÿšš Migrated error checking to remove the deprecated Faraday::Error namespace.
    • This change is not compatible with Typhoeus. The latest release is 1.3.1, but it's still using the deprecated Faraday::Error namespace. 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

    ๐Ÿ’Ž Pull Request

    API

    API Changes:

    • cat.indices: argument bytes options were: b,k,m,g and are now b,k,kb,m,mb,g,gb,t,tb,p,pb.
    • delete_by_query: New parameter analyzer - The analyzer to use for the query string.
    • ๐Ÿšš indices.put_template: Removed parameters: timeout, flat_settings.
    • msearch_template: New Parameter ccs_minimize_roundtrips - Indicates whether network round-trips should be minimized as part of cross-cluster search requests execution.
    • rank_eval: New parameter search_type - Search operation type (options: query_then_fetch,dfs_query_then_fetch).
    • search_template: New parameter ccs_minimize_roundtrips - Indicates whether network round-trips should be minimized as part of cross-cluster search requests execution.

    ๐Ÿ†• New API endpoints:

    • get_script_context
    • get_script_languages

    โš  Warnings:

    ๐Ÿ”€ Synced flush is deprecated and will be removed in 8.0.

    X-Pack

    ๐Ÿ†• New API endpoints:

    • ml/delete_trained_model
    • ml/explain_data_frame_analytics
    • ml/get_trained_models
    • ml/get_trained_models_stats
    • ml/put_trained_model

    API changes:

    • license/get: Added parameter accept_enterprise.
    • ml/delete_data_frame_analytics Added parameter force.
    • ๐Ÿšš monitoring/bulk - Removed parameter system_version.