Skip to content

Conversation

@dependabot
Copy link

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

Bumps rails from 7.1.5.2 to 8.0.4.

Release notes

Sourced from rails'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
  • 47a7635 Upgrade sigstore gem to 0.2.2
  • 2f3eb21 Sync CHANGELOG
  • d96d698 Merge pull request #56021 from harsh183/hd/getting_started_add_note_about_mai...
  • 0ddf2c9 Delete test that now fails with new version of benchmark gem
  • 6981fd2 Merge pull request #55969 from rails/fix-explain-tests-mysql-9.5
  • 95a073e Merge pull request #55966 from alexanderadam/doc/remove_subclasses_documentat...
  • ac0b8f0 Merge pull request #54720 from gregmolnar/guides
  • 82f2c96 Disable GCS tests in CI
  • 94a2844 Merge pull request #53068 from zzak/rails-probot-migration
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@github-actions github-actions bot enabled auto-merge (squash) October 29, 2025 23:07
@dependabot dependabot bot force-pushed the dependabot/bundler/spec/tester_mongo/rails-8.0.4 branch 7 times, most recently from 61d6823 to 0bb2973 Compare November 5, 2025 23:07
@dependabot dependabot bot force-pushed the dependabot/bundler/spec/tester_mongo/rails-8.0.4 branch 8 times, most recently from 99b7457 to 56f9210 Compare November 12, 2025 23:11
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Nov 12, 2025

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot recreate.

@dependabot dependabot bot force-pushed the dependabot/bundler/spec/tester_mongo/rails-8.0.4 branch 8 times, most recently from 38b4dd4 to a927ea3 Compare November 17, 2025 23:28
@dependabot dependabot bot force-pushed the dependabot/bundler/spec/tester_mongo/rails-8.0.4 branch 3 times, most recently from 4b04450 to 4b519cc Compare November 25, 2025 23:09
@dependabot dependabot bot force-pushed the dependabot/bundler/spec/tester_mongo/rails-8.0.4 branch from 4b519cc to b66de74 Compare November 25, 2025 23:14
Bumps [rails](https://github.com/rails/rails) from 7.1.5.2 to 8.0.4.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](rails/rails@v7.1.5.2...v8.0.4)

---
updated-dependencies:
- dependency-name: rails
  dependency-version: 8.0.4
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/bundler/spec/tester_mongo/rails-8.0.4 branch from b66de74 to 67536d3 Compare November 25, 2025 23:34
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Dec 18, 2025

Superseded by #1508.

@dependabot dependabot bot closed this Dec 18, 2025
auto-merge was automatically disabled December 18, 2025 23:09

Pull request was closed

@dependabot dependabot bot deleted the dependabot/bundler/spec/tester_mongo/rails-8.0.4 branch December 18, 2025 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant