---
title: "elasticsearch 9.0.0 Breaking Changes on RubyGems | Since.dev"
description: "What each elasticsearch release removed, renamed or changed: 26 breaking changes in 6 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/elasticsearch
last_updated: 2026-12-04
---

# 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

Latest version `9.5.0`. [Source repository](https://github.com/elastic/elasticsearch-ruby)

Its 9.0.0 release requires [Ruby 3.2](https://since.dev/calendar/ruby/3.2.md) or later. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [8.0.0](#v-8-0-0) to [9.0.0](#v-9-0-0): 10 breaking changes in 1 version.
- From [0.1.10](#v-0-1-10) to [9.0.0](#v-9-0-0): 23 breaking changes in 5 versions.

## elasticsearch 9.0.0 breaking changes

elasticsearch 9.0.0, released April 15, 2025: 10 breaking changes.

- **Removed** `data_frame_deprecated`  

The data_frame_deprecated namespace file was removed because no APIs were available. [github.com](https://github.com/elastic/elasticsearch-ruby/releases/tag/v9.0.0)
- **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](https://github.com/elastic/elasticsearch-ruby/releases/tag/v9.0.0)
- **Removed** `remote`  

The remote namespace file was removed because no APIs were available. [github.com](https://github.com/elastic/elasticsearch-ruby/releases/tag/v9.0.0)
- **Removed** `rollup`  

The rollup namespace was removed. Use downsampling instead. [github.com](https://github.com/elastic/elasticsearch-ruby/releases/tag/v9.0.0)
- **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](https://github.com/elastic/elasticsearch-ruby/releases/tag/v9.0.0)
- **Renamed** `__listify`  

Functions in utils.rb with double-underscore names were renamed without the prefix, for example \_\_listify is now listify. [github.com](https://github.com/elastic/elasticsearch-ruby/releases/tag/v9.0.0)
- **Behavior changed**  

Older Ruby versions are no longer tested or supported. Upgrade Ruby to 3.2 or later. [github.com](https://github.com/elastic/elasticsearch-ruby/releases/tag/v9.0.0)
- **Signature changed** `clear_scroll`  

Sending scroll_id as a parameter is no longer supported. Pass it in the request body instead. [github.com](https://github.com/elastic/elasticsearch-ruby/releases/tag/v9.0.0)
- **Signature changed** `indices.get_field_mapping`  

The fields parameter is now required. Pass fields when calling indices.get_field_mapping. [github.com](https://github.com/elastic/elasticsearch-ruby/releases/tag/v9.0.0)
- **Signature changed** `scroll`  

Sending scroll_id as a parameter is no longer supported. Pass it in the request body instead. [github.com](https://github.com/elastic/elasticsearch-ruby/releases/tag/v9.0.0)

## elasticsearch 8.0.0 breaking changes

elasticsearch 8.0.0, released February 10, 2022: 3 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](https://github.com/elastic/elasticsearch-ruby/releases/tag/v8.0.0)
- **Behavior changed**  

Only required parameters needed to build the request path are validated client-side; other parameters are validated by Elasticsearch. [github.com](https://github.com/elastic/elasticsearch-ruby/releases/tag/v8.0.0)
- **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](https://github.com/elastic/elasticsearch-ruby/releases/tag/v8.0.0)

## elasticsearch 7.0.0.pre breaking changes

elasticsearch 7.0.0.pre, released April 30, 2019: 8 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](https://github.com/elastic/elasticsearch-ruby/releases/tag/v7.0.0.pre)
- **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](https://github.com/elastic/elasticsearch-ruby/releases/tag/v7.0.0.pre)
- **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](https://github.com/elastic/elasticsearch-ruby/releases/tag/v7.0.0.pre)
- **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](https://github.com/elastic/elasticsearch-ruby/releases/tag/v7.0.0.pre)
- **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](https://github.com/elastic/elasticsearch-ruby/releases/tag/v7.0.0.pre)
- **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](https://github.com/elastic/elasticsearch-ruby/releases/tag/v7.0.0.pre)
- **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](https://github.com/elastic/elasticsearch-ruby/releases/tag/v7.0.0.pre)
- **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](https://github.com/elastic/elasticsearch-ruby/releases/tag/v7.0.0.pre)

## elasticsearch 6.0.0 breaking changes

elasticsearch 6.0.0, released November 14, 2017: 1 breaking change.

- **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](https://github.com/elastic/elasticsearch-ruby/blob/v6.0.0/CHANGELOG.md)

## elasticsearch 5.0.0 breaking changes

elasticsearch 5.0.0, released November 7, 2016: 1 breaking change.

- **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](https://github.com/elastic/elasticsearch-ruby/blob/v5.0.0/CHANGELOG.md)

## elasticsearch 0.1.10 breaking changes

elasticsearch 0.1.10, released September 24, 2013: 3 breaking changes.

- **Removed** `auto_generate_phrase_queries`  

The deprecated auto_generate_phrase_queries parameter was removed. Stop passing it. [github.com](https://github.com/elastic/elasticsearch-ruby/releases/tag/v0.1.10)
- **Removed** `interval`  

The deprecated interval parameter was removed. Use calendar_interval or fixed_interval instead. [github.com](https://github.com/elastic/elasticsearch-ruby/releases/tag/v0.1.10)
- **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](https://github.com/elastic/elasticsearch-ruby/releases/tag/v0.1.10)

## Related packages

- [elasticsearch-api](https://since.dev/packages/gem/elasticsearch-api.md)
- [elasticsearch-transport](https://since.dev/packages/gem/elasticsearch-transport.md)
- [elasticsearch-rails](https://since.dev/packages/gem/elasticsearch-rails.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
