---
title: "thinking-sphinx 5.0.0 Breaking Changes on RubyGems"
description: "What each thinking-sphinx release removed, renamed or changed: 15 breaking changes in 2 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/thinking-sphinx
last_updated: 2026-12-04
---

# thinking-sphinx breaking changes

thinking-sphinx 5.0.0 (July 20, 2020) is its newest release with breaking changes, 8 of them. The first: Ruby versions below 2.3 are no longer supported in thinking-sphinx 5.0.0. Every breaking API change we have recorded in thinking-sphinx on RubyGems: 15 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `6.0.0`, released January 11, 2026. [Source repository](https://github.com/pat/thinking-sphinx)

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

- From [4.0.0](#v-4-0-0) to [5.0.0](#v-5-0-0): 8 breaking changes in 1 version.

## thinking-sphinx 5.0.0 breaking changes

thinking-sphinx 5.0.0, released July 20, 2020: 8 breaking changes.

- **Removed**  

Ruby versions less than 2.3 are dropped. Use Ruby 2.4 or newer. [github.com](https://github.com/pat/thinking-sphinx/releases/tag/v5.0.0)
- **Removed**  

Sphinx 2.1 support has been dropped. Upgrade Sphinx, ideally to 2.2.11 or newer. [github.com](https://github.com/pat/thinking-sphinx/releases/tag/v5.0.0)
- **Behavior changed**  

Thinking Sphinx no longer adds callbacks to every model. Add ThinkingSphinx::Callbacks.append to each model you index, with the behaviours that match your indices. [github.com](https://github.com/pat/thinking-sphinx/releases/tag/v5.0.0)
- **Behavior changed**  

Real-time index data is now deleted before it is replaced, so offset changes no longer leave duplicate data. [github.com](https://github.com/pat/thinking-sphinx/releases/tag/v5.0.0)
- **Behavior changed** `index_set_class`  

Custom index_set_class implementations can now expect :instances to be passed alongside :classes. [github.com](https://github.com/pat/thinking-sphinx/releases/tag/v5.0.0)
- **Behavior changed** `ThinkingSphinx.IndexSet`  

With a custom index_set_class, reference_name is now called instead of the class method on ThinkingSphinx::IndexSet. [github.com](https://github.com/pat/thinking-sphinx/releases/tag/v5.0.0)
- **Configuration changed** `attribute_updates`  

If you use SQL-backed indices with attribute_updates enabled, add :updates to the :behaviours option of the callbacks. [github.com](https://github.com/pat/thinking-sphinx/releases/tag/v5.0.0)
- **Configuration changed** `skip_docinfo`  

The skip_docinfo setting in config/thinking_sphinx.yml is no longer needed and can be removed. [github.com](https://github.com/pat/thinking-sphinx/releases/tag/v5.0.0)

## thinking-sphinx 4.0.0 breaking changes

thinking-sphinx 4.0.0, released April 10, 2018: 7 breaking changes.

- **Removed**  

Ruby versions less than 2.2 are no longer supported. Use Ruby 2.2 or newer. [github.com](https://github.com/pat/thinking-sphinx/releases/tag/v4.0.0)
- **Removed**  

Sphinx 2.0 is no longer supported. Run Sphinx 2.1.2 or newer, with 2.2.11 recommended. [github.com](https://github.com/pat/thinking-sphinx/releases/tag/v4.0.0)
- **Behavior changed**  

Exceptions raised while processing real-time indices are now logged and no longer halt processing. [github.com](https://github.com/pat/thinking-sphinx/releases/tag/v4.0.0)
- **Behavior changed** `Model.search`  

Filter values sent to Sphinx are no longer auto-typed, so cast them yourself, for example with to_i. [github.com](https://github.com/pat/thinking-sphinx/releases/tag/v4.0.0)
- **Behavior changed** `ts:clear`  

ts:clear now deletes index guard files as part of its run. [github.com](https://github.com/pat/thinking-sphinx/releases/tag/v4.0.0)
- **Behavior changed** `ts:index`  

The INDEX_FILTER environment variable is now applied when running ts:index on SQL-backed indices. Check it if you set it. [github.com](https://github.com/pat/thinking-sphinx/releases/tag/v4.0.0)
- **Behavior changed** `ts:rebuild`  

ts:rebuild now deletes index guard files as part of its run. [github.com](https://github.com/pat/thinking-sphinx/releases/tag/v4.0.0)

## 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.
