[PR #98] [MERGED] Bump activerecord from 5.0.0.1 to 7.0.3 #104

Closed
opened 2025-12-29 00:22:38 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/plashchynski/crono/pull/98
Author: @dependabot[bot]
Created: 5/20/2022
Status: Merged
Merged: 5/29/2022
Merged by: @plashchynski

Base: masterHead: dependabot/bundler/activerecord-7.0.3


📝 Commits (1)

  • 610046d Bump activerecord 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 activerecord from 5.0.0.1 to 7.0.3.

Release notes

Sourced from activerecord's releases.

7.0.3

Active Support

  • No changes.

Active Model

  • No changes.

Active Record

  • 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:

    ActiveRecord::Tasks::DatabaseTasks.structure_dump_flags = ['--no-comments']
    

    Alex Ghiculescu

  • 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.

... (truncated)

Changelog

Sourced from activerecord's changelog.

Rails 7.0.3 (May 09, 2022)

  • 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:

    ActiveRecord::Tasks::DatabaseTasks.structure_dump_flags = ['--no-comments']
    

    Alex Ghiculescu

  • 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.

    Jorge Manrubia

  • Fix quoting of ActiveSupport::Duration and Rational numbers in the MySQL adapter.

    Kevin McPhillips

  • Fix change_column_comment to preserve column's AUTO_INCREMENT in the MySQL adapter

    fatkodima

Rails 7.0.2.4 (April 26, 2022)

  • No changes.

... (truncated)

Commits
  • 3872bc0 Preparing for 7.0.3 release
  • cd7700b Merge pull request #45016 from adrianna-chang-shopify/ac-fix-strict-loading-p...
  • f99f422 Merge pull request #45018 from lucthev/lt/strict-false
  • 3594d29 Merge pull request #44956 from sato11/document-uses_transaction
  • f154d9b Merge pull request #45012 from fatkodima/fix-sql-comments-regex
  • 46f84bc activerecord: log unnamed bind params
  • 976a543 activerecord: add log sql with unnamed bind test
  • c204039 Merge branch '7-0-sec' into 7-0-stable
  • 3520cc7 Preparing for 7.0.2.4 release
  • f2f7900 updating changelog for release
  • Additional commits viewable in compare view

Dependabot compatibility score

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/98 **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/activerecord-7.0.3` --- ### 📝 Commits (1) - [`610046d`](https://github.com/plashchynski/crono/commit/610046d0feb7ab113b2c8d02464468cf12eab65b) Bump activerecord 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 [activerecord](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">activerecord'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 &quot;db/schema.rb&quot; 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/activerecord/CHANGELOG.md">activerecord's changelog</a>.</em></p> <blockquote> <h2>Rails 7.0.3 (May 09, 2022)</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 &quot;db/schema.rb&quot; 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> <p><em>Jorge Manrubia</em></p> </li> <li> <p>Fix quoting of <code>ActiveSupport::Duration</code> and <code>Rational</code> numbers in the MySQL adapter.</p> <p><em>Kevin McPhillips</em></p> </li> <li> <p>Fix <code>change_column_comment</code> to preserve column's AUTO_INCREMENT in the MySQL adapter</p> <p><em>fatkodima</em></p> </li> </ul> <h2>Rails 7.0.2.4 (April 26, 2022)</h2> <ul> <li>No changes.</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/cd7700b267f3198f2e984758ac327b5fee40db57"><code>cd7700b</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rails/rails/issues/45016">#45016</a> from adrianna-chang-shopify/ac-fix-strict-loading-p...</li> <li><a href="https://github.com/rails/rails/commit/f99f422f4f089600e4e4f48e821a3b5653270645"><code>f99f422</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rails/rails/issues/45018">#45018</a> from lucthev/lt/strict-false</li> <li><a href="https://github.com/rails/rails/commit/3594d29c3064718cc4aa6d8ca1e324090eb803c7"><code>3594d29</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rails/rails/issues/44956">#44956</a> from sato11/document-uses_transaction</li> <li><a href="https://github.com/rails/rails/commit/f154d9b6648bfa9f515e517904e1645717e01520"><code>f154d9b</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rails/rails/issues/45012">#45012</a> from fatkodima/fix-sql-comments-regex</li> <li><a href="https://github.com/rails/rails/commit/46f84bc83b4d940ccecd143e0e1b487351d7e7b6"><code>46f84bc</code></a> activerecord: log unnamed bind params</li> <li><a href="https://github.com/rails/rails/commit/976a543bed8fa5d2b3827446f2a65257b96b4dd3"><code>976a543</code></a> activerecord: add log sql with unnamed bind test</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>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 /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=activerecord&package-manager=bundler&previous-version=5.0.0.1&new-version=7.0.3)](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>
adam added the pull-request label 2025-12-29 00:22:38 +01:00
adam closed this issue 2025-12-29 00:22:38 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/crono#104