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#descendants
andDescendantsTracker#descendants
compatibility with Ruby 3.1.The native
Class#descendants
was reverted prior to Ruby 3.1 release, butClass#subclasses
was kept, breaking the feature detection.Jean Boussier
Active Model
- No changes.
Active Record
Change
QueryMethods#in_order_of
to drop records not listed in values.
in_order_of
now filters down to the values provided, to match the behavior of theEnumerable
version.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_TIMESTAMP
for mysql2 adapter.Kazuhiro Masuda
... (truncated)
Changelog
Sourced from activerecord's changelog.
Rails 7.0.1 (January 06, 2022)
Change
QueryMethods#in_order_of
to drop records not listed in values.
in_order_of
now filters down to the values provided, to match the behavior of theEnumerable
version.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_TIMESTAMP
for mysql2 adapter.Kazuhiro Masuda
Fix incorrect argument in PostgreSQL structure dump tasks.
Updating the
--no-comment
argument added in Rails 7 to the correct--no-comments
argument.Alex Dent
Fix schema dumping column default SQL values for sqlite3.
fatkodima
Correctly parse complex check constraint expressions for PostgreSQL.
fatkodima
Fix
timestamptz
attributes on PostgreSQL handle blank inputs.Alex Ghiculescu
... (truncated)
Commits
-
6bfc637
Preparing for 7.0.1 release -
d2268d6
Merge pull request #44097 from kddnewton/in-order-of-filter -
26d4db6
Require shellwords where it is used -
324d5d3
Merge pull request #44004 from AdityaBhutani/correct-pluck-docs -
6b03306
Merge pull request #44000 from ykpythemind/better_message_for_missing -
c296202
Fix argument error on execute of the abstract_mysql_adapter -
a0c0938
Merge pull request #43988 from himanshugoyal-git/fix-migrations-order -
1e32b1b
Merge pull request #42630 from nickborromeo/update-association-callback-docs -
958af52
Merge pull request #44039 from kamipo/bump-year-to-2022 -
3a66252
Merge 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 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 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)