Skip to content

Bump activerecord from 8.0.3 to 8.0.4#3428

Merged
github-actions[bot] merged 1 commit into
masterfrom
dependabot/bundler/activerecord-8.0.4
Oct 29, 2025
Merged

Bump activerecord from 8.0.3 to 8.0.4#3428
github-actions[bot] merged 1 commit into
masterfrom
dependabot/bundler/activerecord-8.0.4

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Oct 29, 2025

Bumps activerecord from 8.0.3 to 8.0.4.

Release notes

Sourced from activerecord's releases.

8.0.4

Active Support

  • Fix Enumerable#sole to return the full tuple instead of just the first element of the tuple.

    Olivier Bellone

  • Fix parallel tests hanging when worker processes die abruptly.

    Previously, if a worker process was killed (e.g., OOM killed, kill -9) during parallel test execution, the test suite would hang forever waiting for the dead worker.

    Joshua Young

  • Fix NameError when class_attribute is defined on instance singleton classes.

    Previously, calling class_attribute on an instance's singleton class would raise a NameError when accessing the attribute through the instance.

    object = MyClass.new
    object.singleton_class.class_attribute :foo, default: "bar"
    object.foo # previously raised NameError, now returns "bar"

    Joshua Young

Active Model

  • No changes.

Active Record

  • Fix SQLite3 data loss during table alterations with CASCADE foreign keys.

    When altering a table in SQLite3 that is referenced by child tables with ON DELETE CASCADE foreign keys, ActiveRecord would silently delete all data from the child tables. This occurred because SQLite requires table recreation for schema changes, and during this process the original table is temporarily dropped, triggering CASCADE deletes on child tables.

    The root cause was incorrect ordering of operations. The original code wrapped disable_referential_integrity inside a transaction, but PRAGMA foreign_keys cannot be modified inside a transaction in SQLite - attempting to do so simply has no effect. This meant foreign keys remained enabled during table recreation, causing CASCADE deletes to fire.

    The fix reverses the order to follow the official SQLite 12-step ALTER TABLE

... (truncated)

Commits
  • 624fe3c Preparing for 8.0.4 release
  • 2f3eb21 Sync CHANGELOG
  • 6981fd2 Merge pull request #55969 from rails/fix-explain-tests-mysql-9.5
  • 52347e0 Merge pull request #55938 from aidanharan/truthy-condition-mssql
  • d282621 Merge pull request #55925 from flavorjones/flavorjones/shard-swap-prohibition...
  • 511dbf2 Merge pull request #55907 from ruyrocha/fix/sqlite3-data-loss
  • bf9219d Merge pull request #55918 from baarde/with-bound-sql-literals
  • 865bc77 Merge pull request #55332 from zzak/re-54882
  • dee79c4 Merge pull request #55778 from ianterrell/ianterrell/fix-autosave-changed-via...
  • See full diff 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests for Ruby compatibility labels Oct 29, 2025
@dependabot dependabot Bot temporarily deployed to Integrate Pull Request October 29, 2025 13:03 Inactive
@github-actions github-actions Bot enabled auto-merge October 29, 2025 13:03
@dependabot dependabot Bot force-pushed the dependabot/bundler/activerecord-8.0.4 branch from 7338d57 to ebbbcb6 Compare October 29, 2025 13:06
@dependabot dependabot Bot temporarily deployed to Integrate Pull Request October 29, 2025 13:06 Inactive
@dependabot dependabot Bot force-pushed the dependabot/bundler/activerecord-8.0.4 branch from ebbbcb6 to ca63492 Compare October 29, 2025 13:09
@dependabot dependabot Bot temporarily deployed to Integrate Pull Request October 29, 2025 13:09 Inactive
Bumps [activerecord](https://github.com/rails/rails) from 8.0.3 to 8.0.4.
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v8.1.1/activerecord/CHANGELOG.md)
- [Commits](rails/rails@v8.0.3...v8.0.4)

---
updated-dependencies:
- dependency-name: activerecord
  dependency-version: 8.0.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/bundler/activerecord-8.0.4 branch from ca63492 to a578412 Compare October 29, 2025 13:13
@dependabot dependabot Bot temporarily deployed to Integrate Pull Request October 29, 2025 13:13 Inactive
@github-actions github-actions Bot merged commit c30d1f7 into master Oct 29, 2025
5 checks passed
@dependabot dependabot Bot deleted the dependabot/bundler/activerecord-8.0.4 branch October 29, 2025 13:15
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 for Ruby compatibility

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants