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

# searchlight breaking changes

searchlight 4.0.0 (October 28, 2015) is its newest release with breaking changes, 6 of them. The first: Removed searches. Every breaking API change we have recorded in searchlight on RubyGems: 9 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.1.0`. [Source repository](https://github.com/nathanl/searchlight)

Packages on RubyGems run on Ruby. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [3.0.0](#v-3-0-0) to [4.0.0](#v-4-0-0): 6 breaking changes in 1 version.
- From [2.0.0](#v-2-0-0) to [4.0.0](#v-4-0-0): 7 breaking changes in 2 versions.

## searchlight 4.0.0 breaking changes

searchlight 4.0.0, released October 28, 2015: 6 breaking changes.

- **Removed** `searches`  

The searches method is gone. Public methods named like search_title now receive the matching option automatically. [github.com](https://github.com/nathanl/searchlight/blob/v4.0.0/CHANGELOG.md)
- **Removed** `title`  

Read option values through options\[:title\] instead of the .title reader. [github.com](https://github.com/nathanl/searchlight/blob/v4.0.0/CHANGELOG.md)
- **Removed** `title?`  

Use checked?(options\[:title\]) instead of the .title? predicate. [github.com](https://github.com/nathanl/searchlight/blob/v4.0.0/CHANGELOG.md)
- **Renamed** `search_on`  

Define the base query as an instance method named base_query instead of calling search_on. Subclasses can modify it with super. [github.com](https://github.com/nathanl/searchlight/blob/v4.0.0/CHANGELOG.md)
- **Behavior changed**  

You must define base_query yourself, because Searchlight no longer derives the base query from the search class name. [github.com](https://github.com/nathanl/searchlight/blob/v4.0.0/CHANGELOG.md)
- **Configuration changed** `Searchlight.Adapters.ActionView`  

The ActionView adapter is no longer loaded automatically. Require and include it explicitly in your code. [github.com](https://github.com/nathanl/searchlight/blob/v4.0.0/CHANGELOG.md)

## searchlight 3.0.0 breaking changes

searchlight 3.0.0, released April 15, 2014: 1 breaking change.

- **Behavior changed** `params[:search]`  

Inputs generated by ActionView forms are named after the search form, so for a 'UserSearch' form they submit under 'user_search' instead of 'search'. Rails users must update references such as params\[:search\] to match the search class name. [github.com](https://github.com/nathanl/searchlight/blob/v3.0.0/CHANGELOG.md)

## searchlight 2.0.0 breaking changes

searchlight 2.0.0, released April 14, 2014: 2 breaking changes.

- **Removed**  

ORM adapters were removed, so Searchlight no longer has ties to any ORM. Define your own search\_ methods instead. [github.com](https://github.com/nathanl/searchlight/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed** `search_on`  

With ORM adapters removed, search_on calls must return an ActiveRecord::Relation. Passing the model class itself, such as search_on User, must be changed to search_on User.all (Rails 4 and later) or search_on User.scoped (Rails before 4). [github.com](https://github.com/nathanl/searchlight/blob/v2.0.0/CHANGELOG.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.
