---
title: "activerecord-import 3.0.0 Breaking Changes on RubyGems"
description: "What each activerecord-import release removed, renamed or changed: 20 breaking changes in 10 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/activerecord-import
last_updated: 2026-12-04
---

# activerecord-import breaking changes

activerecord-import 3.0.0 (October 17, 2026) is its newest release with breaking changes, 7 of them. The first: activerecord-import 3.0.0 requires Ruby 3.1 or later. Every breaking API change we have recorded in activerecord-import on RubyGems: 20 breaking changes in 10 versions. Below, its 10 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `3.0.1`. [Source repository](https://github.com/zdennis/activerecord-import)

Its 3.0.0 release requires [Ruby 3.1](https://since.dev/calendar/ruby/3.1.md) or later. [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): 7 breaking changes in 1 version.
- From [0.12.0](#v-0-12-0) to [3.0.0](#v-3-0-0): 18 breaking changes in 9 versions.

## activerecord-import 3.0.0 breaking changes

activerecord-import 3.0.0, released October 17, 2026: 7 breaking changes.

- **Behavior changed**  

Ruby versions before 3.1 and ActiveRecord versions before 6.1 are no longer supported. Upgrade Ruby and ActiveRecord before upgrading this gem. [github.com](https://github.com/zdennis/activerecord-import/blob/v3.0.0/CHANGELOG.md)
- **Behavior changed**  

On MariaDB 10.5+ imports now return ids and results, and affected_rows is nil unless no_returning: true is passed. [github.com](https://github.com/zdennis/activerecord-import/blob/v3.0.0/CHANGELOG.md)
- **Behavior changed**  

Rows without a value for a database-filled column now get the database default instead of NULL on PostgreSQL and MySQL/MariaDB. SQLite now raises ArgumentError for such mixed imports. [github.com](https://github.com/zdennis/activerecord-import/blob/v3.0.0/CHANGELOG.md)
- **Behavior changed**  

Existing records assigned to a new parent are now imported and linked; without on_duplicate_key_update this raises a duplicate key error. [github.com](https://github.com/zdennis/activerecord-import/blob/v3.0.0/CHANGELOG.md)
- **Behavior changed** `columns: :all`  

Imports with columns: :all no longer update created_at or created_on when timestamps are recorded on create. [github.com](https://github.com/zdennis/activerecord-import/blob/v3.0.0/CHANGELOG.md)
- **Behavior changed** `on_duplicate_key_update: :all`  

Imports with on_duplicate_key_update: :all no longer update created_at or created_on when timestamps are recorded on create. [github.com](https://github.com/zdennis/activerecord-import/blob/v3.0.0/CHANGELOG.md)
- **Behavior changed** `synchronize`  

Importing with synchronize now keeps the synchronized models' previous_changes instead of clearing them. [github.com](https://github.com/zdennis/activerecord-import/blob/v3.0.0/CHANGELOG.md)

## activerecord-import 2.0.0 breaking changes

activerecord-import 2.0.0, released December 10, 2024: 1 breaking change.

- **Behavior changed** `recursive_on_duplicate_key_update`  

The recursive_on_duplicate_key_update option now looks up options by the association name rather than the associated table name. This only affects associations using the class_name: option; update those hash keys to the association name. [github.com](https://github.com/zdennis/activerecord-import/blob/v2.0.0/CHANGELOG.md)

## activerecord-import 1.0.0 breaking changes

activerecord-import 1.0.0, released January 30, 2019: 1 breaking change.

- **Default changed** `:on_duplicate_key_update`  

MySQL imports no longer update timestamp columns on duplicate key by default. Users who want that behavior must now enable :on_duplicate_key_update explicitly. [github.com](https://github.com/zdennis/activerecord-import/blob/v1.0.0/CHANGELOG.md)

## activerecord-import 0.23.0 breaking changes

activerecord-import 0.23.0, released May 4, 2018: 2 breaking changes.

- **Renamed** `import`  

The import method is now named bulk_import, and import remains available as an alias, so existing calls should keep working. [github.com](https://github.com/zdennis/activerecord-import/blob/v0.23.0/CHANGELOG.md)
- **Behavior changed**  

When a duplicate key update occurs during import, lock_version is now incremented, so code relying on the previous lock_version value may behave differently. [github.com](https://github.com/zdennis/activerecord-import/blob/v0.23.0/CHANGELOG.md)

## activerecord-import 0.21.0 breaking changes

activerecord-import 0.21.0, released November 21, 2017: 1 breaking change.

- **Behavior changed**  

Importing an array of hashes now raises an ArgumentError if the hash objects do not all have the same keys. Make sure every hash in the array has the same keys before importing. [github.com](https://github.com/zdennis/activerecord-import/blob/v0.21.0/CHANGELOG.md)

## activerecord-import 0.18.0 breaking changes

activerecord-import 0.18.0, released April 18, 2017: 1 breaking change.

- **Behavior changed**  

Uniqueness validation is no longer run when validating models during import, because duplicates within a batch cannot be detected. Code that relies on it must check for duplicates another way. [github.com](https://github.com/zdennis/activerecord-import/blob/v0.18.0/CHANGELOG.md)

## Older versions

4 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### activerecord-import 0.17.0 breaking changes

activerecord-import 0.17.0, released January 17, 2017: 1 breaking change.

- **Removed**  

SQLite recursive imports are no longer supported in this release. Code that relies on recursive imports with SQLite must change its approach. [github.com](https://github.com/zdennis/activerecord-import/blob/v0.17.0/CHANGELOG.md)

### activerecord-import 0.15.0 breaking changes

activerecord-import 0.15.0, released July 4, 2016: 1 breaking change.

- **Behavior changed** `on_duplicate_key_update`  

When no conflict_target or conflict_name is given or can be determined for on_duplicate_key_update on PostgreSQL, an ArgumentError is now raised. Pass a conflict target explicitly. [github.com](https://github.com/zdennis/activerecord-import/blob/v0.15.0/CHANGELOG.md)

### activerecord-import 0.14.0 breaking changes

activerecord-import 0.14.0, released June 22, 2016: 3 breaking changes.

- **Removed**  

ActiveRecord 3.1 is no longer supported, so apps on that version must upgrade ActiveRecord before using this release. [github.com](https://github.com/zdennis/activerecord-import/blob/v0.14.0/CHANGELOG.md)
- **Behavior changed**  

Imports of models with polymorphic associations skip the :type column now, so code that expected it to be imported must change. [github.com](https://github.com/zdennis/activerecord-import/blob/v0.14.0/CHANGELOG.md)

And 1 more in this version.

### activerecord-import 0.12.0 breaking changes

activerecord-import 0.12.0, released February 26, 2016: 2 breaking changes.

- **Removed**  

Support for the mysql gem/adapter has been removed because it is abandoned. Switch to the mysql2 gem/adapter. [github.com](https://github.com/zdennis/activerecord-import/blob/v0.12.0/CHANGELOG.md)
- **Removed**  

Support for the em-synchrony project has been removed because the project appears abandoned. Code relying on it must change. [github.com](https://github.com/zdennis/activerecord-import/blob/v0.12.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.
