2025/01/11分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
activestorage/CHANGELOG.md
Delegate ActiveStorage::Filename#to_str to #to_s
activestorage/app/models/active_storage/filename.rbの修正です。
ActiveStorage::Filename#to_strを#to_sにdelegateするよう修正しています。stringとActiveStorage::Filenameの比較を出来るようにする為。
filename = ActiveStorage::Filename.new("file.txt") filename == "file.txt" # => true
Eliminate allocations on Model.respond_to? calls
activerecord/lib/active_record/dynamic_matchers.rbの修正です。
Model.respond_to?を実行した際にオブジェクトの生成が行われないようリファクタリングしています。modelのinstance生成処理の性能改善を行っており、その一環との事です。
Fix load_active_support initializer doc
rails guideのConfiguring Rails Applicationsの修正です。
load_active_support initializerの挙動の説明が実際の挙動と異なっていたのを修正しています。
Make RequestForgeryProtection::NULL_ORIGIN_MESSAGE private
actionpack/lib/action_controller/metal/request_forgery_protection.rbの修正です。
Rails内部で使用するだけのRequestForgeryProtection::NULL_ORIGIN_MESSAGE定数の可視性をprivateに変更しています。
Make FilterParameters#ENV_MATCH, NULL_ENV_FILTER, NULL_PARAM_FILTER nodoc
actionpack/lib/action_dispatch/http/filter_parameters.rbの修正です。