Type cast #attribute_changed?:from and :to options.
Andrew Novoselac
Fix index_exists? when column is an array.
Eileen M. Uchitelle
Handle Date objects for PostgreSQL timestamptz columns.
Alex Ghiculescu
Fix collation for changing column to non-string.
Hartley McGuire
Map through subtype in PostgreSQL::OID::Array.
Jonathan Hefner
Store correct environment in internal_metadata when run rails db:prepare.
fatkodima
Make sure ActiveRecord::Relation#sum works with objects that implement #coerce without deprecation.
Alex Ghiculescu
Fix retrieving foreign keys referencing tables named like keywords in PostgreSQL and MySQL.
fatkodima
Support UUIDs in Disable Joins.
Samuel Cochran
Fix Active Record's explain for queries starting with comments.
fatkodima
Fix incorrectly preloading through association records when middle association has been loaded.
Joshua Young
Fix where.missing and where.associated for parent/child associations.
fatkodima
Fix Enumerable#in_order_of to preserve duplicates.
fatkodima
Fix autoincrement on primary key for mysql.
Eileen M. Uchitelle
Restore ability to redefine column in create_table for Rails 5.2 migrations.
fatkodima
Fix schema cache dumping of virtual columns.
fatkodima
Fix Active Record grouped calculations on joined tables on column present in both tables.
fatkodima
Fix mutation detection for serialized attributes backed by binary columns.
Jean Boussier
Fix a bug where using groups and counts with long table names would return incorrect results.
Shota Toguchi, Yusaku Ono
Fix erroneous nil default precision on virtual datetime columns.
Prior to this change, virtual datetime columns did not have the same
default precision as regular datetime columns, resulting in the following
being erroneously equivalent:
Fix cookie domain for domain: all on two letter single level TLD.
John Hawthorn
Don't double log the controller, action, or namespaced_controller when using ActiveRecord::QueryLog
Previously if you set config.active_record.query_log_tags to an array that included :controller, :namespaced_controller, or :action, that item would get logged twice.
This bug has been fixed.
Alex Ghiculescu
Rescue EOFError exception from rack on a multipart request.
Nikita Vasilevsky
Rescue JSON::ParserError in Cookies json deserializer to discards marshal dumps:
Without this change, if action_dispatch.cookies_serializer is set to :json and
the app tries to read a :marshal serialized cookie, it would error out which wouldn't
clear the cookie and force app users to manually clear it in their browser.
Don't double log the job when using ActiveRecord::QueryLog
Previously if you set config.active_record.query_log_tags to an array that included :job, the job name would get logged twice. This bug has been fixed.
Alex Ghiculescu
Action Mailer
No changes.
Action Cable
Restore Action Cable Redis pub/sub listener on connection failure.
Vladimir Dementyev
Active Storage
No changes.
Action Mailbox
No changes.
Action Text
Fix ActionText::Attachable#as_json.
Alexandre Ruban
Railties
Add puma app server to Gemfile in order to start test/dummy.
Donapieppo
Rails console now disables IRB's autocompletion feature in production by default.
Setting IRB_USE_AUTOCOMPLETE=true can override this default.
Stan Lo
Send 303 See Other status code back for the destroy action on newly generated
scaffold controllers.
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 cancel merge
Cancels automatic merging of this PR
@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)
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?
✳️ rails (>= 3.0, < 6 → >= 3.0, <= 7.0.5) · Repo
Release Notes
7.0.5
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 36 commits:
Preparing for 7.0.5 release
Sync CHANGELOG
Merge pull request #48274 from Shopify/fix-serialized-blob-column-changed-in-place
Merge pull request #48183 from yahonda/add_ext_readline_for_ruby33
Merge pull request #48091 from fatkodima/backport-46923
Fix ActiveRecord grouped calculations on joined tables on column present in both tables
Merge pull request #48048 from tiramizoo/pg-1-5-warning
Use RDoc markup
Document query cache invalidation for raw_connection
Merge pull request #46939 from fatkodima/fix-dumping-virtual-columns
Modernizes some examples in the autoloading guide
Merge pull request #47981 from hachi8833/backport_44706
Modernize contributing docs
Merge pull request #47973 from hachi8833/backport_47054_retry
Update guides to use ranges instead of sql literals
Merge pull request #47966 from skipkayhil/hm-fix-47948-backport
Merge pull request #47965 from skipkayhil/hm-backport-46087
Fix backport of 47948 including other change
Ignore qunit for spelling check
Merge pull request #47948 from fatkodima/rails-5-2-create_table-duplicate-columns
User a relative link here
Document config.rake_eager_load in the autoloading guide
Merge pull request #47883 from hachi8833/backport_7_0_query_guides_order_desc
Backport: Add :order option for find_each docs to Query Guides [ci-skip]
Merge pull request #47824 from rails/fix-auto-increment-option-on-primary-key
Merge pull request #47805 from fatkodima/fix-in_order_of-duplicates
Merge pull request #47789 from yahonda/7-0-stable_ruby33
Make `bundle exec blade build` success with Ruby 3.3.0dev at 7-0-stable
Merge pull request #47665 from skipkayhil/fix-coffeelint-build
Fix "keyword 'const' is reserved" lint error
Merge pull request #47694 from JuanVqz/backport-fix-npm-release-tags
Update the npm package release task to not add the latest package for every version.
Update link to the security announcements list
Merge pull request #47660 from skipkayhil/backport-45015
Merge branch '7-0-4-sec' into 7-0-stable
Merge commit '7c70791470fc517deb7c640bead9f1b47efb5539' into 7-0-stable
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