elasticsearch-ruby v7.0.0.pre Release Notes
Release Date: 2019-04-15 // about 5 years ago-
๐ 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
andUtils.__ report_unsupported_method
useKernel.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
- ๐ Added