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
の修正です。