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

# ahoy_matey breaking changes

ahoy_matey 5.0.0 (October 2, 2023) is its newest release with breaking changes, 2 of them. The first: Dropped support for Ruby below 3 in ahoy_matey 5.0.0. Every breaking API change we have recorded in ahoy_matey on RubyGems: 24 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 `5.5.0`. [Source repository](https://github.com/ankane/ahoy)

Its 4.0.0 release requires Ruby 2.6 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): 2 breaking changes in 1 version.
- From [0.3.0](#v-0-3-0) to [5.0.0](#v-5-0-0): 20 breaking changes in 5 versions.

## ahoy_matey 5.0.0 breaking changes

ahoy_matey 5.0.0, released October 2, 2023: 2 breaking changes.

- **Removed**  

The gem no longer supports Ruby versions below 3. [github.com](https://github.com/ankane/ahoy/blob/v5.0.0/CHANGELOG.md)
- **Behavior changed**  

Visits expire along with anonymity sets. Check any code that relies on visit lifetime. [github.com](https://github.com/ankane/ahoy/blob/v5.0.0/CHANGELOG.md)

## ahoy_matey 4.0.0 breaking changes

ahoy_matey 4.0.0, released August 14, 2021: 3 breaking changes.

- **Removed**  

Rails versions below 5.2 are no longer supported. Upgrade Rails to 5.2 or later before using this version. [github.com](https://github.com/ankane/ahoy/blob/v4.0.0/CHANGELOG.md)
- **Behavior changed**  

The API now responds with status 400 when required parameters are missing. Clients that expected another status code must handle 400. [github.com](https://github.com/ankane/ahoy/blob/v4.0.0/CHANGELOG.md)
- **Default changed**  

Geocoding no longer runs unless you enable it. Turn it on explicitly if your code depends on it. [github.com](https://github.com/ankane/ahoy/blob/v4.0.0/CHANGELOG.md)

## ahoy_matey 3.0.0 breaking changes

ahoy_matey 3.0.0, released May 29, 2019: 4 breaking changes.

- **Removed**  

Search keyword detection has been removed because most search engines now prevent it. Code that reads search keywords will no longer get them. [github.com](https://github.com/ankane/ahoy/blob/v3.0.0/CHANGELOG.md)
- **Removed**  

The gem no longer supports Rails versions earlier than 5. Apps on older Rails versions must upgrade Rails before using this release. [github.com](https://github.com/ankane/ahoy/blob/v3.0.0/CHANGELOG.md)
- **Default changed**  

Device Detector is now the default user agent parser. Code that relied on the previous default parser may see different results and should set the parser explicitly if needed. [github.com](https://github.com/ankane/ahoy/blob/v3.0.0/CHANGELOG.md)
- **Default changed**  

Version 2 of bot detection is now the default. Code relying on the previous bot detection version may classify visits differently. [github.com](https://github.com/ankane/ahoy/blob/v3.0.0/CHANGELOG.md)

## ahoy_matey 2.0.0 breaking changes

ahoy_matey 2.0.0, released February 26, 2018: 10 breaking changes.

- **Removed**  

Built-in throttling was removed in 2.0.0. [github.com](https://github.com/ankane/ahoy/blob/v2.0.0/CHANGELOG.md)
- **Removed**  

Versions of Rails older than 4.2 are no longer supported. [github.com](https://github.com/ankane/ahoy/blob/v2.0.0/CHANGELOG.md)
- **Removed**  

Options that were deprecated in earlier versions were removed. Stop using them. [github.com](https://github.com/ankane/ahoy/blob/v2.0.0/CHANGELOG.md)
- **Removed**  

Most built-in data stores were removed, so code relying on them must switch to a supported store or a custom one. [github.com](https://github.com/ankane/ahoy/blob/v2.0.0/CHANGELOG.md)
- **Renamed** `mount`  

The mount option was renamed to api and is now disabled by default. Update code that uses the old option name and enable api if needed. [github.com](https://github.com/ankane/ahoy/blob/v2.0.0/CHANGELOG.md)
- **Renamed** `track_visits_immediately`  

The track_visits_immediately option was renamed to server_side_visits and is now enabled by default. Update code that uses the old name. [github.com](https://github.com/ankane/ahoy/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed**  

The data store interface was simplified in 2.0.0, so custom stores written against the old interface may need changes. [github.com](https://github.com/ankane/ahoy/blob/v2.0.0/CHANGELOG.md)
- **Default changed**  

MySQL now uses the json type by default, so existing schemas or code relying on the previous default may need changes. [github.com](https://github.com/ankane/ahoy/blob/v2.0.0/CHANGELOG.md)
- **Default changed**  

Event tracking now uses navigator.sendBeacon by default in supported browsers. [github.com](https://github.com/ankane/ahoy/blob/v2.0.0/CHANGELOG.md)
- **Default changed** `protect_from_forgery`  

protect_from_forgery is now enabled by default, which may affect requests that previously worked without it. [github.com](https://github.com/ankane/ahoy/blob/v2.0.0/CHANGELOG.md)

## ahoy_matey 1.0.0 breaking changes

ahoy_matey 1.0.0, released June 18, 2014: 1 breaking change.

- **Behavior changed**  

Visits end after a period without activity rather than after a fixed length of time, so existing visit expiry behavior changes. [github.com](https://github.com/ankane/ahoy/blob/v1.0.0/CHANGELOG.md)

## ahoy_matey 0.3.0 breaking changes

ahoy_matey 0.3.0, released June 12, 2014: 4 breaking changes.

- **Behavior changed**  

The release quiets logging for endpoint requests. Code that depends on that log output will see less of it. [github.com](https://github.com/ankane/ahoy/blob/v0.3.0/CHANGELOG.md)
- **Behavior changed**  

The release skips recording events from bots on the server side. Code that expects those events to be recorded will see fewer of them. [github.com](https://github.com/ankane/ahoy/blob/v0.3.0/CHANGELOG.md)
- **Behavior changed**  

The release switched the generated identifiers to UUIDs. Code that assumes the previous identifier format may need to change. [github.com](https://github.com/ankane/ahoy/blob/v0.3.0/CHANGELOG.md)
- **Signature changed** `exclude_method`  

The exclude_method callback is now passed a request argument. Callbacks that accept no arguments must be updated to accept it. [github.com](https://github.com/ankane/ahoy/blob/v0.3.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.
