Skip to content

Commit

Permalink
Version 7.5.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
picandocodigo committed Feb 26, 2020
1 parent ab9d401 commit f7f19e4
Show file tree
Hide file tree
Showing 6 changed files with 61 additions and 6 deletions.
55 changes: 55 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion elasticsearch-api/lib/elasticsearch/api/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

module Elasticsearch
module API
VERSION = "7.4.0"
VERSION = "7.5.0"
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

module Elasticsearch
module Transport
VERSION = "7.4.0"
VERSION = "7.5.0"
end
end
2 changes: 1 addition & 1 deletion elasticsearch-xpack/lib/elasticsearch/xpack/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

module Elasticsearch
module XPack
VERSION = "7.4.0"
VERSION = "7.5.0"
end
end
4 changes: 2 additions & 2 deletions elasticsearch/elasticsearch.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion elasticsearch/lib/elasticsearch/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f7f19e4

Please sign in to comment.