Skip to content

chore(deps): Bump activerecord-import from 2.2.0 to 2.3.0 - #759

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/bundler/activerecord-import-2.3.0
Open

chore(deps): Bump activerecord-import from 2.2.0 to 2.3.0#759
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/bundler/activerecord-import-2.3.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 20, 2026

Copy link
Copy Markdown
Contributor

Bumps activerecord-import from 2.2.0 to 2.3.0.

Changelog

Sourced from activerecord-import's changelog.

Changes in 2.3.0

New Features

  • Add Support for trilogy_proxy from active_record_proxy_adapters by @​mateuscruz via #887.
  • Add Support for sqlite3_proxy from active_record_proxy_adapters by @​mateuscruz via #887.
  • Add affected rows support for the MySQL adapter. ActiveRecord::Import::Result now carries an affected_rows member, which reports the number of rows the server actually reported as affected when the adapter exposes it (nil otherwise). This is most useful with on_duplicate_key_update, where the count distinguishes inserted from updated rows. Thanks to @​ehasrouni via #882 and #885.

Fixes

  • Fix NoMethodError: undefined method 'validation_context=' when importing with validations against Rails main (8.2.0.alpha). Rails removed ActiveModel's private validation_context= writer in rails/rails@0f9d127 in favor of a validation context object reachable through context_for_validation. ActiveRecord::Import::Validator now sets and restores the validation context through whichever API the loaded ActiveModel provides. Thanks to @​yu-yaba via #900.
  • Fix adapter-specific import support (e.g. on_duplicate_key_update) never loading for a connection established via connects_to/ActiveRecord::ConnectionAdapters:: ConnectionHandler#establish_connection instead of ActiveRecord::Base.establish_connection directly - most commonly hit with a Rails multi-database secondary connection. The lazy adapter loader now hooks ConnectionHandler#establish_connection instead of ActiveRecord::Base.establish_connection, so it fires for every connection regardless of how it was established. Thanks to @​mateuscruz via #886.
  • Fix active_record_proxy_adapters support, which was not loading the import adapter for proxied connections. Thanks to @​mateuscruz via #880.
  • Use with_connection instead of ActiveRecord::Base.connection, which is deprecated as of ActiveRecord 7.2. Thanks to @​nerdrew via #875 and #876.
  • Reduce the size of the published gem by excluding test files. Thanks to @​yuri-zubov via #893.
Commits
  • 8ac907c Merge pull request #901 from zdennis/releases/v2.3.0
  • d258d28 Merge pull request #891 from swrobel/patch-1
  • 9a955bf Bump version to 2.3.0
  • f27c0b6 Update changelog for 2.3.0
  • 35e452f Merge pull request #900 from yu-yaba/fix-validation-context-rails-main
  • f78ba31 Install gems for the Rails main target
  • 01f41ff Credit the contribution in the CHANGELOG entry
  • 6cb5076 Add an experimental Rails main target to the CI matrix
  • be127f7 Support ActiveModel's removal of the private validation_context= writer
  • e11dd24 Merge pull request #899 from zackerms/rename-books-to-values-in-readme
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [activerecord-import](https://github.com/zdennis/activerecord-import) from 2.2.0 to 2.3.0.
- [Changelog](https://github.com/zdennis/activerecord-import/blob/master/CHANGELOG.md)
- [Commits](zdennis/activerecord-import@v2.2.0...v2.3.0)

---
updated-dependencies:
- dependency-name: activerecord-import
  dependency-version: 2.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Aug 20, 2026
@sonarqubecloud

Copy link
Copy Markdown

@aaronlippold
aaronlippold temporarily deployed to vulcan-dependabot-bundl-1qmgxq August 20, 2026 17:18 Inactive
@github-actions
github-actions Bot enabled auto-merge (squash) August 20, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant