From f7f19e464339b0d3c6aa0280a8bb04f1cd65417f Mon Sep 17 00:00:00 2001 From: Fernando Briano Date: Wed, 26 Feb 2020 13:27:16 +0000 Subject: [PATCH] Version 7.5.0 release --- CHANGELOG.md | 55 +++++++++++++++++++ .../lib/elasticsearch/api/version.rb | 2 +- .../lib/elasticsearch/transport/version.rb | 2 +- .../lib/elasticsearch/xpack/version.rb | 2 +- elasticsearch/elasticsearch.gemspec | 4 +- elasticsearch/lib/elasticsearch/version.rb | 2 +- 6 files changed, 61 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 201eef25ea..b2e3d805a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,58 @@ +## 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`: `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. + + ## 7.4.0 ### Client diff --git a/elasticsearch-api/lib/elasticsearch/api/version.rb b/elasticsearch-api/lib/elasticsearch/api/version.rb index b1dc0d798d..3a677a4a2f 100644 --- a/elasticsearch-api/lib/elasticsearch/api/version.rb +++ b/elasticsearch-api/lib/elasticsearch/api/version.rb @@ -4,6 +4,6 @@ module Elasticsearch module API - VERSION = "7.4.0" + VERSION = "7.5.0" end end diff --git a/elasticsearch-transport/lib/elasticsearch/transport/version.rb b/elasticsearch-transport/lib/elasticsearch/transport/version.rb index bdb5121365..a8c7033ee7 100644 --- a/elasticsearch-transport/lib/elasticsearch/transport/version.rb +++ b/elasticsearch-transport/lib/elasticsearch/transport/version.rb @@ -4,6 +4,6 @@ module Elasticsearch module Transport - VERSION = "7.4.0" + VERSION = "7.5.0" end end diff --git a/elasticsearch-xpack/lib/elasticsearch/xpack/version.rb b/elasticsearch-xpack/lib/elasticsearch/xpack/version.rb index ab7628c94f..2dcda15553 100644 --- a/elasticsearch-xpack/lib/elasticsearch/xpack/version.rb +++ b/elasticsearch-xpack/lib/elasticsearch/xpack/version.rb @@ -4,6 +4,6 @@ module Elasticsearch module XPack - VERSION = "7.4.0" + VERSION = "7.5.0" end end diff --git a/elasticsearch/elasticsearch.gemspec b/elasticsearch/elasticsearch.gemspec index ebaf484caf..389d530943 100644 --- a/elasticsearch/elasticsearch.gemspec +++ b/elasticsearch/elasticsearch.gemspec @@ -27,8 +27,8 @@ Gem::Specification.new do |s| s.required_ruby_version = '>= 1.9' - s.add_dependency "elasticsearch-transport", '7.4.0' - s.add_dependency "elasticsearch-api", '7.4.0' + s.add_dependency "elasticsearch-transport", '7.5.0' + s.add_dependency "elasticsearch-api", '7.5.0' s.add_development_dependency "bundler" diff --git a/elasticsearch/lib/elasticsearch/version.rb b/elasticsearch/lib/elasticsearch/version.rb index 809c90c3bf..d202367376 100644 --- a/elasticsearch/lib/elasticsearch/version.rb +++ b/elasticsearch/lib/elasticsearch/version.rb @@ -3,5 +3,5 @@ # See the LICENSE file in the project root for more information module Elasticsearch - VERSION = "7.4.0" + VERSION = "7.5.0" end