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.
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/97
**Author:** [@dependabot[bot]](https://github.com/apps/dependabot)
**Created:** 5/20/2022
**Status:** ✅ Merged
**Merged:** 5/29/2022
**Merged by:** [@plashchynski](https://github.com/plashchynski)
**Base:** `master` ← **Head:** `dependabot/bundler/activesupport-7.0.3`
---
### 📝 Commits (1)
- [`0391dac`](https://github.com/plashchynski/crono/commit/0391dac2e944c6f997febda3e347475fc7ab7038) Bump activesupport from 5.0.0.1 to 7.0.3
### 📊 Changes
**1 file changed** (+15 additions, -17 deletions)
<details>
<summary>View changed files</summary>
📝 `Gemfile.lock` (+15 -17)
</details>
### 📄 Description
Bumps [activesupport](https://github.com/rails/rails) from 5.0.0.1 to 7.0.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/rails/rails/releases">activesupport'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/activesupport/CHANGELOG.md">activesupport's changelog</a>.</em></p>
<blockquote>
<h2>Rails 7.0.3 (May 09, 2022)</h2>
<ul>
<li>No changes.</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>Add the method <code>ERB::Util.xml_name_escape</code> to escape dangerous characters
in names of tags and names of attributes, following the specification of XML.</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>Fix Reloader method signature to work with the new Executor signature</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>Fix <code>ActiveSupport::EncryptedConfiguration</code> to be compatible with Psych 4</p>
<p><em>Stephen Sugden</em></p>
</li>
<li>
<p>Improve <code>File.atomic_write</code> error handling.</p>
<p><em>Daniel Pepper</em></p>
</li>
</ul>
<h2>Rails 7.0.1 (January 06, 2022)</h2>
<ul>
<li>
<p>Fix <code>Class#descendants</code> and <code>DescendantsTracker#descendants</code> compatibility with Ruby 3.1.</p>
<p><a href="https://bugs.ruby-lang.org/issues/14394#note-33">The native <code>Class#descendants</code> was reverted prior to Ruby 3.1 release</a>,
but <code>Class#subclasses</code> was kept, breaking the feature detection.</p>
<p><em>Jean Boussier</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/2722895b4918c29b58274203f197d04a14d3f7e9"><code>2722895</code></a> Emphasize cacheable objects in guide and API docs [ci-skip]</li>
<li><a href="https://github.com/rails/rails/commit/a1fbc469e518c211f9ef7856949c1ff06ff02f89"><code>a1fbc46</code></a> Allow setting some active support settings via initializers</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/22668023f8190df4bdcf687054b3888b0761049e"><code>2266802</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rails/rails/issues/44893">#44893</a> from ghousemohamed/add-docs-for-run-load-hooks</li>
<li><a href="https://github.com/rails/rails/commit/13cf5d3a5aab02b63a1871796e8d5dad01e0ea10"><code>13cf5d3</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rails/rails/issues/44366">#44366</a> from avalanche123/patch-1</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>Additional commits viewable in <a href="https://github.com/rails/rails/compare/v5.0.0.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/97
Author: @dependabot[bot]
Created: 5/20/2022
Status: ✅ Merged
Merged: 5/29/2022
Merged by: @plashchynski
Base:
master← Head:dependabot/bundler/activesupport-7.0.3📝 Commits (1)
0391dacBump activesupport from 5.0.0.1 to 7.0.3📊 Changes
1 file changed (+15 additions, -17 deletions)
View changed files
📝
Gemfile.lock(+15 -17)📄 Description
Bumps activesupport from 5.0.0.1 to 7.0.3.
Release notes
Sourced from activesupport's releases.
... (truncated)
Changelog
Sourced from activesupport's changelog.
... (truncated)
Commits
3872bc0Preparing for 7.0.3 release082e929Merge pull request #45027 from rails/fix-tag-helper-regression2722895Emphasize cacheable objects in guide and API docs [ci-skip]a1fbc46Allow setting some active support settings via initializersc204039Merge branch '7-0-sec' into 7-0-stable3520cc7Preparing for 7.0.2.4 releasef2f7900updating changelog for release2266802Merge pull request #44893 from ghousemohamed/add-docs-for-run-load-hooks13cf5d3Merge pull request #44366 from avalanche123/patch-15c7dae5Fix and add protections for XSS in names.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 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.