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

# 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

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.0.32](#v-0-0-32) to [9.0.0](#v-9-0-0): 20 breaking changes in 6 versions.

## elasticsearch-api 9.0.0 breaking changes

elasticsearch-api 9.0.0, released April 15, 2025: 10 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](https://github.com/elastic/elasticsearch-ruby/releases/tag/v9.0.0)
- **Removed** `clear_scroll`  

Pass scroll_id inside the request body, for example client.clear_scroll(body: { scroll_id: scroll_id }). [github.com](https://github.com/elastic/elasticsearch-ruby/releases/tag/v9.0.0)
- **Removed** `data_frame_deprecated`  

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

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

Pass scroll_id inside the request body, for example client.scroll(body: { scroll_id: scroll_id }). [github.com](https://github.com/elastic/elasticsearch-ruby/releases/tag/v9.0.0)
- **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](https://github.com/elastic/elasticsearch-ruby/releases/tag/v9.0.0)
- **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](https://github.com/elastic/elasticsearch-ruby/releases/tag/v9.0.0)
- **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](https://github.com/elastic/elasticsearch-ruby/releases/tag/v9.0.0)

## elasticsearch-api 8.0.0 breaking changes

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

## elasticsearch-api 7.0.0.pre breaking changes

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

Bulk and Msearch requests now set the application/x-ndjson content type instead of the previous one. [github.com](https://github.com/elastic/elasticsearch-ruby/releases/tag/v7.0.0.pre)

## elasticsearch-api 6.0.0 breaking changes

elasticsearch-api 6.0.0, released November 14, 2017: 2 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](https://github.com/elastic/elasticsearch-ruby/blob/v6.0.0/CHANGELOG.md)
- **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](https://github.com/elastic/elasticsearch-ruby/blob/v6.0.0/CHANGELOG.md)

## elasticsearch-api 5.0.0 breaking changes

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

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

## elasticsearch-api 0.1.10 breaking changes

elasticsearch-api 0.1.10, released September 24, 2013: 2 breaking changes.

- **Removed** `auto_generate_phrase_queries`  

Code that passes this parameter must stop using it. [github.com](https://github.com/elastic/elasticsearch-ruby/releases/tag/v0.1.10)
- **Removed** `interval`  

Code that passes this parameter must stop using it. [github.com](https://github.com/elastic/elasticsearch-ruby/releases/tag/v0.1.10)

## Older versions

1 older version.

### elasticsearch-api 0.0.32 breaking changes

elasticsearch-api 0.0.32, released September 24, 2013: 1 breaking change.

- **Renamed** `Reindex`  

Code that passes the target key to Reindex must use dest instead. [github.com](https://github.com/elastic/elasticsearch-ruby/releases/tag/v0.0.32)

## Related packages

- [elasticsearch](https://since.dev/packages/gem/elasticsearch.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.
