Skip to content

Bump activerecord, activemodel, kaminari and activesupport#33

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/bundler/activerecord-and-activemodel-and-kaminari-and-activesupport-7.0.3.1
Closed

Bump activerecord, activemodel, kaminari and activesupport#33
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/bundler/activerecord-and-activemodel-and-kaminari-and-activesupport-7.0.3.1

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jul 13, 2022

Bumps activerecord, activemodel, kaminari and activesupport. These dependencies needed to be updated together.
Updates activerecord from 4.2.8 to 7.0.3.1

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.1 (July 12, 2022)

  • Change ActiveRecord::Coders::YAMLColumn default to safe_load

    This adds two new configuration options The configuration options are as follows:

    • config.active_storage.use_yaml_unsafe_load

    When set to true, this configuration option tells Rails to use the old "unsafe" YAML loading strategy, maintaining the existing behavior but leaving the possible escalation vulnerability in place. Setting this option to true is not recommended, but can aid in upgrading.

    • config.active_record.yaml_column_permitted_classes

    The "safe YAML" loading method does not allow all classes to be deserialized by default. This option allows you to specify classes deemed "safe" in your application. For example, if your application uses Symbol and Time in serialized data, you can add Symbol and Time to the allowed list as follows:

    config.active_record.yaml_column_permitted_classes = [Symbol, Date, Time]
    

    [CVE-2022-32224]

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

... (truncated)

Commits
  • 04972d9 Preparing for 7.0.3.1 release
  • 0c68c1f updating version and changelog
  • 9529dc8 Change ActiveRecord::Coders::YAMLColumn default to safe_load
  • 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
  • Additional commits viewable in compare view

Updates activemodel from 4.2.8 to 7.0.3.1

Release notes

Sourced from activemodel'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 activemodel's changelog.

Rails 7.0.3.1 (July 12, 2022)

  • No changes.

Rails 7.0.3 (May 09, 2022)

  • No changes.

Rails 7.0.2.4 (April 26, 2022)

  • No changes.

Rails 7.0.2.3 (March 08, 2022)

  • No changes.

Rails 7.0.2.2 (February 11, 2022)

  • No changes.

Rails 7.0.2.1 (February 11, 2022)

  • No changes.

Rails 7.0.2 (February 08, 2022)

  • Use different cache namespace for proxy calls

    Models can currently have different attribute bodies for the same method names, leading to conflicts. Adding a new namespace :active_model_proxy fixes the issue.

    Chris Salzberg

Rails 7.0.1 (January 06, 2022)

  • No changes.

Rails 7.0.0 (December 15, 2021)

  • No changes.

... (truncated)

Commits
  • 04972d9 Preparing for 7.0.3.1 release
  • 0c68c1f updating version and changelog
  • 3872bc0 Preparing for 7.0.3 release
  • c204039 Merge branch '7-0-sec' into 7-0-stable
  • 3520cc7 Preparing for 7.0.2.4 release
  • f2f7900 updating changelog for release
  • 89dd6f5 Merge pull request #44850 from kamipo/preserve_kwargs_flag
  • 21efc51 Merge pull request #44770 from kevindew/attribute-names-optimisation
  • 2cf820d Merge pull request #44693 from ghousemohamed/fix-docs-related-gem-versions
  • e1c01ba Merge branch '7-0-sec' into 7-0-stable
  • Additional commits viewable in compare view

Updates kaminari from 1.2.1 to 1.2.2

Release notes

Sourced from kaminari's releases.

v1.2.2

1.2.2

Enhancements:

Bug Fixes:

  • Restored path_to_next_url helper that was accidentally deleted in v1.2.0 #1027 [@​ryym]
  • Fixed invalid link tag HTML output from rel_next_prev_link_tags helper #1045 [@​dlackty]
  • Fixed Errno::ENOENT error for views generator on Ruby 3 #1050 [@​ar31an]
  • Suppress warnings about keyword args on Ruby 2.7 #1053 [@​mishina]
Changelog

Sourced from kaminari's changelog.

1.2.2

Enhancements:

Bug Fixes:

  • Restored path_to_next_url helper that was accidentally deleted in v1.2.0 #1027 [@​ryym]
  • Fixed invalid link tag HTML output from rel_next_prev_link_tags helper #1045 [@​dlackty]
  • Fixed Errno::ENOENT error for views generator on Ruby 3 #1050 [@​ar31an]
  • Suppress warnings about keyword args on Ruby 2.7 #1053 [@​mishina]
Commits
  • 508caf4 Version 1.2.2
  • 5b9d723 Ch-ch-ch-ch-changes
  • 51ded9b Changes for Version 1.2.2
  • 13956aa This patch has been merged upstream
  • aa54fbd Put the monkey-patch in a reusable manner so other kaminari-* gems can use this
  • b47a7f8 To avoid validation errors in the tests
  • 6786e20 Properly test with the default set of configurations of each Rails versions
  • 5a49dab Kaminari supports Ruby 3.1 (trunk)
  • 85e9980 ✂️ .x
  • 9aeed47 CI against newer jruby
  • Additional commits viewable in compare view

Updates activesupport from 4.2.8 to 7.0.3.1

Release notes

Sourced from activesupport'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 activesupport's changelog.

Rails 7.0.3.1 (July 12, 2022)

  • No changes.

Rails 7.0.3 (May 09, 2022)

  • No changes.

Rails 7.0.2.4 (April 26, 2022)

  • Fix and add protections for XSS in ActionView::Helpers and ERB::Util.

    Add the method ERB::Util.xml_name_escape to escape dangerous characters in names of tags and names of attributes, following the specification of XML.

    Álvaro Martín Fraguas

Rails 7.0.2.3 (March 08, 2022)

  • No changes.

Rails 7.0.2.2 (February 11, 2022)

  • Fix Reloader method signature to work with the new Executor signature

Rails 7.0.2.1 (February 11, 2022)

  • No changes.

Rails 7.0.2 (February 08, 2022)

  • Fix ActiveSupport::EncryptedConfiguration to be compatible with Psych 4

    Stephen Sugden

  • Improve File.atomic_write error handling.

    Daniel Pepper

Rails 7.0.1 (January 06, 2022)

... (truncated)

Commits
  • 04972d9 Preparing for 7.0.3.1 release
  • 0c68c1f updating version and changelog
  • 3872bc0 Preparing for 7.0.3 release
  • 082e929 Merge pull request #45027 from rails/fix-tag-helper-regression
  • 2722895 Emphasize cacheable objects in guide and API docs [ci-skip]
  • a1fbc46 Allow setting some active support settings via initializers
  • c204039 Merge branch '7-0-sec' into 7-0-stable
  • 3520cc7 Preparing for 7.0.2.4 release
  • f2f7900 updating changelog for release
  • 2266802 Merge pull request #44893 from ghousemohamed/add-docs-for-run-load-hooks
  • 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 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.

Bumps [activerecord](https://github.com/rails/rails), [activemodel](https://github.com/rails/rails), [kaminari](https://github.com/kaminari/kaminari) and [activesupport](https://github.com/rails/rails). These dependencies needed to be updated together.

Updates `activerecord` from 4.2.8 to 7.0.3.1
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v7.0.3.1/activerecord/CHANGELOG.md)
- [Commits](rails/rails@v4.2.8...v7.0.3.1)

Updates `activemodel` from 4.2.8 to 7.0.3.1
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v7.0.3.1/activemodel/CHANGELOG.md)
- [Commits](rails/rails@v4.2.8...v7.0.3.1)

Updates `kaminari` from 1.2.1 to 1.2.2
- [Release notes](https://github.com/kaminari/kaminari/releases)
- [Changelog](https://github.com/kaminari/kaminari/blob/master/CHANGELOG.md)
- [Commits](kaminari/kaminari@v1.2.1...v1.2.2)

Updates `activesupport` from 4.2.8 to 7.0.3.1
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v7.0.3.1/activesupport/CHANGELOG.md)
- [Commits](rails/rails@v4.2.8...v7.0.3.1)

---
updated-dependencies:
- dependency-name: activerecord
  dependency-type: direct:development
- dependency-name: activemodel
  dependency-type: direct:production
- dependency-name: kaminari
  dependency-type: direct:production
- dependency-name: activesupport
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 13, 2022
gem "typhoeus", '0.6.4'
gem "ethon", "0.6.3"
gem "kaminari", '~> 1.2.1'
gem "kaminari", '~> 1.2.2'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.

gem "activemodel", '4.2.8'
gem "activesupport", '4.2.8'
gem "activemodel", '7.0.3.1'
gem "activesupport", '7.0.3.1'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.


gem "activemodel", '4.2.8'
gem "activesupport", '4.2.8'
gem "activemodel", '7.0.3.1'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jan 19, 2023

Superseded by #40.

@dependabot dependabot bot closed this Jan 19, 2023
@dependabot dependabot bot deleted the dependabot/bundler/activerecord-and-activemodel-and-kaminari-and-activesupport-7.0.3.1 branch January 19, 2023 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant