2023/10/20分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Typo fix in BigDecimal job arguments warning
activejob/lib/active_job/arguments.rb
の修正です。
jobのargumentにBigDecimal
を指定した場合のdeprecatedメッセージ内のタイポを修正しています。
Use custom class for pending migrations connection
activerecord/lib/active_record/migration.rb
、
activerecord/lib/active_record/migration/pending_migration_connection.rb
の修正です。
multiple databasesの設定がある、かつ、Rails Engine配下にconnects_to
の指定が無いActiveRecord::Base
の子クラスがあるような場合に、migirationの実行時にdeadlockが発生してしまうバグがあったのを修正しています。
Use RDoc block quote syntax [ci-skip] https://github.com/rails/rails/commit/c48dc47ca34c56976de8b6c1a8d8e26bde73b386
activerecord/README.rdoc
の修正です。
引用部分で<pre>
ではなく<blockquote>
が使われるよう修正しています。
Fix file cache store to split url-encoded keys on encode-sequence boundaries
activesupport/lib/active_support/cache/file_store.rb
の修正です。
file cache storeでdelete_matched
メソッドにファイル名の最大長以上の長さのkeyを指定した場合にエラーになってしまうバグがあったのを修正しています。
Fix time travel helpers to work when nested using with separate classes
activesupport/lib/active_support/testing/time_helpers.rb
異なるclassでtime travel helperをnestして使用した場合に、違うclassで行った設定が他のclassに影響を与えてしまうバグがあったのを修正しています。
Merge pull request #49710 from zenspider/zenspider/deprecator
不足していたrequireを追加しています。が、active_support
をrequireせずにactive_support
配下のファイルを使用する、というサポートしていないケースを想定した使い方だった為、後ほどRevertされています。
Revert "Merge pull request #49710 from zenspider/zenspider/deprecator"
直前のrequireを追加したコミットをRevertしています。
Handle outdated Marshal payloads in Cache::Entry with 6.1 cache_format
Active Supportの修正です。
cache_format
に6.1を指定している、かつ、既に存在しないclass / moduleがcacheに含まれている場合に、cacheのload処理でエラーにならないよう修正しています。
Fix OrderedOptions#dig
for array indexes
activesupport/lib/active_support/ordered_options.rb
の修正です。
ActiveSupport::OrderedOptions#dig
の引数にArrayのindexを指定した場合にエラーになってしまうバグがあったのを修正しています。
Fix issue where bootstrap.rb
overwrites the level
of a BroadcastLogger
's broadcasts
.
railties/lib/rails/application/bootstrap.rb
の修正です。
Rails.logger
に対するlevel
の設定処理を、loggerがActiveSupport::BroadcastLogger
のインスタンスでない場合のみ行うよう修正しています。loggerがActiveSupport::BroadcastLogger
のインスタンスの場合、既にlevel
が設定されている可能性があり、値を上書きしてしまうのを避ける為。