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

# ancestry breaking changes

ancestry 5.0.0 (February 9, 2026) is its newest release with breaking changes, 12 of them. The first: Drops support for Rails versions before 6.1 in ancestry 5.0.0. Every breaking API change we have recorded in ancestry on RubyGems: 15 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 `5.1.0`. [Source repository](https://github.com/stefankroes/ancestry)

Packages on RubyGems run on Ruby. [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): 12 breaking changes in 1 version.
- From [3.0.0](#v-3-0-0) to [5.0.0](#v-5-0-0): 13 breaking changes in 2 versions.

## ancestry 5.0.0 breaking changes

ancestry 5.0.0, released February 9, 2026: 12 breaking changes.

- **Removed**  

Apps on Rails older than 6.1 must upgrade Rails before using this release. [github.com](https://github.com/stefankroes/ancestry/blob/v5.0.0/CHANGELOG.md)
- **Removed** `ancestry_format`  

The ancestry_format accessor no longer exists. [github.com](https://github.com/stefankroes/ancestry/blob/v5.0.0/CHANGELOG.md)
- **Removed** `ancestry_primary_key_format`  

The ancestry_primary_key_format accessor no longer exists. [github.com](https://github.com/stefankroes/ancestry/blob/v5.0.0/CHANGELOG.md)
- **Removed** `orphan_strategy`  

The orphan_strategy accessor no longer exists; use the has_ancestry option instead. [github.com](https://github.com/stefankroes/ancestry/blob/v5.0.0/CHANGELOG.md)
- **Removed** `touch_ancestors`  

The touch_ancestors accessor no longer exists. [github.com](https://github.com/stefankroes/ancestry/blob/v5.0.0/CHANGELOG.md)
- **Renamed** `child_ancestry_before_save`  

Code calling the old internal \*\_before_save methods must use the \*\_before_last_save names. [github.com](https://github.com/stefankroes/ancestry/blob/v5.0.0/CHANGELOG.md)
- **Behavior changed** `siblings`  

Code that expects siblings to include self must now handle it being excluded. [github.com](https://github.com/stefankroes/ancestry/blob/v5.0.0/CHANGELOG.md)
- **Configuration changed**  

Use has_ancestry to enable these features; setting options through class methods no longer works. [github.com](https://github.com/stefankroes/ancestry/blob/v5.0.0/CHANGELOG.md)
- **Configuration changed** `ancestry_base_class`  

Class-level setter no longer exists; the value can only be read. [github.com](https://github.com/stefankroes/ancestry/blob/v5.0.0/CHANGELOG.md)
- **Configuration changed** `ancestry_column`  

Class-level setter no longer exists; the value can only be read. [github.com](https://github.com/stefankroes/ancestry/blob/v5.0.0/CHANGELOG.md)
- **Configuration changed** `ancestry_delimiter`  

Class-level setter no longer exists; the value can only be read. [github.com](https://github.com/stefankroes/ancestry/blob/v5.0.0/CHANGELOG.md)
- **Configuration changed** `depth_cache_column`  

Class-level setter no longer exists; the value can only be read. [github.com](https://github.com/stefankroes/ancestry/blob/v5.0.0/CHANGELOG.md)

## ancestry 4.0.0 breaking changes

ancestry 4.0.0, released April 13, 2021: 1 breaking change.

- **Removed**  

The release no longer supports Rails 4.2 and 5.0. Apps on those Rails versions must upgrade Rails before moving to this release. [github.com](https://github.com/stefankroes/ancestry/blob/v4.0.0/CHANGELOG.md)

## ancestry 3.0.0 breaking changes

ancestry 3.0.0, released May 20, 2017: 2 breaking changes.

- **Removed**  

Support for Rails 3.0 and 3.1 was removed in this release. Apps on those Rails versions must upgrade Rails before moving to this version. [github.com](https://github.com/stefankroes/ancestry/blob/v3.0.0/CHANGELOG.md)
- **Removed**  

Support for Rails 4.0 and 4.1 was removed in this release, though Rails 4.2 and later remain supported. Apps on Rails 4.0 or 4.1 must upgrade Rails first. [github.com](https://github.com/stefankroes/ancestry/blob/v3.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.
