Releases: elastic/elasticsearch-ruby
Releases · elastic/elasticsearch-ruby
7.6.0.pre
Pre-release version of 7.6 client.
- Support for Elasticsearch version
7.6. - New features: API Key Support, X-Opaque-Id and Faraday 1.0.
- This is a pre-release, full Changelog details will be published with the final release of 7.6.0
7.5.0
- 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:localandmaster_timeoutparameters are gone.health: New parameterhealth.indices: Addstimeandinclude_unload_segmentsparameters.nodes: Addsbytes,timeparameters.pending_tasks: Addstimeparameter.recovery: Addsactive_only,detailed,index,timeparameters.segments: Removesindexparameter and it's now a url part.shards: Addstimeparameter.snapshots: Addstimeparameter.tasks: Addstimeparameter.templates: Thenameparameter is now passed in as a part but not a parameter.thread_pool: Thethread_pool_patternsparameter is now passed in as a part but not as a parameter.
clusterput_settings: body is required.state:index_templatesis gone.node_idis now a url part.
delete-parentparameter is gone.delete_by_query:analyzerparameters are gone,max_docsis a new parameter,bodyis now a required parameter.delete_by_query_rethrottlenew endpoint.delete_by_rethrottle- usesdelete_by_query_rethrottleand hasn't changed.exists,exists_source,explain:parentparameter is gone.field_caps:fieldsparam is no longer required.get:parentparameter is goneget_source:parentparameter is goneindex:bodyparameter is required,wait_for_shardis a new parameter,consistency,include_type_name,parent,percolate,replication,timestamp,ttlparameters are goneindicesget:featureparamatere 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:idis now a part not a parametersearch:fielddata_fields,include_type_name,fields,ignore_indices,lowercase_expanded_terms,query_cache,sourceparameters are gone,ccs_minimize_roundtrips,track_scoresare new parameters.tasks-list: task_id is not supported anymore, it's in get now.termvectors:parentparameter is gone.update:versionparameter is not supported anymore.
X-PACK
Some urls changed internally to remove _xpack, but it shouldn't affect the client's API.
explore:indexis now required.info:humanparameter is gone.migration: some endpoints are gone:get_assistance,get_assistance_testandupgrade_test.watcher:restartendpoint is gone.
7.5.0-pre
Pre-release version of 7.5 client.
- 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.
- This is a pre-release, full Changelog details will be published with the final release of 7.5.0
6.8.1
- 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
7.4.0
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
DSL v0.1.9
DSL
- add track_total_hits option (@andreasklinger)
7.3.0
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
7.2.1
7.2.0
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
DSL v0.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