elasticsearch breaking changes
elasticsearch 9.0.0 (April 15, 2025) is its newest release with breaking changes, 10 of them. The first: Removed data_frame_deprecated. Every breaking API change we have recorded in elasticsearch on RubyGems: 26 breaking changes in 6 versions. Below, its 6 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.1.10 to 9.0.0: 23 breaking changes in 5 versions.
elasticsearch 9.0.0 breaking changes
- Removed
data_frame_deprecated
The data_frame_deprecated namespace file was removed because no APIs were available. github.com - Removed
knn_search
The knn_search API was removed and no longer works in 9.0. Use the search API for knn queries. github.com - Removed
remote
The remote namespace file was removed because no APIs were available. github.com - Removed
rollup
The rollup namespace was removed. Use downsampling instead. github.com - Removed
shutdown
The shutdown namespace was removed. It is designed for indirect use by ECE/ESS and ECK, and direct use is not supported. github.com - Renamed
__listify
Functions in utils.rb with double-underscore names were renamed without the prefix, for example __listify is now listify. github.com - Behavior changed
Older Ruby versions are no longer tested or supported. Upgrade Ruby to 3.2 or later. github.com - Signature changed
clear_scroll
Sending scroll_id as a parameter is no longer supported. Pass it in the request body instead. github.com - Signature changed
indices.get_field_mapping
The fields parameter is now required. Pass fields when calling indices.get_field_mapping. github.com - Signature changed
scroll
Sending scroll_id as a parameter is no longer supported. Pass it in the request body instead. github.com
elasticsearch 8.0.0 breaking changes
- Removed
client.xpack.machine_learning
APIs previously reached through client.xpack are now called directly on the client, such as client.machine_learning. github.com - Behavior changed
Only required parameters needed to build the request path are validated client-side; other parameters are validated by Elasticsearch. github.com - Behavior changed
client.info
Calls now return Elasticsearch::API::Response, which still behaves like a Hash but also adds status and headers methods. github.com
elasticsearch 7.0.0.pre breaking changes
- Renamed
bulk
The source_includes and source_excludes parameter names were updated for the bulk API; update calls that use the old names. github.com - Renamed
explain
The source_includes and source_excludes parameter names were updated for the explain API; update calls that use the old names. github.com - Renamed
get
The source_includes and source_excludes parameter names were updated for the get API; update calls that use the old names. github.com - Renamed
get_source
The source_includes and source_excludes parameter names were updated for the get_source API; update calls that use the old names. github.com - Renamed
mget
The source_includes and source_excludes parameter names were updated for the mget API; update calls that use the old names. github.com - Renamed
search
The source_includes and source_excludes parameter names were updated for the search API; update calls that use the old names. github.com - Behavior changed
Passwords in host information are now redacted when printed in error messages, so code that parses those messages may see different output. github.com - Behavior changed
Bulk and Msearch requests now set the application/x-ndjson content type, which may affect code that inspects or sets request headers. github.com
elasticsearch 6.0.0 breaking changes
- Signature changed
Create
The "Create" API now requires the `id` argument. Code that calls it without an id must be updated to pass one. github.com
elasticsearch 5.0.0 breaking changes
- Configuration changed
The API parameters were updated for Elasticsearch 5.x, so existing calls may need their parameters checked against the new definitions. github.com
elasticsearch 0.1.10 breaking changes
- Removed
auto_generate_phrase_queries
The deprecated auto_generate_phrase_queries parameter was removed. Stop passing it. github.com - Removed
interval
The deprecated interval parameter was removed. Use calendar_interval or fixed_interval instead. github.com - Default changed
cluster
The default value for the test cluster is now http://localhost:9200. Adjust test setups that relied on the previous default. 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.