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

# rom-sql breaking changes

rom-sql 3.0.0 (April 24, 2019) is its newest release with breaking changes, 2 of them. The first: Renamed Types.Int. Every breaking API change we have recorded in rom-sql on RubyGems: 41 breaking changes in 9 versions. Below, its 9 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `3.8.0`, released November 27, 2026. [Source repository](https://github.com/rom-rb/rom-sql)

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

- From [2.0.0](#v-2-0-0) to [3.0.0](#v-3-0-0): 2 breaking changes in 1 version.
- From [0.3.0](#v-0-3-0) to [3.0.0](#v-3-0-0): 39 breaking changes in 8 versions.

## rom-sql 3.0.0 breaking changes

rom-sql 3.0.0, released April 24, 2019: 2 breaking changes.

- **Renamed** `Types.Int`  

Types::Int is now Types::Integer. Update code that references the old name. [github.com](https://github.com/hanakai-rb/rom-sql/releases/tag/v3.0.0)
- **Behavior changed**  

The gem now works with dry-types 1.0.0, a breaking upgrade. Code relying on older dry-types behavior may need updates. [github.com](https://github.com/hanakai-rb/rom-sql/releases/tag/v3.0.0)

## rom-sql 2.0.0 breaking changes

rom-sql 2.0.0, released October 18, 2017: 16 breaking changes.

- **Removed** `AutoCombine`  

The AutoCombine plugin was removed because core API now provides this functionality. [github.com](https://github.com/hanakai-rb/rom-sql/releases/tag/v2.0.0)
- **Removed** `AutoWrap`  

The AutoWrap plugin was removed because core API now provides this functionality. [github.com](https://github.com/hanakai-rb/rom-sql/releases/tag/v2.0.0)
- **Removed** `Command.transaction`  

Command#transaction is gone; use Relation#transaction instead. [github.com](https://github.com/hanakai-rb/rom-sql/releases/tag/v2.0.0)
- **Removed** `PG.JSONArray`  

The PG::JSONArray type was dropped; use PG::JSON instead. [github.com](https://github.com/hanakai-rb/rom-sql/releases/tag/v2.0.0)
- **Removed** `PG.JSONBArray`  

The PG::JSONBArray type was dropped; use PG::JSONB instead. [github.com](https://github.com/hanakai-rb/rom-sql/releases/tag/v2.0.0)
- **Removed** `PG.JSONBHash`  

The PG::JSONBHash type was dropped; use PG::JSONB instead. [github.com](https://github.com/hanakai-rb/rom-sql/releases/tag/v2.0.0)
- **Removed** `PG.JSONHash`  

The PG::JSONHash type was dropped; use PG::JSON instead. [github.com](https://github.com/hanakai-rb/rom-sql/releases/tag/v2.0.0)
- **Behavior changed**  

The package now builds on rom 4.0, which is a breaking change for code relying on the older rom behavior. [github.com](https://github.com/hanakai-rb/rom-sql/releases/tag/v2.0.0)
- **Behavior changed** `Associates`  

The Associates command plugin now requires associations to be defined, so code that relied on them being optional must define them. [github.com](https://github.com/hanakai-rb/rom-sql/releases/tag/v2.0.0)
- **Behavior changed** `ManyToOne`  

ManyToOne associations no longer use a join, which can change the generated queries and results. [github.com](https://github.com/hanakai-rb/rom-sql/releases/tag/v2.0.0)

And 6 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## rom-sql 1.0.0 breaking changes

rom-sql 1.0.0, released January 29, 2017: 9 breaking changes.

- **Removed** `assoc_macros`  

The assoc_macros plugin is removed; use associations instead. [github.com](https://github.com/rom-rb/rom-sql/blob/v1.0.0/CHANGELOG.md)
- **Removed** `Commands.Update.change`  

Commands::Update#change is no longer available. [github.com](https://github.com/rom-rb/rom-sql/blob/v1.0.0/CHANGELOG.md)
- **Removed** `Commands.validator`  

Commands.validator is no longer available. [github.com](https://github.com/rom-rb/rom-sql/blob/v1.0.0/CHANGELOG.md)
- **Removed** `Relation.base`  

Relation#base is removed; a vanilla relation is now itself a base relation view. [github.com](https://github.com/rom-rb/rom-sql/blob/v1.0.0/CHANGELOG.md)
- **Removed** `Relation.header`  

Relation#header is gone; define relation schemas instead of headers in views and relations. [github.com](https://github.com/rom-rb/rom-sql/blob/v1.0.0/CHANGELOG.md)
- **Removed** `Relation.primary_key`  

Relation.primary_key was removed; use the relation schema to declare primary keys. [github.com](https://github.com/rom-rb/rom-sql/blob/v1.0.0/CHANGELOG.md)
- **Renamed** `view`  

Views are now defined with a schema block instead of a header block; header-based view definitions must be rewritten. [github.com](https://github.com/rom-rb/rom-sql/wiki/Upgrading-from-0.9.x-to-1.0.0)
- **Behavior changed**  

All relations now have schemas inferred by default, so commands process input through schemas and some tests may fail if they relied on unprocessed input. [github.com](https://github.com/rom-rb/rom-sql/blob/v1.0.0/CHANGELOG.md)
- **Behavior changed** `by_pk`  

The default by_pk view now uses schema attributes and raises an exception if the primary key attribute is missing from the schema. [github.com](https://github.com/rom-rb/rom-sql/blob/v1.0.0/CHANGELOG.md)

## rom-sql 0.9.0 breaking changes

rom-sql 0.9.0, released November 8, 2016: 4 breaking changes.

- **Behavior changed**  

Types inferred for schemas are no longer strict, so code relying on strict inferred types may see different results. [github.com](https://github.com/rom-rb/rom-sql/blob/v0.9.0/CHANGELOG.md)
- **Behavior changed** `Associations.OneToOne`  

Associations::OneToOne now inherits from OneToMany, which can change behavior for code that depends on its ancestry or inherited methods. [github.com](https://github.com/rom-rb/rom-sql/blob/v0.9.0/CHANGELOG.md)
- **Default changed**  

The default dataset now uses column names from the schema when one is available, so code relying on the previous default column selection may return different columns. [github.com](https://github.com/rom-rb/rom-sql/blob/v0.9.0/CHANGELOG.md)
- **Configuration changed**  

PG-specific types are now handled by the :postgres extension, and it loads connection extensions automatically. Code that sets up PostgreSQL types may need to enable this extension. [github.com](https://github.com/rom-rb/rom-sql/blob/v0.9.0/CHANGELOG.md)

## rom-sql 0.8.0 breaking changes

rom-sql 0.8.0, released July 27, 2016: 4 breaking changes.

- **Removed**  

The release dropped MRI 2.0.x support, so users on that Ruby version must upgrade Ruby before using this version. [github.com](https://github.com/rom-rb/rom-sql/blob/v0.8.0/CHANGELOG.md)
- **Behavior changed** `associates`  

The associates command plugin now takes its associations from the schema definition instead of previous behavior. [github.com](https://github.com/rom-rb/rom-sql/blob/v0.8.0/CHANGELOG.md)
- **Default changed** `Create`  

The Create command now has the :schema plugin enabled by default, which sets the input handler from the schema definition automatically. [github.com](https://github.com/rom-rb/rom-sql/blob/v0.8.0/CHANGELOG.md)
- **Default changed** `Update`  

The Update command now has the :schema plugin enabled by default, which sets the input handler from the schema definition automatically. [github.com](https://github.com/rom-rb/rom-sql/blob/v0.8.0/CHANGELOG.md)

## rom-sql 0.7.0 breaking changes

rom-sql 0.7.0, released January 6, 2016: 2 breaking changes.

- **Renamed** `ROM.SQL.gateway`  

Code calling ROM::SQL.gateway must switch to ROM::SQL::Gateway.instance. [github.com](https://github.com/rom-rb/rom-sql/blob/v0.7.0/CHANGELOG.md)
- **Behavior changed**  

Association macros are no longer loaded by default and must be enabled as a plugin. [github.com](https://github.com/rom-rb/rom-sql/blob/v0.7.0/CHANGELOG.md)

## Older versions

3 older versions.

### rom-sql 0.5.0 breaking changes

rom-sql 0.5.0, released May 22, 2015: 1 breaking change.

- **Behavior changed**  

Constraint errors are no longer command errors, so try and transaction blocks will not catch them. Code relying on those blocks to rescue constraint errors must handle them separately. [github.com](https://github.com/rom-rb/rom-sql/blob/v0.5.0/CHANGELOG.md)

### rom-sql 0.4.0 breaking changes

rom-sql 0.4.0, released March 22, 2015: 1 breaking change.

- **Behavior changed**  

Name inflection now goes through ROM's own inflector, which uses either ActiveSupport or Inflecto as its backend. Code that depends on the previous inflection output may need checking. [github.com](https://github.com/rom-rb/rom-sql/blob/v0.4.0/CHANGELOG.md)

### rom-sql 0.3.0 breaking changes

rom-sql 0.3.0, released December 19, 2014: 2 breaking changes.

- **Behavior changed** `association_join`  

association_join now builds its query with Sequel's graph interface, so returned columns and qualification may differ from before. Check code that relies on the previous column layout. [github.com](https://github.com/rom-rb/rom-sql/blob/v0.3.0/CHANGELOG.md)
- **Behavior changed** `delete`  

The delete command now returns the deleted tuples instead of its previous return value. Code that uses the return value of delete must be updated. [github.com](https://github.com/rom-rb/rom-sql/blob/v0.3.0/CHANGELOG.md)

## Related packages

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