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

# rom-repository breaking changes

rom-repository 5.0.0 (April 24, 2019) is its newest release with breaking changes, 2 of them. The first: rom-repository 5.0.0 drops support for Ruby 2.4. Every breaking API change we have recorded in rom-repository on RubyGems: 18 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `5.4.3`. [Source repository](https://github.com/rom-rb/rom)

Its 5.0.0 release drops Ruby 2.4. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [2.0.0](#v-2-0-0) to [5.0.0](#v-5-0-0): 2 breaking changes in 1 version.
- From [0.2.0](#v-0-2-0) to [5.0.0](#v-5-0-0): 15 breaking changes in 4 versions.

## rom-repository 5.0.0 breaking changes

rom-repository 5.0.0, released April 24, 2019: 2 breaking changes.

- **Removed**  

Users on Ruby 2.4 or older must upgrade their Ruby before using this release. [github.com](https://github.com/hanakai-rb/rom/releases/tag/v5.0.0)
- **Removed** `Repository.Root.aggregate`  

Use Relation#combine instead of Repository::Root#aggregate. [github.com](https://github.com/hanakai-rb/rom/releases/tag/v5.0.0)

## rom-repository 2.0.0 breaking changes

rom-repository 2.0.0, released October 18, 2017: 9 breaking changes.

- **Removed** `ROM.env`  

ROM.env no longer exists, so code calling it will stop working. [github.com](https://github.com/rom-rb/rom/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed**  

Command graphs return a materialized result (a hash or an array). Code that expects a relation from a command graph must be updated. [github.com](https://github.com/rom-rb/rom/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed** `auto_registration`  

auto_registration now converts its directory argument to a Pathname, so code relying on a string there may behave differently. [github.com](https://github.com/rom-rb/rom/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed** `Command.name`  

Command#name returns a Relation::Name instance instead of a plain value. Code that uses it as a string must be updated. [github.com](https://github.com/rom-rb/rom/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed** `Delete`  

Delete no longer calls assert_tuple_count, so it will not raise when the tuple count is unexpected. [github.com](https://github.com/rom-rb/rom/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed** `Relation.dataset`  

When a block is passed, Relation.dataset yields a relation class rather than the previous value. [github.com](https://github.com/rom-rb/rom/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed** `Relation.name`  

Relation#name returns a Relation::Name instance instead of a plain value. Code that uses it as a string must be updated. [github.com](https://github.com/rom-rb/rom/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed** `Update`  

Update no longer calls assert_tuple_count, so it will not raise when the tuple count is unexpected. [github.com](https://github.com/rom-rb/rom/blob/v2.0.0/CHANGELOG.md)
- **Default changed**  

Macros are now enabled by default in the in-line setup block, so setups that did not expect them will see them active. [github.com](https://github.com/rom-rb/rom/blob/v2.0.0/CHANGELOG.md)

## rom-repository 1.0.0 breaking changes

rom-repository 1.0.0, released January 29, 2017: 3 breaking changes.

- **Removed**  

Every API that was deprecated in earlier versions is removed. Code still calling those deprecated APIs must switch to their replacements. [github.com](https://github.com/rom-rb/rom/blob/v1.0.0/CHANGELOG.md)
- **Behavior changed**  

A missing key in the command graph input now raises ROM::KeyMissing. Code that expected a missing key to pass silently must handle this error. [github.com](https://github.com/rom-rb/rom/blob/v1.0.0/CHANGELOG.md)
- **Behavior changed**  

The command graph now lets exceptions propagate instead of rescuing them. Code that relied on those exceptions being swallowed must handle them itself. [github.com](https://github.com/rom-rb/rom/blob/v1.0.0/CHANGELOG.md)

## rom-repository 0.3.0 breaking changes

rom-repository 0.3.0, released July 27, 2016: 1 breaking change.

- **Behavior changed**  

The 0.3.0 release is a rewrite built on a new adapter interface, so code written against 0.2.0 may need to be updated to the new architecture. [github.com](https://github.com/rom-rb/rom/blob/v0.3.0/CHANGELOG.md)

## rom-repository 0.2.0 breaking changes

rom-repository 0.2.0, released January 6, 2016: 3 breaking changes.

- **Removed**  

The rom-relation, rom-mapper and rom-session packages were merged into the rom project, so code depending on them separately must switch to rom. [github.com](https://github.com/rom-rb/rom/blob/v0.2.0/Changelog.md)
- **Renamed** `:to`  

The :to option of the mapping DSL was replaced by :from, so existing :to usages must be renamed. [github.com](https://github.com/rom-rb/rom/blob/v0.2.0/Changelog.md)
- **Signature changed** `mapping DSL`  

Mapping definitions written as users do...end must be changed to relation(:users) do...end. [github.com](https://github.com/rom-rb/rom/blob/v0.2.0/Changelog.md)

## Related packages

- [rom](https://since.dev/packages/gem/rom.md)
- [rom-sql](https://since.dev/packages/gem/rom-sql.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.
