Bump actionpack from 6.0.0 to 6.1.3
Bumps actionpack from 6.0.0 to 6.1.3.
Release notes
Sourced from actionpack's releases.
6.1.3
Active Support
- No changes.
Active Model
- No changes.
Active Record
Fix the MySQL adapter to always set the right collation and charset to the connection session.
Rafael Mendonça França
Fix MySQL adapter handling of time objects when prepared statements are enabled.
Rafael Mendonça França
Fix scoping in enum fields using conditions that would generate an
INclause.Ryuta Kamizono
Skip optimised #exist? query when #include? is called on a relation with a having clause
Relations that have aliased select values AND a having clause that references an aliased select value would generate an error when #include? was called, due to an optimisation that would generate call #exists? on the relation instead, which effectively alters the select values of the query (and thus removes the aliased select values), but leaves the having clause intact. Because the having clause is then referencing an aliased column that is no longer present in the simplified query, an ActiveRecord::InvalidStatement error was raised.
An sample query affected by this problem:
Author.select('COUNT(*) as total_posts', 'authors.*') .joins(:posts) .group(:id)
... (truncated)
Changelog
Sourced from actionpack's changelog.
Rails 6.1.3 (February 17, 2021)
Re-define routes when not set correctly via inheritance.
John Hawthorn
Rails 6.1.2.1 (February 10, 2021)
Prevent open redirect when allowed host starts with a dot
[CVE-2021-22881]
Thanks to
@tktech(https://hackerone.com/tktech) for reporting this issue and the patch!Aaron Patterson
Rails 6.1.2 (February 09, 2021)
Fix error in
ActionController::LogSubscriberthat would happen when throwing inside a controller action.Janko Marohnić
Fix
fixture_file_uploaddeprecation whenfile_fixture_pathis a relative path.Eugene Kenny
Rails 6.1.1 (January 07, 2021)
Fix nil translation key lookup in controllers/
Jan Klimo
Quietly handle unknown HTTP methods in Action Dispatch SSL middleware.
Alex Robbin
Change the request method to a
GETwhen passing failed requests down toconfig.exceptions_app.Alex Robbin
Rails 6.1.0 (December 09, 2020)
- Support for the HTTP header
Feature-Policyhas been revised to reflect its rename toPermissions-Policy.
... (truncated)
Commits
5aaaa16Preparing for 6.1.3 releasee322277Merge pull request #41463 from jhawthorn/isolated_engine_controller_subclasseseddb809Merge pull request #41441 from jonathanhefner/apidocs-inline-code-markup32064abRemove unnessary escape char in Regexp130c128Preparing for 6.1.2.1 releaseb5de7b3Prevent open redirect when allowed host starts with a dotbf8c59cPreparing for 6.1.2 release42ad010Merge pull request #41280 from kentakag/fix-raw-params-method-to-not-raise-an...04d6ac8Merge pull request #41223 from janko/controller-throw-log-subscriber9386cb0Rename master to main in all code references- 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) -
@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.