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
On this page
Latest version 3.8.0, released November 27, 2026. Source repository
Packages on RubyGems run on Ruby. Ruby end of life dates.
- From 2.0.0 to 3.0.0: 2 breaking changes in 1 version.
- From 0.3.0 to 3.0.0: 39 breaking changes in 8 versions.
rom-sql 3.0.0 breaking changes
- Renamed
Types.Int
Types::Int is now Types::Integer. Update code that references the old name. github.com - 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
rom-sql 2.0.0 breaking changes
- Removed
AutoCombine
The AutoCombine plugin was removed because core API now provides this functionality. github.com - Removed
AutoWrap
The AutoWrap plugin was removed because core API now provides this functionality. github.com - Removed
Command.transaction
Command#transaction is gone; use Relation#transaction instead. github.com - Removed
PG.JSONArray
The PG::JSONArray type was dropped; use PG::JSON instead. github.com - Removed
PG.JSONBArray
The PG::JSONBArray type was dropped; use PG::JSONB instead. github.com - Removed
PG.JSONBHash
The PG::JSONBHash type was dropped; use PG::JSONB instead. github.com - Removed
PG.JSONHash
The PG::JSONHash type was dropped; use PG::JSON instead. github.com - 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 - 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 - Behavior changed
ManyToOne
ManyToOne associations no longer use a join, which can change the generated queries and results. github.com
And 6 more in this version. Sign up to see every change
rom-sql 1.0.0 breaking changes
- Removed
assoc_macros
The assoc_macros plugin is removed; use associations instead. github.com - Removed
Commands.Update.change
Commands::Update#change is no longer available. github.com - Removed
Commands.validator
Commands.validator is no longer available. github.com - Removed
Relation.base
Relation#base is removed; a vanilla relation is now itself a base relation view. github.com - Removed
Relation.header
Relation#header is gone; define relation schemas instead of headers in views and relations. github.com - Removed
Relation.primary_key
Relation.primary_key was removed; use the relation schema to declare primary keys. github.com - Renamed
view
Views are now defined with a schema block instead of a header block; header-based view definitions must be rewritten. github.com - 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 - 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
rom-sql 0.9.0 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 - 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 - 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 - 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
rom-sql 0.8.0 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 - Behavior changed
associates
The associates command plugin now takes its associations from the schema definition instead of previous behavior. github.com - 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 - 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
rom-sql 0.7.0 breaking changes
- Renamed
ROM.SQL.gateway
Code calling ROM::SQL.gateway must switch to ROM::SQL::Gateway.instance. github.com - Behavior changed
Association macros are no longer loaded by default and must be enabled as a plugin. github.com
Older versions
3 older versions.
Show 3 older versions
rom-sql 0.5.0 breaking changes
- 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
rom-sql 0.4.0 breaking changes
- 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
rom-sql 0.3.0 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 - 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
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.