Skip to content
This repository was archived by the owner on Jun 17, 2024. It is now read-only.

Update requirements for actionpack, actionview, activemodel and activerecord#21

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/bundler/actionpack-and-actionview-and-activemodel-and-activerecord-7.0.4
Closed

Update requirements for actionpack, actionview, activemodel and activerecord#21
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/bundler/actionpack-and-actionview-and-activemodel-and-activerecord-7.0.4

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 30, 2022

Copy link
Copy Markdown
Contributor

Updates the requirements on actionpack, actionview, activemodel and activerecord to permit the latest version.
Updates actionpack from 5.2.3 to 7.0.4

Release notes

Sourced from actionpack's releases.

v7.0.4

Active Support

  • Redis cache store is now compatible with redis-rb 5.0.

    Jean Boussier

  • Fix NoMethodError on custom ActiveSupport::Deprecation behavior.

    ActiveSupport::Deprecation.behavior= was supposed to accept any object that responds to call, but in fact its internal implementation assumed that this object could respond to arity, so it was restricted to only Proc objects.

    This change removes this arity restriction of custom behaviors.

    Ryo Nakamura

Active Model

  • Handle name clashes in attribute methods code generation cache.

    When two distinct attribute methods would generate similar names, the first implementation would be incorrectly re-used.

    class A
      attribute_method_suffix "_changed?"
      define_attribute_methods :x
    end
    class B
    attribute_method_suffix "?"
    define_attribute_methods :x_changed
    end

    Jean Boussier

Active Record

  • Symbol is allowed by default for YAML columns

    Étienne Barrié

  • Fix ActiveRecord::Store to serialize as a regular Hash

... (truncated)

Changelog

Sourced from actionpack's changelog.

Rails 7.0.4 (September 09, 2022)

  • Prevent ActionDispatch::ServerTiming from overwriting existing values in Server-Timing.

    Previously, if another middleware down the chain set Server-Timing header, it would overwritten by ActionDispatch::ServerTiming.

    Jakub Malinowski

Rails 7.0.3.1 (July 12, 2022)

  • No changes.

Rails 7.0.3 (May 09, 2022)

  • Allow relative redirects when raise_on_open_redirects is enabled.

    Tom Hughes

  • Fix authenticate_with_http_basic to allow for missing password.

    Before Rails 7.0 it was possible to handle basic authentication with only a username.

    authenticate_with_http_basic do |token, _|
      ApiClient.authenticate(token)
    end

    This ability is restored.

    Jean Boussier

  • Fix content_security_policy returning invalid directives.

    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

... (truncated)

Commits
  • 8015c2c Version 7.0.4
  • f3c345e Merge pull request #45964 from jhawthorn/server_timing_safety
  • 4d25c64 Merge pull request #45221 from jhawthorn/ac_params_eql_fix
  • 47cff40 Format inline code [ci-skip]
  • c5a407d Linkify code references [ci-skip]
  • e874cf5 Fix typos [ci-skip]
  • 290e684 Merge pull request #45615 from jtmalinowski/fix-server-timing-overwrites
  • 3fc03ac Remove unsupported :same_site option value [ci-skip]
  • a730810 Merge branch '7-0-sec' into 7-0-stable
  • 04972d9 Preparing for 7.0.3.1 release
  • Additional commits viewable in compare view

Updates actionview from 5.2.3 to 7.0.4

Release notes

Sourced from actionview's releases.

v7.0.4

Active Support

  • Redis cache store is now compatible with redis-rb 5.0.

    Jean Boussier

  • Fix NoMethodError on custom ActiveSupport::Deprecation behavior.

    ActiveSupport::Deprecation.behavior= was supposed to accept any object that responds to call, but in fact its internal implementation assumed that this object could respond to arity, so it was restricted to only Proc objects.

    This change removes this arity restriction of custom behaviors.

    Ryo Nakamura

Active Model

  • Handle name clashes in attribute methods code generation cache.

    When two distinct attribute methods would generate similar names, the first implementation would be incorrectly re-used.

    class A
      attribute_method_suffix "_changed?"
      define_attribute_methods :x
    end
    class B
    attribute_method_suffix "?"
    define_attribute_methods :x_changed
    end

    Jean Boussier

Active Record

  • Symbol is allowed by default for YAML columns

    Étienne Barrié

  • Fix ActiveRecord::Store to serialize as a regular Hash

... (truncated)

Changelog

Sourced from actionview's changelog.

Rails 7.0.4 (September 09, 2022)

  • Guard against ActionView::Helpers::FormTagHelper#field_name calls with nil object_name arguments. For example:

    <%= fields do |f| %>
      <%= f.field_name :body %>
    <% end %>

    Sean Doyle

  • Strings returned from strip_tags are correctly tagged html_safe?

    Because these strings contain no HTML elements and the basic entities are escaped, they are safe to be included as-is as PCDATA in HTML content. Tagging them as html-safe avoids double-escaping entities when being concatenated to a SafeBuffer during rendering.

    Fixes rails/rails-html-sanitizer#124

    Mike Dalessio

Rails 7.0.3.1 (July 12, 2022)

  • No changes.

Rails 7.0.3 (May 09, 2022)

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

    Álvaro Martín Fraguas

Rails 7.0.2.3 (March 08, 2022)

  • No changes.

... (truncated)

Commits
  • 8015c2c Version 7.0.4
  • deb8087 Standardize format of "Options" subsections [ci-skip]
  • c5a407d Linkify code references [ci-skip]
  • e874cf5 Fix typos [ci-skip]
  • b3e79be Merge pull request #45675 from hirotaka/fix_date_select_with_locale
  • 196e0f7 Merge pull request #45572 from fatkodima/fix-cached-missing-translations
  • 0f4be71 Merge pull request #45563 from diegomichel/fixes-rubydoc-info-links
  • a730810 Merge branch '7-0-sec' into 7-0-stable
  • 04972d9 Preparing for 7.0.3.1 release
  • 0c68c1f updating version and changelog
  • Additional commits viewable in compare view

Updates activemodel from 5.2.3 to 7.0.4

Release notes

Sourced from activemodel's releases.

v7.0.4

Active Support

  • Redis cache store is now compatible with redis-rb 5.0.

    Jean Boussier

  • Fix NoMethodError on custom ActiveSupport::Deprecation behavior.

    ActiveSupport::Deprecation.behavior= was supposed to accept any object that responds to call, but in fact its internal implementation assumed that this object could respond to arity, so it was restricted to only Proc objects.

    This change removes this arity restriction of custom behaviors.

    Ryo Nakamura

Active Model

  • Handle name clashes in attribute methods code generation cache.

    When two distinct attribute methods would generate similar names, the first implementation would be incorrectly re-used.

    class A
      attribute_method_suffix "_changed?"
      define_attribute_methods :x
    end
    class B
    attribute_method_suffix "?"
    define_attribute_methods :x_changed
    end

    Jean Boussier

Active Record

  • Symbol is allowed by default for YAML columns

    Étienne Barrié

  • Fix ActiveRecord::Store to serialize as a regular Hash

... (truncated)

Changelog

Sourced from activemodel's changelog.

Rails 7.0.4 (September 09, 2022)

  • Handle name clashes in attribute methods code generation cache.

    When two distinct attribute methods would generate similar names, the first implementation would be incorrectly re-used.

    class A
      attribute_method_suffix "_changed?"
      define_attribute_methods :x
    end
    class B
    attribute_method_suffix "?"
    define_attribute_methods :x_changed
    end

    Jean Boussier

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.

... (truncated)

Commits
  • 8015c2c Version 7.0.4
  • 60ee8cf Use tap in conditionally-required password example [ci-skip]
  • 117aae0 Merge pull request #45754 from jonathanhefner/has_secure_password-conditional...
  • a730810 Merge branch '7-0-sec' into 7-0-stable
  • 04972d9 Preparing for 7.0.3.1 release
  • 0c68c1f updating version and changelog
  • 0a23b96 Fix the attribute methods cache backport
  • 8e7b3b7 Fix code cache namespacing for proxied attribute methods
  • 3872bc0 Preparing for 7.0.3 release
  • c204039 Merge branch '7-0-sec' into 7-0-stable
  • Additional commits viewable in compare view

Updates activerecord from 5.2.3 to 7.0.4

Release notes

Sourced from activerecord's releases.

v7.0.4

Active Support

  • Redis cache store is now compatible with redis-rb 5.0.

    Jean Boussier

  • Fix NoMethodError on custom ActiveSupport::Deprecation behavior.

    ActiveSupport::Deprecation.behavior= was supposed to accept any object that responds to call, but in fact its internal implementation assumed that this object could respond to arity, so it was restricted to only Proc objects.

    This change removes this arity restriction of custom behaviors.

    Ryo Nakamura

Active Model

  • Handle name clashes in attribute methods code generation cache.

    When two distinct attribute methods would generate similar names, the first implementation would be incorrectly re-used.

    class A
      attribute_method_suffix "_changed?"
      define_attribute_methods :x
    end
    class B
    attribute_method_suffix "?"
    define_attribute_methods :x_changed
    end

    Jean Boussier

Active Record

  • Symbol is allowed by default for YAML columns

    Étienne Barrié

  • Fix ActiveRecord::Store to serialize as a regular Hash

... (truncated)

Changelog

Sourced from activerecord's changelog.

Rails 7.0.4 (September 09, 2022)

  • Symbol is allowed by default for YAML columns

    Étienne Barrié

  • Fix ActiveRecord::Store to serialize as a regular Hash

    Previously it would serialize as an ActiveSupport::HashWithIndifferentAccess which is wasteful and cause problem with YAML safe_load.

    Jean Boussier

  • Add timestamptz as a time zone aware type for PostgreSQL

    This is required for correctly parsing timestamp with time zone values in your database.

    If you don't want this, you can opt out by adding this initializer:

    ActiveRecord::Base.time_zone_aware_types -= [:timestamptz]

    Alex Ghiculescu

  • Fix supporting timezone awareness for tsrange and tstzrange array columns.

    # In database migrations
    add_column :shops, :open_hours, :tsrange, array: true
    # In app config
    ActiveRecord::Base.time_zone_aware_types += [:tsrange]
    # In the code times are properly converted to app time zone
    Shop.create!(open_hours: [Time.current..8.hour.from_now])

    Wojciech Wnętrzak

  • Resolve issue where a relation cache_version could be left stale.

    Previously, when reset was called on a relation object it did not reset the cache_versions ivar. This led to a confusing situation where despite having the correct data the relation still reported a stale cache_version.

    Usage:

    developers = Developer.all
    developers.cache_version

... (truncated)

Commits
  • 8015c2c Version 7.0.4
  • 4d9b4b4 Merge pull request #45872 from the-spectator/correct_hwia_encoding
  • c5a407d Linkify code references [ci-skip]
  • e874cf5 Fix typos [ci-skip]
  • fb09b1b Don't handle this change for legacy_connection_handling
  • 0667ba4 Merge pull request #45773 from eileencodes/only-setup-shared-pools-if-we-have...
  • d60d058 Merge pull request #45744 from fatkodima/mysql-change-column-collation
  • 73d6fa8 Merge pull request #45555 from bbenno/main
  • aed8afa Merge pull request #44760 from lxxxvi/fix_rails_issue_db_fixtures_load_raises
  • 852d2b3 Appease rubocop
  • 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.

…erecord

Updates the requirements on [actionpack](https://github.com/rails/rails), [actionview](https://github.com/rails/rails), [activemodel](https://github.com/rails/rails) and [activerecord](https://github.com/rails/rails) to permit the latest version.

Updates `actionpack` from 5.2.3 to 7.0.4
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v7.0.4/actionpack/CHANGELOG.md)
- [Commits](rails/rails@v5.2.3...v7.0.4)

Updates `actionview` from 5.2.3 to 7.0.4
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v7.0.4/actionview/CHANGELOG.md)
- [Commits](rails/rails@v5.2.3...v7.0.4)

Updates `activemodel` from 5.2.3 to 7.0.4
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v7.0.4/activemodel/CHANGELOG.md)
- [Commits](rails/rails@v5.2.3...v7.0.4)

Updates `activerecord` from 5.2.3 to 7.0.4
- [Release notes](https://github.com/rails/rails/releases)
- [Changelog](https://github.com/rails/rails/blob/v7.0.4/activerecord/CHANGELOG.md)
- [Commits](rails/rails@v5.2.3...v7.0.4)

---
updated-dependencies:
- dependency-name: actionpack
  dependency-type: direct:development
- dependency-name: actionview
  dependency-type: direct:development
- dependency-name: activemodel
  dependency-type: direct:development
- dependency-name: activerecord
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Oct 30, 2022
@dependabot @github

dependabot Bot commented on behalf of github Jan 20, 2023

Copy link
Copy Markdown
Contributor Author

Superseded by #23.

@dependabot dependabot Bot closed this Jan 20, 2023
@dependabot dependabot Bot deleted the dependabot/bundler/actionpack-and-actionview-and-activemodel-and-activerecord-7.0.4 branch January 20, 2023 03:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants