Created by: dependabot[bot]
Bumps actionpack from 6.1.4.4 to 7.0.1.
Release notes
Sourced from actionpack'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 actionpack's changelog.
Rails 7.0.1 (January 06, 2022)
Fix
ActionController::Parametersmethods to keep the original logger context when creating a new copy of the original object.Yutaka Kamei
Rails 7.0.0 (December 15, 2021)
Deprecate
Rails.application.config.action_controller.urlsafe_csrf_tokens. This config is now always enabled.Étienne Barrié
Instance variables set in requests in a
ActionController::TestCaseare now cleared before the next requestThis means if you make multiple requests in the same test, instance variables set in the first request will not persist into the second one. (It's not recommended to make multiple requests in the same test.)
Alex Ghiculescu
Rails 7.0.0.rc3 (December 14, 2021)
- No changes.
Rails 7.0.0.rc2 (December 14, 2021)
- Fix X_FORWARDED_HOST protection. [CVE-2021-44528]
Rails 7.0.0.rc1 (December 06, 2021)
Rails.application.executorhooks can now be called around every request in aActionController::TestCaseThis helps to better simulate request or job local state being reset between requests and prevent state leaking from one request to another.
To enable this, set
config.active_support.executor_around_test_case = true(this is the default in Rails 7).Alex Ghiculescu
Consider onion services secure for cookies.
Justin Tracey
Remove deprecated
Rails.config.action_view.raise_on_missing_translations.Rafael Mendonça França
... (truncated)
Commits
-
6bfc637Preparing for 7.0.1 release -
958af52Merge pull request #44039 from kamipo/bump-year-to-2022 -
da5ad65Merge pull request #43980 from lsylvester/dynamic-action-controller-route-seg... -
3d05ba7Merge pull request #43900 from yykamei/initialize-with-logging_context -
dda51abMerge pull request #43897 from dixpac/dix/match_example_with_docs -
984c3efPreparing for 7.0.0 release -
8943a91Merge pull request #43883 from rails/dup-converted-arrays -
67a8028Merge pull request #43882 from rails/rm-allow-ip-with-port -
6c85f3bMerge pull request #43871 from rails/rm-fix-hosts-with-port -
aa1c8fcFix ruby warnings - 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)