palkan / n_plus_one_control

RSpec and Minitest matchers to prevent N+1 queries problem
MIT License
553 stars 20 forks source link

Upgrade all of rails to version 6.0.2 #29

Closed depfu[bot] closed 4 years ago

depfu[bot] commented 4 years ago

Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ activerecord (~> 5.1 → ~> 6.0) · Repo · Changelog

Release Notes

6.0.2

Active Support

  • Eager load translations during initialization.

    Diego Plentz

  • Use per-thread CPU time clock on ActiveSupport::Notifications.

    George Claghorn

Active Model

  • No changes.

Active Record

  • Share the same connection pool for primary and replica databases in the
    transactional tests for the same database.

    Edouard Chin

  • Fix the preloader when one record is fetched using after_initialize
    but not the entire collection.

    Bradley Price

  • Fix collection callbacks not terminating when :abort is thrown.

    Edouard Chin, Ryuta Kamizono

  • Correctly deprecate where.not working as NOR for relations.

    12a9664 deprecated where.not working as NOR, however
    doing a relation query like where.not(relation: { ... })
    wouldn't be properly deprecated and where.not would work as
    NAND instead.

    Edouard Chin

  • Fix db:migrate task with multiple databases to restore the connection
    to the previous database.

    The migrate task iterates and establish a connection over each db
    resulting in the last one to be used by subsequent rake tasks.
    We should reestablish a connection to the connection that was
    established before the migrate tasks was run

    Edouard Chin

  • Fix multi-threaded issue for AcceptanceValidator.

    Ryuta Kamizono

Action View

  • No changes.

Action Pack

  • Allow using mountable engine route helpers in System Tests.

    Chalo Fernandez

Active Job

Action Mailer

  • Fix ActionMailer assertions don't work for parameterized mail with legacy delivery job.

    bogdanvlviv

Action Cable

  • No changes.

Active Storage

  • No changes.

Action Mailbox

  • No changes.

Action Text

  • No changes.

Railties

  • Fix the collision check for the scaffold generator.

    Ryan Robeson

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)