2024/04/23分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
- [Deprecate
ActiveSupport::ProxyObjectin favor of Ruby's buildinBasicObject] - Support
hexBinarytype inActiveSupport::XmlMini.
Deprecate ActiveSupport::ProxyObject
activesupport/lib/active_support/proxy_object.rbの修正です。
ActiveSupport::ProxyObjectをdeprecatedにしています。Ruby本体のBasicObjectが無かった頃に必要だったクラスで、現在はBasicObjectを使えばよくなっているため。
Let Action Cable's autoloader ignore the version file
actioncable/lib/action_cable.rbの修正です。
Action Cable用のautoloaderでversion.rbをignoreするよう修正しています。version.rbはgem_version.rbに依存している、かつ、gem_version.rbは既にignoreされており、version.rbだけ単体でロードされても動作しないため。
activesupport/lib/active_support/core_ext/numeric/conversions.rb、
activesupport/lib/active_support/core_ext/object/json.rbの修正です。
Module#prependを使っている箇所で、Module#includeで良い箇所についてはModule#includeを使用するよう修正しています。Module#includeの方がmethod lookupが速いため。
Fix ActionView backtrace filtering on Ruby 3.4+
railties/lib/rails/backtrace_cleaner.rbの修正です。
backtraceのfilter処理で、Ruby 3.4で変更になったbacktraceのフォーマット(backtickを使用しないよう修正)をサポートするよう修正しています。
Merge pull request #51271 from sato11/enable-compact-blank
activesupport/lib/active_support/log_subscriber.rbの修正です。
不足していたrequireを追加しています。
Merge pull request #50780 from zachasme/app-update-skip-sprockets
railties/lib/rails/app_updater.rbの修正です。
app:updateを実行する際に、Sprocketsが使われているかPropshaftが使われているかどうかをチェックし、生成するファイルを変更するよう修正しています。
Ensure pre-7.1 migrations use legacy index names when using rename_table
Active Recordの修正です。
Rails 7.1より前で作られたmigrationファイル内でrename_tableを使っていた場合に、rename_tableで作られるindex名がRails 7.1で対応された新しいindex名になってしまうバグがあったのを修正しています。
Support hexBinary format in XML
activesupport/lib/active_support/xml_mini.rbの修正です。
ActiveSupport::XmlMiniでhexBinaryでエンコードされたファイルのパースをサポートするよう修正しています。
Rename method to keep it consistent with others parse* versions
activesupport/lib/active_support/xml_mini.rbの修正です。
hexBinary用のパースメソッドのメソッド名を_からはじめるよう修正しています。他のメソッド名と名前を合わせる為。
Merge pull request #51635 from silva96/patch-2
railties/lib/rails/generators/migration.rbのdocの修正です。
Rails::Generators::Migration moduleのdocについて、フォーマットや言い回しの修正を行っています。
Join association built from string join should not retry
activerecord/lib/active_record/associations/join_dependency/join_association.rbの修正です。
ユーザが指定した文字列でのjoin処理ではqueryのretryは行わないよう修正しています。
Update guides: Replace filter with action callback
rails guideのAction Controller Overviewの修正です。
actionのcallback処理について説明している箇所で、古い"filter"という言い方をしている箇所があったのを、"action callback"に修正しています。