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.
Ensure models passed to form_for attempt to call to_model.
Sean Doyle
Rails 7.0.2.4 (April 26, 2022)
Fix and add protections for XSS in ActionView::Helpers and ERB::Util.
Escape dangerous characters in names of tags and names of attributes in the
tag helpers, following the XML specification. Rename the option
:escape_attributes to :escape, to simplify by applying the option to the
whole tag.
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/101
**Author:** [@dependabot[bot]](https://github.com/apps/dependabot)
**Created:** 5/29/2022
**Status:** ❌ Closed
**Base:** `master` ← **Head:** `dependabot/bundler/actionview-7.0.3`
---
### 📝 Commits (1)
- [`7b24b30`](https://github.com/plashchynski/crono/commit/7b24b30cda553bde37f0d8394fe3bdd5432aa62e) Bump actionview 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 [actionview](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">actionview'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/actionview/CHANGELOG.md">actionview's changelog</a>.</em></p>
<blockquote>
<h2>Rails 7.0.3 (May 09, 2022)</h2>
<ul>
<li>
<p>Ensure models passed to <code>form_for</code> attempt to call <code>to_model</code>.</p>
<p><em>Sean Doyle</em></p>
</li>
</ul>
<h2>Rails 7.0.2.4 (April 26, 2022)</h2>
<ul>
<li>
<p>Fix and add protections for XSS in <code>ActionView::Helpers</code> and <code>ERB::Util</code>.</p>
<p>Escape dangerous characters in names of tags and names of attributes in the
tag helpers, following the XML specification. Rename the option
<code>:escape_attributes</code> to <code>:escape</code>, to simplify by applying the option to the
whole tag.</p>
<p><em>Álvaro Martín Fraguas</em></p>
</li>
</ul>
<h2>Rails 7.0.2.3 (March 08, 2022)</h2>
<ul>
<li>No changes.</li>
</ul>
<h2>Rails 7.0.2.2 (February 11, 2022)</h2>
<ul>
<li>No changes.</li>
</ul>
<h2>Rails 7.0.2.1 (February 11, 2022)</h2>
<ul>
<li>No changes.</li>
</ul>
<h2>Rails 7.0.2 (February 08, 2022)</h2>
<ul>
<li>
<p>Ensure <code>preload_link_tag</code> preloads JavaScript modules correctly.</p>
<p><em>Máximo Mussini</em></p>
</li>
<li>
<p>Fix <code>stylesheet_link_tag</code> and similar helpers are being used to work in objects with
a <code>response</code> method.</p>
<p><em>dark-panda</em></p>
</li>
</ul>
<h2>Rails 7.0.1 (January 06, 2022)</h2>
<ul>
<li>
<p>Fix <code>button_to</code> to work with a hash parameter as URL.</p>
<p><em>MingyuanQin</em></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/082e92978803a90872f355e4ef698120bbd96f8f"><code>082e929</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rails/rails/issues/45027">#45027</a> from rails/fix-tag-helper-regression</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/4e3ebe08727705def004e45cabdd3bf6fab394f5"><code>4e3ebe0</code></a> Fix button_to UJS examples formatting [ci-skip]</li>
<li><a href="https://github.com/rails/rails/commit/e5bb80fa43887f7b5f906386dcfbeb1a37f84753"><code>e5bb80f</code></a> Fix link_to UJS examples formatting [ci-skip]</li>
<li><a href="https://github.com/rails/rails/commit/aa43de15527695f443399bfaf123f4f4c3976156"><code>aa43de1</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rails/rails/issues/44784">#44784</a> from ghiculescu/data-remote-no-turbo</li>
<li><a href="https://github.com/rails/rails/commit/5c7dae5a410ff49fe4dcf30b97ee0f9148114b66"><code>5c7dae5</code></a> Fix and add protections for XSS in names.</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/101
Author: @dependabot[bot]
Created: 5/29/2022
Status: ❌ Closed
Base:
master← Head:dependabot/bundler/actionview-7.0.3📝 Commits (1)
7b24b30Bump actionview 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 actionview from 6.1.2.1 to 7.0.3.
Release notes
Sourced from actionview's releases.
... (truncated)
Changelog
Sourced from actionview's changelog.
... (truncated)
Commits
3872bc0Preparing for 7.0.3 release082e929Merge pull request #45027 from rails/fix-tag-helper-regressionc204039Merge branch '7-0-sec' into 7-0-stable3520cc7Preparing for 7.0.2.4 releasef2f7900updating changelog for release4e3ebe0Fix button_to UJS examples formatting [ci-skip]e5bb80fFix link_to UJS examples formatting [ci-skip]aa43de1Merge pull request #44784 from ghiculescu/data-remote-no-turbo5c7dae5Fix and add protections for XSS in names.89dd6f5Merge 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.