crimethinc / website

Ruby on Rails app that powers crimethinc.com
https://crimethinc.com
Creative Commons Zero v1.0 Universal
102 stars 31 forks source link

Bump the bundler-all group across 1 directory with 16 updates #3897

Closed dependabot[bot] closed 1 month ago

dependabot[bot] commented 1 month ago

Bumps the bundler-all group with 4 updates in the / directory: redis-store, actioncable, aws-partitions and aws-sdk-core.

Updates redis-store from 1.10.0 to 1.11.0

Release notes

Sourced from redis-store's releases.

v1.11.0

What's Changed

Other Changes

New Contributors

Full Changelog: https://github.com/redis-store/redis-store/compare/v1.10.0...v1.11.0

Changelog

Sourced from redis-store's changelog.

Changelog

Commits
  • 2d8b05a Bump to 1.11.0
  • ac9596e Merge pull request #374 from stanhu/sh-fix-empty-user
  • af50bc8 Fix handling of default username
  • 7124c69 Merge pull request #373 from stanhu/sh-support-redis-acl
  • 77e0b0c Add Redis ACL support for UNIX domain sockets
  • 675677f Support Redis usernames
  • 11f7f8e Merge pull request #372 from PikachuEXE/ci/more-ruby
  • b09e914 ! Fix option key typo in publish workflow
  • 6337cce ^ Update actions/checkout v3 > v4
  • 585d05f * Make lint & publish run on ruby 3.3
  • Additional commits viewable in compare view


Updates actioncable from 7.1.3.4 to 7.2.0

Release notes

Sourced from actioncable's releases.

7.2.0

Active Support

  • Fix delegate_missing_to allow_nil: true when called with implict self

    class Person
      delegate_missing_to :address, allow_nil: true
    

    def address nil end

    def berliner? city == "Berlin" end end

    Person.new.city # => nil Person.new.berliner? # undefined local variable or method `city' for an instance of Person (NameError)

    Jean Boussier

  • Add logger as a dependency since it is a bundled gem candidate for Ruby 3.5

    Earlopain

  • Define Digest::UUID.nil_uuid, which returns the so-called nil UUID.

    Xavier Noria

  • Support duration type in ActiveSupport::XmlMini.

    heka1024

  • Remove deprecated ActiveSupport::Notifications::Event#children and ActiveSupport::Notifications::Event#parent_of?.

    Rafael Mendonça França

  • Remove deprecated support to call the following methods without passing a deprecator:

    • deprecate
    • deprecate_constant
    • ActiveSupport::Deprecation::DeprecatedObjectProxy.new
    • ActiveSupport::Deprecation::DeprecatedInstanceVariableProxy.new
    • ActiveSupport::Deprecation::DeprecatedConstantProxy.new
    • assert_deprecated
    • assert_not_deprecated

... (truncated)

Changelog

Sourced from actioncable's changelog.

Rails 7.2.0 (August 09, 2024)

  • Bring ActionCable::Connection::TestCookieJar in alignment with ActionDispatch::Cookies::CookieJar in regards to setting the cookie value.

    Before:

    cookies[:foo] = { value: "bar" }
    puts cookies[:foo] # => { value: "bar" }
    

    After:

    cookies[:foo] = { value: "bar" }
    puts cookies[:foo] # => "bar"
    

    Justin Ko

  • Record ping on every Action Cable message.

    Previously only ping and welcome message types were keeping the connection active. Now every Action Cable message updates the pingedAt value, preventing the connection from being marked as stale.

    yauhenininjia

  • Add two new assertion methods for Action Cable test cases: assert_has_no_stream and assert_has_no_stream_for.

    These methods can be used to assert that a stream has been stopped, e.g. via stop_stream or stop_stream_for. They complement the already existing assert_has_stream and assert_has_stream_for methods.

    assert_has_no_stream "messages"
    assert_has_no_stream_for User.find(42)
    

    Sebastian Pöll, Junichi Sato

Please check 7-1-stable for previous changes.

Commits
  • fb6c430 Preparing for 7.2.0 release
  • 41d50f4 Preparing for 7.2.0.rc1 release
  • 77ad559 Merge pull request #52239 from skipkayhil/hm-fix-markup-in-template
  • 9b63450 Preparing for 7.2.0.beta3 release
  • 85630de Add a comment for dirname vs dir usage
  • 69cee18 Fix Action Cable loader path prefix
  • b752c38 Preparing for 7.2.0.beta2 release
  • 4d38eb8 update changelog
  • 46f0dd0 Merge pull request #51979 from justinko/actioncable-changelog
  • 33bd507 Merge pull request #51980 from justinko/no-doc-actioncable-test-cookies
  • Additional commits viewable in compare view


Updates actionmailbox from 7.1.3.4 to 7.2.0

Release notes

Sourced from actionmailbox's releases.

7.2.0

Active Support

  • Fix delegate_missing_to allow_nil: true when called with implict self

    class Person
      delegate_missing_to :address, allow_nil: true
    

    def address nil end

    def berliner? city == "Berlin" end end

    Person.new.city # => nil Person.new.berliner? # undefined local variable or method `city' for an instance of Person (NameError)

    Jean Boussier

  • Add logger as a dependency since it is a bundled gem candidate for Ruby 3.5

    Earlopain

  • Define Digest::UUID.nil_uuid, which returns the so-called nil UUID.

    Xavier Noria

  • Support duration type in ActiveSupport::XmlMini.

    heka1024

  • Remove deprecated ActiveSupport::Notifications::Event#children and ActiveSupport::Notifications::Event#parent_of?.

    Rafael Mendonça França

  • Remove deprecated support to call the following methods without passing a deprecator:

    • deprecate
    • deprecate_constant
    • ActiveSupport::Deprecation::DeprecatedObjectProxy.new
    • ActiveSupport::Deprecation::DeprecatedInstanceVariableProxy.new
    • ActiveSupport::Deprecation::DeprecatedConstantProxy.new
    • assert_deprecated
    • assert_not_deprecated

... (truncated)

Changelog

Sourced from actionmailbox's changelog.

Rails 7.2.0 (August 09, 2024)

  • Fix all Action Mailbox database related models to respect ActiveRecord::Base.table_name_prefix configuration.

    Chedli Bourguiba

Please check 7-1-stable for previous changes.

Commits
  • fb6c430 Preparing for 7.2.0 release
  • 41d50f4 Preparing for 7.2.0.rc1 release
  • 9b63450 Preparing for 7.2.0.beta3 release
  • b752c38 Preparing for 7.2.0.beta2 release
  • 4d38eb8 update changelog
  • 9098f53 Preparing for 7.2.0.beta1 release
  • 7263da5 Deprecate ConnectionPool#connection
  • 96be090 Fix typos
  • 676fe1b Address Defining enums with keyword arguments warning in Action Mailbox
  • 8565f45 Use relative includes of README's in documentation [ci-skip]
  • Additional commits viewable in compare view


Updates actionmailer from 7.1.3.4 to 7.2.0

Release notes

Sourced from actionmailer's releases.

7.2.0

Active Support

  • Fix delegate_missing_to allow_nil: true when called with implict self

    class Person
      delegate_missing_to :address, allow_nil: true
    

    def address
    nil
    end

    def berliner?
    city == "Berlin"
    end
    end

    Person.new.city # => nil
    Person.new.berliner? # undefined local variable or method `city' for an instance of Person (NameError)

    Jean Boussier

  • Add logger as a dependency since it is a bundled gem candidate for Ruby 3.5

    Earlopain

  • Define Digest::UUID.nil_uuid, which returns the so-called nil UUID.

    Xavier Noria

  • Support duration type in ActiveSupport::XmlMini.

    heka1024

  • Remove deprecated ActiveSupport::Notifications::Event#children and ActiveSupport::Notifications::Event#parent_of?.

    Rafael Mendonça França

  • Remove deprecated support to call the following methods without passing a deprecator:

    • deprecate
    • deprecate_constant
    • ActiveSupport::Deprecation::DeprecatedObjectProxy.new
    • ActiveSupport::Deprecation::DeprecatedInstanceVariableProxy.new
    • ActiveSupport::Deprecation::DeprecatedConstantProxy.new
    • assert_deprecated
    • assert_not_deprecated

... (truncated)

Changelog

Sourced from actionmailer's changelog.

Rails 7.2.0 (August 09, 2024)

  • Remove deprecated params via :args for assert_enqueued_email_with.

    Rafael Mendonça França

  • Remove deprecated config.action_mailer.preview_path.

    Rafael Mendonça França

Please check 7-1-stable for previous changes.

Commits
  • fb6c430 Preparing for 7.2.0 release
  • 41d50f4 Preparing for 7.2.0.rc1 release
  • 9b63450 Preparing for 7.2.0.beta3 release
  • cffb846 Merge pull request #52199 from rubys/rubocop-mailer-generator
  • b752c38 Preparing for 7.2.0.beta2 release
  • 4d38eb8 update changelog
  • 9098f53 Preparing for 7.2.0.beta1 release
  • 041de49 Remove usage of OpenStruct
  • 50515fb Add more ostruct requires
  • 154f7c2 Register autoload for ActiveJob::Arguments
  • Additional commits viewable in compare view


Updates actionpack from 7.1.3.4 to 7.2.0

Release notes

Sourced from actionpack's releases.

7.2.0

Active Support

  • Fix delegate_missing_to allow_nil: true when called with implict self

    class Person
      delegate_missing_to :address, allow_nil: true
    

    def address nil end

    def berliner? city == "Berlin" end end

    Person.new.city # => nil Person.new.berliner? # undefined local variable or method `city' for an instance of Person (NameError)

    Jean Boussier

  • Add logger as a dependency since it is a bundled gem candidate for Ruby 3.5

    Earlopain

  • Define Digest::UUID.nil_uuid, which returns the so-called nil UUID.

    Xavier Noria

  • Support duration type in ActiveSupport::XmlMini.

    heka1024

  • Remove deprecated ActiveSupport::Notifications::Event#children and ActiveSupport::Notifications::Event#parent_of?.

    Rafael Mendonça França

  • Remove deprecated support to call the following methods without passing a deprecator:

    • deprecate
    • deprecate_constant
    • ActiveSupport::Deprecation::DeprecatedObjectProxy.new
    • ActiveSupport::Deprecation::DeprecatedInstanceVariableProxy.new
    • ActiveSupport::Deprecation::DeprecatedConstantProxy.new
    • assert_deprecated
    • assert_not_deprecated

... (truncated)

Changelog

Sourced from actionpack's changelog.

Rails 7.2.0 (August 09, 2024)

  • Allow bots to ignore allow_browser.

    Matthew Nguyen

  • Include the HTTP Permissions-Policy on non-HTML Content-Types [CVE-2024-28103]

    Aaron Patterson, Zack Deveau

  • Fix Mime::Type.parse handling type parameters for HTTP Accept headers.

    Taylor Chaparro

  • Fix the error page that is displayed when a view template is missing to account for nested controller paths in the suggested correct location for the missing template.

    Joshua Young

  • Add save_and_open_page helper to IntegrationTest.

    save_and_open_page is a helpful helper to keep a short feedback loop when working on system tests. A similar helper with matching signature has been added to integration tests.

    Joé Dupuis

  • Fix a regression in 7.1.3 passing a to: option without a controller when the controller is already defined by a scope.

    Rails.application.routes.draw do
      controller :home do
        get "recent", to: "recent_posts"
      end
    end
    

    Étienne Barrié

  • Request Forgery takes relative paths into account.

    Stefan Wienert

  • Add ".test" as a default allowed host in development to ensure smooth golden-path setup with puma.dev.

    DHH

  • Add allow_browser to set minimum browser versions for the application.

    A browser that's blocked will by default be served the file in public/406-unsupported-browser.html with a HTTP status code of "406 Not Acceptable".

... (truncated)

Commits
  • fb6c430 Preparing for 7.2.0 release
  • 0b3404e Merge pull request #52531 from n-studio/allow-bots
  • 41d50f4 Preparing for 7.2.0.rc1 release
  • 3ce715b Don't claim compatibility with unknown future Rack releases
  • 9b63450 Preparing for 7.2.0.beta3 release
  • 850d692 Merge pull request #50063 from skipkayhil/hm-doc-metal
  • a38f2dc Merge pull request #52225 from Earlopain/rdoc-hanging
  • 3b5cc63 Merge pull request #52185 from Shopify/vs/turn_action_controller_inclusions_e...
  • 549859e Merge pull request #52172 from yahonda/selenium-webdriver-4220
  • 7358948 Merge pull request #52096 from ioquatix/rack-invalid-cookie-key
  • Additional commits viewable in compare view


Updates actiontext from 7.1.3.4 to 7.2.0

Release notes

Sourced from actiontext's releases.

7.2.0

Active Support

  • Fix delegate_missing_to allow_nil: true when called with implict self

    class Person
      delegate_missing_to :address, allow_nil: true
    

    def address nil end

    def berliner? city == "Berlin" end end

    Person.new.city # => nil Person.new.berliner? # undefined local variable or method `city' for an instance of Person (NameError)

    Jean Boussier

  • Add logger as a dependency since it is a bundled gem candidate for Ruby 3.5

    Earlopain

  • Define Digest::UUID.nil_uuid, which returns the so-called nil UUID.

    Xavier Noria

  • Support duration type in ActiveSupport::XmlMini.

    heka1024

  • Remove deprecated ActiveSupport::Notifications::Event#children and ActiveSupport::Notifications::Event#parent_of?.

    Rafael Mendonça França

  • Remove deprecated support to call the following methods without passing a deprecator:

    • deprecate
    • deprecate_constant
    • ActiveSupport::Deprecation::DeprecatedObjectProxy.new
    • ActiveSupport::Deprecation::DeprecatedInstanceVariableProxy.new
    • ActiveSupport::Deprecation::DeprecatedConstantProxy.new
    • assert_deprecated
    • assert_not_deprecated

... (truncated)

Changelog

Sourced from actiontext's changelog.

Rails 7.2.0 (August 09, 2024)

  • Only sanitize content attribute when present in attachments.

    Petrik de Heus

  • Sanitize ActionText HTML ContentAttachment in Trix edit view [CVE-2024-32464]

    Aaron Patterson, Zack Deveau

  • Use includes instead of eager_load for with_all_rich_text.

    Petrik de Heus

  • Delegate ActionText::Content#deconstruct to Nokogiri::XML::DocumentFragment#elements.

    content = ActionText::Content.new <<~HTML
      <h1>Hello, world</h1>
    

    <div>The body</div> HTML

    content => [h1, div]

    assert_pattern { h1 => { content: "Hello, world" } } assert_pattern { div => { content: "The body" } }

    Sean Doyle

  • Fix all Action Text database related models to respect ActiveRecord::Base.table_name_prefix configuration.

    Chedli Bourguiba

  • Compile ESM package that can be used directly in the browser as actiontext.esm.js

    Matias Grunberg

  • Fix using actiontext.js with Sprockets.

    Matias Grunberg

  • Upgrade Trix to 2.0.7

    Hartley McGuire

  • Fix using Trix with Sprockets.

... (truncated)

Commits
  • fb6c430 Preparing for 7.2.0 release
  • 41d50f4 Preparing for 7.2.0.rc1 release
  • 9b63450 Preparing for 7.2.0.beta3 release
  • 09839ee Merge pull request #52093 from p8/actiontext/fix-remote-image-preview
  • 811eec7 Fix action-text-attachment HTML escaping regression test
  • 1dc99d3 Add author to changelog entry
  • b752c38 Preparing for 7.2.0.beta2 release
  • 4d38eb8 update changelog
  • 72a5225 Sanitize ActionText HTML ContentAttachment in Trix edit view
  • d6aef44 Point activestorage npm package to the same release
  • Additional commits viewable in compare view


Updates actionview from 7.1.3.4 to 7.2.0

Release notes

Sourced from actionview's releases.

7.2.0

Active Support

  • Fix delegate_missing_to allow_nil: true when called with implict self

    class Person
      delegate_missing_to :address, allow_nil: true
    

    def address
    nil
    end

    def berliner?
    city == "Berlin"
    end
    end

    Person.new.city # => nil
    Person.new.berliner? # undefined local variable or method `city' for an instance of Person (NameError)

    Jean Boussier

  • Add logger as a dependency since it is a bundled gem candidate for Ruby 3.5

    Earlopain

  • Define Digest::UUID.nil_uuid, which returns the so-called nil UUID.

    Xavier Noria

  • Support duration type in ActiveSupport::XmlMini.

    heka1024

  • Remove deprecated ActiveSupport::Notifications::Event#children and ActiveSupport::Notifications::Event#parent_of?.

    Rafael Mendonça França

  • Remove deprecated support to call the following methods without passing a deprecator:

    • deprecate
    • deprecate_constant
    • ActiveSupport::Deprecation::DeprecatedObjectProxy.new
    • ActiveSupport::Deprecation::DeprecatedInstanceVariableProxy.new
    • ActiveSupport::Deprecation::DeprecatedConstantProxy.new
    • assert_deprecated
    • assert_not_deprecated

... (truncated)

Changelog

Sourced from actionview's changelog.

Rails 7.2.0 (August 09, 2024)

  • Fix templates with strict locals to also include local_assigns.

    Previously templates defining strict locals wouldn't receive the local_assigns hash.

    Jean Boussier

  • Add queries count to template rendering instrumentation.

    # Before
    Completed 200 OK in 3804ms (Views: 41.0ms | ActiveRecord: 33.5ms | Allocations: 112788)
    

    After

    Completed 200 OK in 3804ms (Views: 41.0ms | ActiveRecord: 33.5ms (2 queries, 1 cached) | Allocations: 112788)

    fatkodima

  • Raise ArgumentError if :renderable object does not respond to #render_in.

    Sean Doyle

  • Add the nonce: true option for stylesheet_link_tag helper to support automatic nonce generation for Content Security Policy.

    Works the same way as javascript_include_tag nonce: true does.

    Akhil G Krishnan, AJ Esler

  • Parse ActionView::TestCase#rendered HTML content as Nokogiri::XML::DocumentFragment instead of Nokogiri::XML::Document.

    Sean Doyle

  • Rename ActionView::TestCase::Behavior::Content to ActionView::TestCase::Behavior::RenderedViewContent.

    Make RenderedViewContent inherit from String. Make private API with :nodoc:

    Sean Doyle

  • Deprecate passing nil as value for the model: argument to the form_with method.

    Collin Jilbert

  • Alias field_set_tag helper to fieldset_tag to match <fieldset> element.

    Sean Doyle

  • Deprecate passing content to void elements when using tag.br type tag builders.

... (truncated)

Commits
  • fb6c430 Preparing for 7.2.0 release
  • 41d50f4 Preparing for 7.2.0.rc1 release
  • 9b63450 Preparing for 7.2.0.beta3 release
  • 7c61bbd Fix changelog formatting
  • 03054bf Fix changelog formatting
  • d3016bb Merge pull request #52205 from Shopify/local-assigns-strict-locals
  • 76c6a11 Merge pull request #52024 from Earlopain/explicit-logger-dep
  • b752c38 Preparing for 7.2.0.beta2 release
  • 4d38eb8 update changelog
  • fcec475 Link should be separated by comma.
  • Additional commits viewable in compare view


Updates activejob from 7.1.3.4 to 7.2.0

Release notes

Sourced from activejob's releases.

7.2.0

Active Support

  • Fix delegate_missing_to allow_nil: true when called with implict self

    class Person
      delegate_missing_to :address, allow_nil: true
    

    def address
    nil
    end

    def berliner?
    city == "Berlin"
    end
    end

    Person.new.city # => nil
    Person.new.berliner? # undefined local variable or method `city' for an instance of Person (NameError)

    Jean Boussier

  • Add logger as a dependency since it is a bundled gem candidate for Ruby 3.5

    Earlopain

  • Define Digest::UUID.nil_uuid, which returns the so-called nil UUID.

    Xavier Noria

  • Support duration type in ActiveSupport::XmlMini.

    heka1024

  • Remove deprecated ActiveSupport::Notifications::Event#children and ActiveSupport::Notifications::Event#parent_of?.

    Rafael Mendonça França

  • Remove deprecated support to call the following methods without passing a deprecator:

    • deprecate
    • deprecate_constant
    • ActiveSupport::Deprecation::DeprecatedObjectProxy.new
    • ActiveSupport::Deprecation::DeprecatedInstanceVariableProxy.new
    • ActiveSupport::Deprecation::DeprecatedConstantProxy.new
    • assert_deprecated
    • assert_not_deprecated

... (truncated)

Changelog

Sourced from activejob's changelog.

Rails 7.2.0 (August 09, 2024)

  • All tests now respect the active_job.queue_adapter config.

    Previously if you had set config.active_job.queue_adapter in your config/application.rb or config/environments/test.rb file, the adapter you selected was previously not used consistently across all tests. In some tests your adapter would be used, but other tests would use the TestAdapter.

    In Rails 7.2, all tests will respect the queue_adapter config if provided. If no config is provided, the TestAdapter will continue to be used.

    See #48585 for more details.

    Alex Ghiculescu

  • Make Active Job transaction aware when used conjointly with Active Record.

    A common mistake with Active Job is to enqueue jobs from inside a transaction, causing them to potentially be picked and ran by another process, before the transaction is committed, which may result in various errors.

    Topic.transaction do
      topic = Topic.create(...)
      NewTopicNotificationJob.perform_later(topic)
    end
    

    Now Active Job will automatically defer the enqueuing to after the transaction is committed, and drop the job if the transaction is rolled back.

    Various queue implementations can choose to disable this behavior, and users can disable it, or force it on a per job basis:

    class NewTopicNotificationJob < ApplicationJob
      self.enqueue_after_transaction_commit = :never # or `:always` or `:default`
    end
    

    Jean Boussier, Cristian Bica

  • Do not trigger immediate loading of ActiveJob::Base when loading ActiveJob::TestHelper.

    Maxime Réty

  • Preserve the serialized timezone when deserializing ActiveSupport::TimeWithZone arguments.

    Joshua Young

... (truncated)

Commits
  • fb6c430 Preparing for 7.2.0 release
  • 41d50f4 Preparing for 7.2.0.rc1 release
  • 0b1bb95 Merge pull request #52301 from y-yagi/fix_enqueue_after_transaction_commit_wi...
  • 3c04fb0 Merge pull request #52484 from excid3/fix-enqueue-after-transaction-commit-in...
  • 9b63450 Preparing for 7.2.0.beta3 release
  • e06cd70 Merge pull request #49854 from skipkayhil/hm-document-aj-logger
  • b752c38 Preparing for 7.2.0.beta2 release
  • 4d38eb8 update changelog
  • 4e7f801 Fix deprecation horizon to be 8.0
  • 9098f53 Preparing for 7.2.0.beta1 release
  • Additional commits viewable in compare view


Updates activemodel from 7.1.3.4 to 7.2.0

Release notes

Sourced from activemodel's releases.

7.2.0

Active Support

  • Fix delegate_missing_to allow_nil: true when called with implict self

    class Person
      delegate_missing_to :address, allow_nil: true
    

    def address
    nil
    end

    def berliner?
    city == "Berlin"
    end
    end

    Person.new.city # => nil
    Person.new.berliner? # undefined local variable or method `city' for an instance of Person (NameError)

    Jean Boussier

  • Add logger as a dependency since it is a bundled gem candidate for Ruby 3.5

    Earlopain

  • Define Digest::UUID.nil_uuid, which returns the so-called nil UUID.

    Xavier Noria

  • Support duration type in ActiveSupport::XmlMini.

    heka1024

  • Remove deprecated ActiveSupport::Notifications::Event#children and ActiveSupport::Notifications::Event#parent_of?.

    Rafael Mendonça França

  • Remove deprecated support to call the following methods without passing a deprecator:

    • deprecate
    • deprecate_constant
    • ActiveSupport::Deprecation::DeprecatedObjectProxy.new
    • ActiveSupport::Deprecation::DeprecatedInstanceVariableProxy.new
    • ActiveSupport::Deprecation::DeprecatedConstantProxy.new
    • assert_deprecated
    • assert_not_deprecated

... (truncated)

Changelog

Sourced from activemodel's changelog.

Rails 7.2.0 (August 09, 2024)

  • Fix a bug where type casting of string to Time and DateTime doesn't calculate minus minute value in TZ offset correctly.

    Akira Matsuda

  • Port the type_for_attribute method to Active Model. Classes that include ActiveModel::Attributes will now provide this method. This method behaves the same for Active Model as it does for Active Record.

    class MyModel
      include ActiveModel::Attributes
    

    attribute :my_attribute, :integer
    end

    MyModel.type_for_attribute(:my_attribute) # => #<ActiveModel::Type::Integer ...>

    Jonathan Hefner

Please check 7-1-stable for previous changes.

Commits
  • fb6c430 Preparing for 7.2.0 release
  • 41d50f4 Preparing for 7.2.0.rc1 release
  • 79ea9f6 Merge pull request #52443 from Shopify/optimize-fast_string_to_time
  • 9b63450 Preparing for 7.2.0.beta3 release
  • 9d9ec1c Merge pull request #52145 from Shopify/alias-attribute-override-inherited-met...
  • e564f29 Merge pull request #52118 from Shopify/fix-code-generator-bloat
  • b752c38 Preparing for 7.2.0.beta2 release
  • 4d38eb8 update changelog
  • 9098f53 Preparing for 7.2.0.beta1 release
  • 7026382 Fix tests without assertions in the framework
  • Additional commits viewable in compare view


Updates activerecord from 7.1.3.4 to 7.2.0

Release notes

Sourced from activerecord's releases.

7.2.0

Active Support

  • Fix delegate_missing_to allow_nil: true when called with implict self

    class Person
      delegate_missing_to :address, allow_nil: true
    

    def address
    nil
    end

    def berliner?
    city == "Berlin"
    end
    end

    Person.new.city # => nil
    Person.new.berliner? # undefined local variable or method `city' for an instance of Person (NameError)

    Jean Boussier

  • Add logger as a dependency since it is a bundled gem candidate for Ruby 3.5

    Earlopain

  • Define Digest::UUID.nil_uuid, which returns the so-called nil UUID.

    Xavier Noria

  • Support duration type in ActiveSupport::XmlMini.

    heka1024

  • Remove deprecated ActiveSupport::Notifications::Event#children and ActiveSupport::Notifications::Event#parent_of?.

    Rafael Mendonça França

  • Remove deprecated support to call the following methods without passing a deprecator:

    • deprecate
    • deprecate_constant
    • ActiveSupport::Deprecation::DeprecatedObjectProxy.new
    • ActiveSupport::Deprecation::DeprecatedInstanceVariableProxy.new
    • ActiveSupport::Deprecation::DeprecatedConstantProxy.new
    • assert_deprecated
    • assert_not_deprecated

... (truncated)

Changelog

Sourced from activerecord's changelog.

Rails 7.2.0 (August 09, 2024)

  • Handle commas in Sqlite3 default function definitions.

    Stephen Margheim

  • Fixes validates_associated raising an exception when configured with a singular association and having index_nested_attribute_errors enabled.

    Martin Spickermann

  • The constant ActiveRecord::ImmutableRelation has been deprecated because we want to reserve that name for a stronger sense of "immutable relation". Please use ActiveRecord::UnmodifiableRelation instead.

    Xavier Noria

  • Add condensed #inspect for ConnectionPool, AbstractAdapter, and DatabaseConfig.

    Hartley McGuire

  • Fixed a memory performance issue in Active Record attribute methods definition.

    Jean Boussier

  • Define the new Active Support notification event start_transaction.active_record.

    This event is fired when database transactions or savepoints start, and complements transaction.active_record, which is emitted when they finish.

    The payload has the transaction (:transaction) and the connection (:connection).

    Xavier Noria

  • Fix an issue where the IDs reader method did not return expected results for preloaded associations in models using composite primary keys.

    Jay Ang

  • The payload of sql.active_record Active Support notifications now has the current transaction in the :transaction key.

    Xavier Noria

  • The payload of transaction.active_record Active Support notifications now has the transaction the event is related to in the :transaction key.

    Xavier Noria

  • Define ActiveRecord::Transaction#uuid, which returns a UUID for the database transaction. This may be helpful when tracing database activity. These UUIDs are generated only on demand.

... (truncated)

Commits
  • fb6c430 Preparing for 7.2.0 release
  • 41d50f4 Preparing for 7.2.0.rc1 release
  • a2ec4a7 Merge pull request #52363 from eugeneius/autosave_has_one_loaded
  • 6be58c9 Merge pull request #51889 from fatkodima/db_prepare-migration-ordering
  • 43530b4 Merge pull request #52500 from GarrisonD/main
  • 5cb5cad Merge pull request #50838 from fractaledmind/ar-fix-sqlite-table-structure-pa...
  • 9c87c23 Fix indexed nested error for singular associations
  • 229308d Merge pull request #52402 from jhawthorn/avoid_extra_pings
  • 1b89033 Merge pull request #52359 from fatkodima/fix-find_or_initialize_by-for-cpk-as...
  • 8035bec Merge pull request #52322 from fatkodima/fix-loaded-relation-batching
  • Additional commits viewable in compare view


Updates activestorage from 7.1.3.4 to 7.2.0

Release notes

Sourced from activestorage's releases.

7.2.0

Active Support

  • Fix delegate_missing_to allow_nil: true when called with implict self

    class Person
      delegate_missing_to :address, allow_nil: true
    

    def address
    nil
    end

    def berliner?
    city == "Berlin"
    end
    end

    Person.new.city # => nil
    Person.new.berliner? # undefined local variable or method `city' for an instance of Person (NameError)

    Jean Boussier

  • Add logger as a dependency since it is a bundled gem candidate for Ruby 3.5

    Earlopain

  • Define Digest::UUID.nil_uuid, which returns the so-called nil UUID.

    Xavier Noria

  • Support duration type in ActiveSupport::XmlMini.

    heka1024

  • Remove deprecated ActiveSupport::Notifications::Event#children and ActiveSupport::Notifications::Event#parent_of?.

    Rafael Mendonça França

  • Remove deprecated support to call the following methods without passing a deprecator:

    • deprecate
    • deprecate_constant
    • ActiveSupport::Deprecation::DeprecatedObjectProxy.new
    • ActiveSupport::Deprecation::DeprecatedInstanceVariableProxy.new
    • ActiveSupport::Deprecation::DeprecatedConstantProxy.new
    • assert_deprecated
    • assert_not_deprecated

... (truncated)

Changelog

Sourced from activestorage's changelog.

Rails 7.2.0 (August 09, 2024)

  • Remove deprecated config.active_storage.silence_invalid_content_types_warning.

    Rafael Mendonça França

  • Remove deprecated config.active_storage.replace_on_assign_to_many.

    Rafael Mendonça França

  • Add support for custom key in ActiveStorage::Blob#compose.

    Elvin Efendiev

  • Add image/webp to config.active_storage.web_image_content_types when load_defaults "7.2" is set.

    Lewis Buckley

  • Fix JSON-encoding of ActiveStorage::Filename instances.

    Jonathan del Strother

  • Fix N+1 query when fetching preview images for non-image assets.

    Aaron Patterson & Justin Searls

  • Fix all Active Storage database related models to respect ActiveRecord::Base.table_name_prefix configuration.

    Chedli Bourguiba

  • Fix ActiveStorage::Representations::ProxyController not returning the proper preview image variant for previewable files.

    Chedli Bourguiba

  • Fix ActiveStorage::Representations::ProxyController to proxy untracked variants.

    Chedli Bourguiba

  • When using the preprocessed: true option, avoid enqueuing transform jobs for blobs that are not representable.

    Chedli Bourguiba

  • Prevent ActiveStorage::Blob#preview to generate a variant if an empty variation is passed.

    Calls to #url, #key or #download will now use the original preview

... (truncated)

Commits
  • fb6c430 Preparing for 7.2.0 release
  • 41d50f4 Preparing for 7.2.0.rc1 release
  • 9b63450 Preparing for 7.2.0.beta3 release
  • b752c38 Preparing for 7.2.0.beta2 release
  • 4d38eb8 update changelog
  • 9098f53 Preparing for 7.2.0.beta1 release
  • 8815475 Merge pull request #51931 from justinko/issue-51882
  • 799d942 Merge pull request #51907 from higher-pixels/no-doc-preview-image-needed
  • 32e8583 7-2-stable changelog pass
  • 0cf8444 Remove deprecated config.active_storage.silence_invalid_content_types_warning
  • Additional commits viewable in compare view


Updates activesupport from 7.1.3.4 to 7.2.0

Release notes

Sourced from activesupport's releases.

7.2.0

Active Support

  • Fix delegate_missing_to allow_nil: true when called with implict self

    class Person
      delegate_missing_to :address, allow_nil: true
    

    def address
    nil
    end

    def berliner?
    city == "Berlin"
    end
    end

    Person.new.city # => nil
    Person.new.berliner? # undefined local variable or method `city' for an instance of Person (NameError)

    Jean Boussier

  • Add logger as a dependency since it is a bundled gem candidate for Ruby 3.5

    Earlopain

  • Define Digest::UUID.nil_uuid, which returns the so-called nil UUID.

    Xavier Noria

  • Support duration type in ActiveSupport::XmlMini.

    heka1024

  • Remove deprecated ActiveSupport::Notifications::Event#children and ActiveSupport::Notifications::Event#parent_of?.

    Rafael Mendonça França

  • Remove deprecated support to call the following methods without passing a deprecator:

    • deprecate
    • deprecate_constant
    • ActiveSupport::Deprecation::DeprecatedObjectProxy.new
    • ActiveSupport::Deprecation::DeprecatedInstanceVariableProxy.new
    • ActiveSupport::Deprecation::DeprecatedConstantProxy.new
    • assert_deprecated
    • assert_not_deprecated

... (truncated)

Changelog

Sourced from activesupport's changelog.

Rails 7.2.0 (August 09, 2024)

  • Fix delegate_missing_to allow_nil: true when called with implict self

    class Person
      delegate_missing_to :address, allow_nil: true
    

    def address
    nil
    end

    def berliner?
    city == "Berlin"
    end
    end

    Person.new.city # => nil
    Person.new.berliner? # undefined local variable or method `city' for an instance of Person (NameError)

    Jean Boussier

  • Add logger as a dependency since it is a bundled gem candidate for Ruby 3.5

    Earlopain

  • Define Digest::UUID.nil_uuid, which returns the so-called nil UUID.

    Xavier Noria

  • Support duration type in ActiveSupport::XmlMini.

    heka1024

  • Remove deprecated ActiveSupport::Notifications::Event#children and ActiveSupport::Notifications::Event#parent_of?.

    Rafael Mendonça França

  • Remove deprecated support to call the following methods without passing a deprecator:

    • deprecate
    • deprecate_constant
    • ActiveSupport::Deprecation::DeprecatedObjectProxy.new
    • ActiveSupport::Deprecation::DeprecatedInstanceVariableProxy.new
    • ActiveSupport::Deprecation::DeprecatedConstantProxy.new
    • assert_deprecated
    • assert_not_deprecated
    • collect_deprecations

... (truncated)

Commits
  • fb6c430 Preparing for 7.2.0 release
  • 41d50f4 Preparing for 7.2.0.rc1 release
  • 9fb8863 Merge pull request #52473 from r7kamura/securerandom-base36