All Versions
98
Latest Version
Avg Release Cycle
49 days
Latest Release
-

Changelog History
Page 5

  • v7.5.0 Changes

    February 26, 2020
    • ๐Ÿ‘Œ 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.
  • v7.4.0 Changes

    November 05, 2019

    ๐Ÿ‘ 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
  • v7.3.0 Changes

    August 01, 2019

    ๐Ÿ‘ 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
  • v7.2.1 Changes

    July 25, 2019

    ๐Ÿš€ This release has a single change:

    • ๐Ÿ‘€ Cluster name is variable in cloud id. See the follow for issue details: #690
  • v7.2.0 Changes

    June 26, 2019

    ๐Ÿ‘ 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
  • v7.1.0 Changes

    May 22, 2019

    Client

    • โšก๏ธ Update elasticsearch-transport README
    • 0๏ธโƒฃ Use default port when host and protocol are specified but no port
    • ๐Ÿ‘Œ Verify that we have a response object before checking its status
    • ๐Ÿ‘‰ Make code more succinct for supporting host with path and no port
    • ๐Ÿ‘Œ Support options specified with String keys
    • โšก๏ธ Update elasticsearch-transport/lib/elasticsearch/transport/client.rb
    • โž• Add tests showing IPv6 host specified when creating client

    API

    • โšก๏ธ Update links in elasticsearch-api README

    DSL 0.1.8

    • 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
  • v7.0.0 Changes

    April 30, 2019

    ๐Ÿš€ This release supports version 7.0 of the Elasticsearch server. There have been no notable updates since the 7.0.0.pre release. Please see the release notes for that version.

  • v7.0.0.pre Changes

    April 15, 2019

    ๐Ÿš€ This is a pre-release to support Elasticsearch server version 7.0.0

    This version contains the following changes:

    • ๐Ÿ’Ž Added elastic_ruby_console executable. It opens a console with the elasticsearch gems you have installed required.
    • โž• Added macro benchmarking framework, available when developing. Use rake -T to view all available benchmarking tasks.

    Client

    • ๐Ÿ›  Fixed failing integration test
    • โšก๏ธ Updated the Manticore development dependency
    • ๐Ÿ›  Fixed a failing Manticore unit test
    • โœ‚ Removed "turn" and switched the tests to Minitest
    • ๐Ÿ›  Fixed integration tests for Patron
    • ๐Ÿ‘ Allow passing request headers in perform_request
    • โž• Added integration test for passing request headers in perform_request
    • โž• Added, that request headers are printed in trace output, if set
    • ๐Ÿ›  Fix typos in elasticsearch-transport/README.md
    • Assert that connection count is at least previous count when reloaded
    • โœ… Adjust test for change in default number of shards on ES 7
    • ๐Ÿ’Ž Abstract logging functionality into a Loggable Module (#556)
    • โœ… Convert client integration tests to rspec
    • โž• Add flexible configuration in spec helper
    • ๐Ÿ‘‰ Use helper methods in spec_helper
    • โœ‚ Remove minitest client integration tests in favor of rspec test
    • ๐Ÿ”จ Convert tests to rspec and refactor client
    • minor changes to the client specs
    • ๐Ÿ’Ž Use pry-nav in development for JRuby
    • Keep arguments variable name for now
    • โœ… Skip round-robin test for now
    • โœ… Mark test as pending until there is a better way to detect rotating nodes
    • โœ‚ Remove client unit test in favor of rspec test
    • โœ… Comment-out round-robin test as it occasionally passes and pending is ineffective
    • 0๏ธโƒฃ Document the default host and port constant
    • โž• Add documentation to spec_helper methods
    • ๐Ÿ–จ Redacted password if host info is printed in error message
    • โž• Adds tests for not including password in logged error message
    • The redacted string change will be in 6.1.1
    • โž• Add more tests for different ways to specify client host argument
    • ๐Ÿ’Ž Do not duplicate connections in connection pool after rebuild (#591)
    • โœ… Ensure that the spec rake task is run as part of integration tests
    • ๐Ÿ‘‰ Use constant to define Elasticsearch hosts and avoid yellow status when number of nodes is 1
    • โž• Update handling of publish_address in _nodes/http response
    • โž• Add another test for hostname/ipv6:port format

    API

    • Added the wait_for_active_shards parameter to the "Indices Open" API
    • โž• Added the "Indices Split" API
    • Added the wait_for_no_initializing_shards argument to the "Cluster Health" API
    • โž• Added the "Cluster Remote Info" API
    • โœ‚ Remove the dependency on "turn"
    • โœ… Clear cluster transient settings in test setups
    • โœ… Use YAML.load_documents in the REST tests runner
    • โœ‚ Removed pinning dependency for Minitest
    • โœ… Replaced the testing framework from Test::Unit to Minites and improved test output
    • โž• Added, that trace logs are printed when the TRACE environment variable is set
    • โœ‚ Removed the "turn" dependency from generated test_helper.rb
    • โšก๏ธ Update the "Delete By Query" API to support :slices
    • Speed up Elasticsearch::API::Utils.__listify
    • Speed up Elasticsearch::API::Utils.__pathify
    • ๐Ÿ‘‰ Use "String#strip" and "String.empty?" in Utils.__pathify
    • ๐Ÿ“š Updated the inline documentation for using scripts in the "Update" API
    • โšก๏ธ Updated the "Scroll" API inline example with passing the scroll ID in the body
    • ๐Ÿ—„ Marked the percolate method as deprecated and added an example for current percolator
    • Fixed, that Utils. __report_unsupported_parameters and Utils.__ report_unsupported_method use Kernel.warn so they can be suppressed
    • Fixed the "greedy" regex in the Utils.__rescue_from_not_found method
    • ๐Ÿ›  Fixed the incorrect create method
    • ๐Ÿ‘ Allow passing headers in perform_request
    • Set application/x-ndjson content type on Bulk and Msearch requests
    • โšก๏ธ Update the Reindex API to support :slices
    • ๐Ÿ›  Fixed and improved the YAML tests runner
    • Added the include_type_name parameter to APIs
    • ๐Ÿ›  Fixed the helper for unit tests
    • โœ‚ Removed the requirement for passing the type parameter to APIs
    • โœ‚ Removed dead code from the YAML tests runner
    • ๐Ÿ›  Fixed the api:code:generate Thor task
    • โž• Add copy_settings as valid param to split API
    • โœ… Port api/actions tests to rspec (#543)
    • โšก๏ธ Update tests to not require type
    • ๐Ÿ’Ž Account for escape_utils not being available for JRuby
    • Add nodes/reload_secure_settings endpoint support (#546)
    • โž• Add new params for search and msearch API
    • โœ… Retrieve stashed variable if referenced in test
    • โœ… Convert cat API tests to rspec
    • โœ… Convert cluster API tests to rspec
    • โœ… Convert indices tests to rspec
    • ๐Ÿ›  Fix documentation of #indices.analyze
    • ๐Ÿ’Ž Avoid instantiating an array of valid params for each request, each time it is called (#550)
    • โž• Add headers to custom client documentation (#527)
    • ๐Ÿ›  Fix typos in README
    • ๐Ÿ“š Minor update to scroll documentation example
    • โœ… Convert snapshot, ingest, tasks, nodes api tests to rspec
    • Update source_includes and source_excludes params names for mget
    • Update source_includes and source_excludes params names for get, search, bulk, explain
    • Update source_includes and source_excludes params names for get_source
    • ๐Ÿ—„ Mark _search endpoint as deprecated
    • ๐Ÿ”— Link to 6.0 documentation explicitly for _suggest deprecation
    • ๐Ÿ“š Update documentation for msearch
    • ๐Ÿ“š Update documentation for scroll_id to be in body of scroll endpoint
    • โœ‚ Remove reference to deprecated format option for _analyze endpoint
    • Correct endpoints used for get and put search template
    • ๐Ÿ›  Fix minor typo
    • Note that a non-empty body argument is required for the bulk api
    • โž• Add note about empty body in yard documentation
    • Support if_primary_term param on index API
    • โœ‚ Delete test2 template in between tests in case a test is not cleanup up properly
    • ๐Ÿ‘Œ Support ignore_throttled option on search API
    • โšก๏ธ Updates for types removal changes
    • โž• Add missing update param
    • โž• Add missing params to methods
    • Support if_primary_term param for delete
    • โœ‚ Delete an index and index template not cleaned up after in rest api tests
    • โšก๏ธ Update supported params for cat API endpoints
    • โšก๏ธ Update supported params for cluster API endpoints
    • โšก๏ธ Update supported params for indices API endpoints
    • โšก๏ธ Update supported params for ingest API endpoints
    • โšก๏ธ Update supported params for nodes API endpoints
    • โšก๏ธ Update supported params for snapshot API endpoints
    • โšก๏ธ Update missed node API endpoints
    • โšก๏ธ Update missed tasks API endpoints
    • โšก๏ธ Update top-level api endpoints
    • โœ… Adjust specs and code after test failures
    • ๐Ÿ›  Fix accidental overwrite of index code
    • โž• Add missing param in cat/thread_pool
    • The type argument is not required in the index method
    • โœ‚ Delete 'nomatch' template to account for lack of test cleanup
    • ๐Ÿ‘ Ensure that the :index param is supported for cat.segments
    • Ensure that the :name param is passed to the templates API

    DSL

    • ๐Ÿ‘ Add inner_hits option support for has_parent query
    • ๐Ÿ‘ Add inner_hits option support for has_child query
    • ๐Ÿ‘ Add inner_hits option support for has_parent filter
    • ๐Ÿ‘ Add inner_hits option support for has_child filter
    • โž• adds query support for nested queries in filter context (#531)
    • โœ… Convert aggregations/pipeline tests to rspec (#564)
    • โœ… Convert aggregations tests to rspec (#566)
    • โœ… Convert filters tests to rspec (#567)
    • Fix bug in applying no_match_filter to indices filter
    • โšก๏ธ Update test for current elasticsearch version
    • ๐Ÿ›  Fix integration tests for join field syntax
    • โšก๏ธ Update agg scripted metric test for deprecation in ES issue #29328
    • ๐Ÿ›  Fix script in update for #29328
    • minor: fix spacing
    • โœ… Convert queries tests to rspec (#569)
    • โž• Add inner_hits test after cherry-picking rspec conversion
    • โœ‚ Remove tests already converted to rspec
    • spec directory structure should mirror code directory structure
    • ๐Ÿ‘Œ Support query_string type option
    • ๐Ÿ’Ž Ensure that filters are registered when called on bool queries (#609)
    • โœ… Don't specify a type when creating mappings in tests

    XPACK

    • ๐Ÿ’Ž Embedded the source code for the elasticsearch-xpack Rubygem
    • ๐Ÿ›  Fixed the setup for YAML integration tests
    • โž• Added missing X-Pack APIs
    • ๐Ÿ‘Œ Improved the YAML integration test runner
    • โšก๏ธ Updated the Rakefile for running integration tests
    • โž• Added, that password for Elasticsearch is generated
    • ๐Ÿ›  Fixed the Watcher example
    • โšก๏ธ Updated the README
    • โž• Added gitignore for the elasticsearch-xpack Rubygem
    • โž• Add ruby-prof as a development dependency
    • Handle multiple roles passed to get_role_mapping
    • โšก๏ธ Minor updates to xpack api methods (#586)
    • ๐Ÿ‘Œ Support freeze and unfreeze APIs
    • โœ… Rewrite xpack rest api yaml test handler (#585)
    • โšก๏ธ Updates to take into account SSL settings
    • ๐Ÿ›  Fix mistake in testing version range so test can be skipped
    • โฌ†๏ธ Support set_upgrade_mode machine learning API
    • Support typed_keys and rest_total_hits_as_int params for rollup_search
    • ๐Ÿ‘Œ Improve string output for xpack rest api tests
    • ๐Ÿ›  Fix logic in version checking
    • Support if_seq_no and if_primary_term in put_watch
    • Don't test execute_watch/60_http_input because of possible Docker issue
    • ๐Ÿ‘Œ Support api key methods
    • ๐Ÿ›  Fix minor typo in test description
    • ๐Ÿ›  Fix issue with replacing argument value with an Integer value
    • Support transform_and_set in yaml tests
    • โœ… Skip two more tests
    • ๐Ÿ”’ Run security tests against elasticsearch 7.0.0-rc2
    • Account for error when forecast_id is not provided and legacy path is used
    • โœ… Blacklist specific tests, not the whole file
    • ๐Ÿ›  Fix version check for skipping test
  • v6.8.2 Changes

    April 29, 2020

    Client

    • ๐Ÿ’Ž Accept options passed to #perform_request to avoid infinite retry loop - #837

    ๐Ÿ‘ 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

    • ๐Ÿ’Ž Ensure that index argument is considered in rank_eval api b56beea
    • โž• Update handling of publish_address in _nodes/http response 68350f9
    • โœ‚ Remove percolate Spec (not supported)
  • v6.8.1 Changes

    January 21, 2020
    • ๐Ÿš€ 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