2025/08/25分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Add ActiveRecord::ExclusionViolation error class for exclusion constraint violations
activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
、
activerecord/lib/active_record/errors.rb
の修正です。
PostgreSQLでexclusion constraint violationsが発生した場合にActiveRecord::StatementInvalid
をraiseしていたのを、専用のエラークラス(ActiveRecord::ExclusionViolation
)をraiseするよう修正しています。エラーの判別をしやすくする為。
Merge pull request #55541 from joshuay03/fix-55525
activestorage/lib/active_storage/service/s3_service.rb
の修正です。
ActiveStorage::Service::S3Service
でdeprecatedになったAws::S3::Object#upload_stream
を使用していたのを、新しく追加されたAws::S3::TransferManager#upload_stream
を使用するよう修正しています。
Merge pull request #55538 from Frexuz/patch-3
railties/lib/rails/templates/rails/welcome/index.html.erb
の修正です。
Welcome pageにdark modeのサポートを追加しています。
Merge pull request #55543 from a5-stable/avoid-filter-attribute-for-base
activerecord/lib/active_record/filter_attribute_handler.rb
の修正です。
ActiveRecord::Base
に対して、不要なattributeのfilterの設定を行わないよう修正しています。
Allow unsubscribing from events
activesupport/lib/active_support/event_reporter.rb
の修正です。
error reporterのsubscriberを、unsubscribe出来るよう修正しています。
subscriber = MyEventSubscriber.new Rails.event.subscribe(subscriber) Rails.event.unsubscribe(subscriber)
Add headers to engine route inspection command
actionpack/lib/action_dispatch/routing/inspector.rb
の修正です。
route inspection commandでengineのrouteを表示する際に、header(Prefix Verb URI Pattern Controller#Action
)を入れるよう修正しています。
[ci skip]Fix a broken link to ActiveStorage::Blob#url in the documentation
activestorage/app/models/active_storage/variant.rb
のdocの修正です。
ActiveStorage::Variant#url
メソッドのdoc内のActiveStorage::Blob#url
について記載している箇所が、API docへのリンクになるよう修正しています。