Some internal housekeeping on reloads could break custom respond_to?
methods in class objects that referenced reloadable constants. See
#44125 for details.
Xavier Noria
Fixed MariaDB default function support.
Defaults would be written wrong in "db/schema.rb" and not work correctly
if using db:schema:load. Further more the function name would be
added as string content when saving new records.
kaspernj
Fix remove_foreign_key with :if_exists option when foreign key actually exists.
fatkodima
Remove --no-comments flag in structure dumps for PostgreSQL
This broke some apps that used custom schema comments. If you don't want
comments in your structure dump, you can use:
Use the model name as a prefix when filtering encrypted attributes from logs.
For example, when encrypting Person#name it will add person.name as a filter
parameter, instead of just name. This prevents unintended filtering of parameters
with a matching name in other models.
Directives such as self, unsafe-eval and few others were not
single quoted when the directive was the result of calling a lambda
returning an array.
content_security_policy do |policy|
policy.frame_ancestors lambda { [:self, "https://example.com"] }
end
With this fix the policy generated from above will now be valid.
Edouard Chin
Fix skip_forgery_protection to run without raising an error if forgery
protection has not been enabled / verify_authenticity_token is not a
defined callback.
This fix prevents the Rails 7.0 Welcome Page (/) from raising an
ArgumentError if default_protect_from_forgery is false.
Brad Trick
Fix ActionController::Live to copy the IsolatedExecutionState in the ephemeral thread.
Since its inception ActionController::Live has been copying thread local variables
to keep things such as CurrentAttributes set from middlewares working in the controller action.
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)
@dependabot use these labels will set the current labels as the default for future PRs for this repo and language
@dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
@dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
@dependabot use this milestone will 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.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/plashchynski/crono/pull/103
**Author:** [@dependabot[bot]](https://github.com/apps/dependabot)
**Created:** 5/29/2022
**Status:** ❌ Closed
**Base:** `master` ← **Head:** `dependabot/bundler/actionpack-7.0.3`
---
### 📝 Commits (1)
- [`c0de3bd`](https://github.com/plashchynski/crono/commit/c0de3bd52b738bfbf3f5dd5b952963b0cba126d7) Bump actionpack from 6.1.2.1 to 7.0.3
### 📊 Changes
**1 file changed** (+110 additions, -130 deletions)
<details>
<summary>View changed files</summary>
📝 `Gemfile.lock` (+110 -130)
</details>
### 📄 Description
Bumps [actionpack](https://github.com/rails/rails) from 6.1.2.1 to 7.0.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/rails/rails/releases">actionpack's releases</a>.</em></p>
<blockquote>
<h2>7.0.3</h2>
<h2>Active Support</h2>
<ul>
<li>No changes.</li>
</ul>
<h2>Active Model</h2>
<ul>
<li>No changes.</li>
</ul>
<h2>Active Record</h2>
<ul>
<li>
<p>Some internal housekeeping on reloads could break custom <code>respond_to?</code>
methods in class objects that referenced reloadable constants. See
<a href="https://github-redirect.dependabot.com/rails/rails/issues/44125">#44125</a> for details.</p>
<p><em>Xavier Noria</em></p>
</li>
<li>
<p>Fixed MariaDB default function support.</p>
<p>Defaults would be written wrong in "db/schema.rb" and not work correctly
if using <code>db:schema:load</code>. Further more the function name would be
added as string content when saving new records.</p>
<p><em>kaspernj</em></p>
</li>
<li>
<p>Fix <code>remove_foreign_key</code> with <code>:if_exists</code> option when foreign key actually exists.</p>
<p><em>fatkodima</em></p>
</li>
<li>
<p>Remove <code>--no-comments</code> flag in structure dumps for PostgreSQL</p>
<p>This broke some apps that used custom schema comments. If you don't want
comments in your structure dump, you can use:</p>
<pre lang="ruby"><code>ActiveRecord::Tasks::DatabaseTasks.structure_dump_flags = ['--no-comments']
</code></pre>
<p><em>Alex Ghiculescu</em></p>
</li>
<li>
<p>Use the model name as a prefix when filtering encrypted attributes from logs.</p>
<p>For example, when encrypting <code>Person#name</code> it will add <code>person.name</code> as a filter
parameter, instead of just <code>name</code>. This prevents unintended filtering of parameters
with a matching name in other models.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rails/rails/blob/v7.0.3/actionpack/CHANGELOG.md">actionpack's changelog</a>.</em></p>
<blockquote>
<h2>Rails 7.0.3 (May 09, 2022)</h2>
<ul>
<li>
<p>Allow relative redirects when <code>raise_on_open_redirects</code> is enabled.</p>
<p><em>Tom Hughes</em></p>
</li>
<li>
<p>Fix <code>authenticate_with_http_basic</code> to allow for missing password.</p>
<p>Before Rails 7.0 it was possible to handle basic authentication with only a username.</p>
<pre lang="ruby"><code>authenticate_with_http_basic do |token, _|
ApiClient.authenticate(token)
end
</code></pre>
<p>This ability is restored.</p>
<p><em>Jean Boussier</em></p>
</li>
<li>
<p>Fix <code>content_security_policy</code> returning invalid directives.</p>
<p>Directives such as <code>self</code>, <code>unsafe-eval</code> and few others were not
single quoted when the directive was the result of calling a lambda
returning an array.</p>
<pre lang="ruby"><code>content_security_policy do |policy|
policy.frame_ancestors lambda { [:self, "https://example.com"] }
end
</code></pre>
<p>With this fix the policy generated from above will now be valid.</p>
<p><em>Edouard Chin</em></p>
</li>
<li>
<p>Fix <code>skip_forgery_protection</code> to run without raising an error if forgery
protection has not been enabled / <code>verify_authenticity_token</code> is not a
defined callback.</p>
<p>This fix prevents the Rails 7.0 Welcome Page (<code>/</code>) from raising an
<code>ArgumentError</code> if <code>default_protect_from_forgery</code> is false.</p>
<p><em>Brad Trick</em></p>
</li>
<li>
<p>Fix <code>ActionController::Live</code> to copy the IsolatedExecutionState in the ephemeral thread.</p>
<p>Since its inception <code>ActionController::Live</code> has been copying thread local variables
to keep things such as <code>CurrentAttributes</code> set from middlewares working in the controller action.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/rails/rails/commit/3872bc0e54d32e8bf3a6299b0bfe173d94b072fc"><code>3872bc0</code></a> Preparing for 7.0.3 release</li>
<li><a href="https://github.com/rails/rails/commit/0e805db6de0a7e3a28a5bbf85737a4f53e80abb2"><code>0e805db</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rails/rails/issues/44295">#44295</a> from guillaumecabanel/main</li>
<li><a href="https://github.com/rails/rails/commit/f7c77b251914f0bfbc0c3fba2d313f16f3a1ba4b"><code>f7c77b2</code></a> Add missing require of <code>action_controller/metal/exceptions</code> to `action_contro...</li>
<li><a href="https://github.com/rails/rails/commit/5107a6d5210e4bd3a212b423c164ba07591fffbd"><code>5107a6d</code></a> Fix style and misspell in action dispatch executor test</li>
<li><a href="https://github.com/rails/rails/commit/d82885db11a5072f5359daf930c79c55dac4e284"><code>d82885d</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rails/rails/issues/44934">#44934</a> from soartec-lab/add-api-doc-for-samesite-of-cookie</li>
<li><a href="https://github.com/rails/rails/commit/c204039bf10191ed32b7cf75ef0275d3d0b12a6c"><code>c204039</code></a> Merge branch '7-0-sec' into 7-0-stable</li>
<li><a href="https://github.com/rails/rails/commit/3520cc77df1b52a6c808083214b583c769e9a4b2"><code>3520cc7</code></a> Preparing for 7.0.2.4 release</li>
<li><a href="https://github.com/rails/rails/commit/f2f79006a0799ce5d4705b9ac80b742ee3e05c36"><code>f2f7900</code></a> updating changelog for release</li>
<li><a href="https://github.com/rails/rails/commit/8198d7c4accad0b6ba956b9d59528534a289866b"><code>8198d7c</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rails/rails/issues/44635">#44635</a> from imtayadeway/tjw/api-csp-i</li>
<li><a href="https://github.com/rails/rails/commit/89dd6f55c4e4fc8ff39ea0d5db51a7cb5727a727"><code>89dd6f5</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rails/rails/issues/44850">#44850</a> from kamipo/preserve_kwargs_flag</li>
<li>Additional commits viewable in <a href="https://github.com/rails/rails/compare/v6.1.2.1...v7.0.3">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will 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](https://github.com/plashchynski/crono/network/alerts).
</details>
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/plashchynski/crono/pull/103
Author: @dependabot[bot]
Created: 5/29/2022
Status: ❌ Closed
Base:
master← Head:dependabot/bundler/actionpack-7.0.3📝 Commits (1)
c0de3bdBump actionpack from 6.1.2.1 to 7.0.3📊 Changes
1 file changed (+110 additions, -130 deletions)
View changed files
📝
Gemfile.lock(+110 -130)📄 Description
Bumps actionpack from 6.1.2.1 to 7.0.3.
Release notes
Sourced from actionpack's releases.
... (truncated)
Changelog
Sourced from actionpack's changelog.
... (truncated)
Commits
3872bc0Preparing for 7.0.3 release0e805dbMerge pull request #44295 from guillaumecabanel/mainf7c77b2Add missing require ofaction_controller/metal/exceptionsto `action_contro...5107a6dFix style and misspell in action dispatch executor testd82885dMerge pull request #44934 from soartec-lab/add-api-doc-for-samesite-of-cookiec204039Merge branch '7-0-sec' into 7-0-stable3520cc7Preparing for 7.0.2.4 releasef2f7900updating changelog for release8198d7cMerge pull request #44635 from imtayadeway/tjw/api-csp-i89dd6f5Merge pull request #44850 from kamipo/preserve_kwargs_flagDependabot 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 languageYou can disable automated security fix PRs for this repo from the Security Alerts page.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.