Created by: dependabot[bot]
Bumps activerecord from 6.1.4.4 to 7.0.1.
Release notes
Sourced from activerecord's releases.
7.0.1
Active Support
Fix
Class#descendantsandDescendantsTracker#descendantscompatibility with Ruby 3.1.The native
Class#descendantswas reverted prior to Ruby 3.1 release, butClass#subclasseswas kept, breaking the feature detection.Jean Boussier
Active Model
- No changes.
Active Record
Change
QueryMethods#in_order_ofto drop records not listed in values.
in_order_ofnow filters down to the values provided, to match the behavior of theEnumerableversion.Kevin Newton
Allow named expression indexes to be revertible.
Previously, the following code would raise an error in a reversible migration executed while rolling back, due to the index name not being used in the index removal.
add_index(:settings, "(data->'property')", using: :gin, name: :index_settings_data_property)Fixes #43331.
Oliver Günther
Better error messages when association name is invalid in the argument of
ActiveRecord::QueryMethods::WhereChain#missing.ykpythemind
Fix ordered migrations for single db in multi db environment.
Himanshu
Extract
on update CURRENT_TIMESTAMPfor mysql2 adapter.Kazuhiro Masuda
... (truncated)
Changelog
Sourced from activerecord's changelog.
Rails 7.0.1 (January 06, 2022)
Change
QueryMethods#in_order_ofto drop records not listed in values.
in_order_ofnow filters down to the values provided, to match the behavior of theEnumerableversion.Kevin Newton
Allow named expression indexes to be revertible.
Previously, the following code would raise an error in a reversible migration executed while rolling back, due to the index name not being used in the index removal.
add_index(:settings, "(data->'property')", using: :gin, name: :index_settings_data_property)Fixes #43331.
Oliver Günther
Better error messages when association name is invalid in the argument of
ActiveRecord::QueryMethods::WhereChain#missing.ykpythemind
Fix ordered migrations for single db in multi db environment.
Himanshu
Extract
on update CURRENT_TIMESTAMPfor mysql2 adapter.Kazuhiro Masuda
Fix incorrect argument in PostgreSQL structure dump tasks.
Updating the
--no-commentargument added in Rails 7 to the correct--no-commentsargument.Alex Dent
Fix schema dumping column default SQL values for sqlite3.
fatkodima
Correctly parse complex check constraint expressions for PostgreSQL.
fatkodima
Fix
timestamptzattributes on PostgreSQL handle blank inputs.Alex Ghiculescu
... (truncated)
Commits
-
6bfc637Preparing for 7.0.1 release -
d2268d6Merge pull request #44097 from kddnewton/in-order-of-filter -
26d4db6Require shellwords where it is used -
324d5d3Merge pull request #44004 from AdityaBhutani/correct-pluck-docs -
6b03306Merge pull request #44000 from ykpythemind/better_message_for_missing -
c296202Fix argument error on execute of the abstract_mysql_adapter -
a0c0938Merge pull request #43988 from himanshugoyal-git/fix-migrations-order -
1e32b1bMerge pull request #42630 from nickborromeo/update-association-callback-docs -
958af52Merge pull request #44039 from kamipo/bump-year-to-2022 -
3a66252Merge pull request #44069 from ghiculescu/postgres-test-dump - Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)