elasticsearch-api breaking changes
elasticsearch-api 9.0.0 (April 15, 2025) is its newest release with breaking changes, 10 of them. The first: elasticsearch-api 9.0.0 requires Ruby 3.2 or later. Every breaking API change we have recorded in elasticsearch-api on RubyGems: 21 breaking changes in 7 versions. Below, its 7 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 9.5.0. Source repository
Its 9.0.0 release requires Ruby 3.2 or later. Ruby end of life dates.
- From 8.0.0 to 9.0.0: 10 breaking changes in 1 version.
- From 0.0.32 to 9.0.0: 20 breaking changes in 6 versions.
elasticsearch-api 9.0.0 breaking changes
- Removed
Only Ruby 3.2 and later are tested and supported for 9.0. Older Ruby versions have reached end of life, so upgrade Ruby before moving to 9.0. github.com - Removed
clear_scroll
Pass scroll_id inside the request body, for example client.clear_scroll(body: { scroll_id: scroll_id }). github.com - Removed
data_frame_deprecated
The data_frame_deprecated namespace file was removed because no APIs were available through it. github.com - Removed
knn_search
knn_search was removed and only works with the compatible-with=8 header. Use the search API for all kNN queries. github.com - Removed
remote
The remote namespace file was removed because no APIs were available through it. github.com - Removed
rollup
The rollup namespace was removed because the feature was never GA and was deprecated since 8.11.0. Use downsampling instead. github.com - Removed
scroll
Pass scroll_id inside the request body, for example client.scroll(body: { scroll_id: scroll_id }). github.com - Removed
shutdown
The shutdown namespace was removed because it is meant for indirect use by ECE/ESS and ECK, and direct use is not supported. github.com - Renamed
__listify
Helper functions in utils.rb whose names started with a double underscore were renamed without the prefix, for example __listify is now listify. github.com - Signature changed
indices.get_field_mapping
The fields parameter of indices.get_field_mapping is now required, so calls that omit it must pass it. github.com
elasticsearch-api 8.0.0 breaking changes
- Removed
client.xpack
Only client.xpack.info and client.xpack.usage remain under the xpack namespace. Other APIs such as client.xpack.machine_learning are now called directly, for example client.machine_learning. github.com - Behavior changed
Only required parameters, such as those needed to build the request path, are validated client-side. Other parameters are now validated by Elasticsearch. github.com - Behavior changed
API calls now return an Elasticsearch::API::Response object. It still behaves like a Hash, but also provides status and headers methods. github.com
elasticsearch-api 7.0.0.pre breaking changes
- Renamed
mget
The source_includes and source_excludes parameter names for mget were updated, so existing calls using the old names need changing. github.com - Behavior changed
bulk
Bulk and Msearch requests now set the application/x-ndjson content type instead of the previous one. github.com
elasticsearch-api 6.0.0 breaking changes
- Behavior changed
When the ignore option is specified, exceptions are no longer logged by the client. Code that depends on those log entries must be updated. github.com - Signature changed
Create
Calls to the Create API must now pass the id argument. Code that omits it must be updated to supply an id. github.com
elasticsearch-api 5.0.0 breaking changes
- Signature changed
The parameters for Elasticsearch 5.x APIs were updated, so existing calls may need their parameters adjusted. Check your calls against the 5.x API. github.com
elasticsearch-api 0.1.10 breaking changes
- Removed
auto_generate_phrase_queries
Code that passes this parameter must stop using it. github.com - Removed
interval
Code that passes this parameter must stop using it. github.com
Older versions
1 older version.
Show 1 older version
elasticsearch-api 0.0.32 breaking changes
- Renamed
Reindex
Code that passes the target key to Reindex must use dest instead. github.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.