2023/10/27分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
actiontext/CHANGELOG.md
Handle negative numbers in NumberToHumanSizeConverter
activesupport/lib/active_support/number_helper/number_to_human_size_converter.rbの修正です。
number_to_human_size view helper 及び #to_fs(:human_size)で負の値も正しく結果が表示されるよう修正しています。
[Fix #49796] Prevent global cache options being overwritten
activesupport/lib/active_support/cache.rbの修正です。
Rails.cache.fetchにblockを指定、かつ、block内でconfigオプションを変更した場合に、globalのconfigオプションの値も変わってしまうバグがあったのを修正しています。
Use h2 headings for ActionMailer::Base [ci-skip]
actionmailer/lib/action_mailer/base.rbのdocの修正です。
ActionMailer::Baseのdocのheadingを調整し、ページ内に<h1>タグが一つだけ存在するよう修正しています。SEOの為との事です。
Use h2 headings for Module::Concerning [ci-skip]
activesupport/lib/active_support/core_ext/module/concerning.rbのdocの修正です。
Module::Concerningのdocのheadingを調整し、ページ内に<h1>タグが一つだけ存在するよう修正しています。
Use h4 headings in AR::Associations method docs [ci-skip]
activerecord/lib/active_record/associations.rbのdocの修正です。
ActiveRecord::Associationsのdocのheadingを調整しています。
Format options doc as a description list [ci-skip]
activerecord/lib/active_record/attribute_methods/dirty.rbのdocの修正です。
Optionsに関する説明をしている箇所のフォーマットをリストに変更しています。
actionview/lib/action_view/template.rbのdocの修正です。
ActionView::Template#encode!メソッドのdocのフォーマットを修正しています。
Fix code example indentation [ci-skip]
actionpack/lib/action_controller/metal/http_authentication.rbのdocの修正です。
ActionController::HttpAuthenticationのdoc内のexampleコードのインデントを調整しています。
Avoid exposing ActiveSupport::Testing::NoSkip
activesupport/lib/active_support/testing/no_skip.rb、
tools/test_common.rbの修正です。
Railsのテストで使う為だけのmoduleをActive Supportのパッケージに含まないよう修正しています。
Fix ActiveRecord::Promise example [skip ci]
activerecord/lib/active_record/promise.rbのdocの修正です。
ActiveRecord::Promiseのexampleコードでメソッド名をタイポしていたのを修正しています。
Optimize ActiveRecord::AttributeMethods::PrimaryKey
Active Recordの修正です。
ActiveRecord::AttributeMethods::PrimaryKeyの各メソッドで実行時に毎回modelがcomposite primary keyを保持しているかチェックしていたのを、composite primary keyが定義された際にcomposite primary keyを使用しているかどうかを保持しその値を使い回せるよう修正しています。性能改善対応。
Merge pull request #49778 from skipkayhil/hm-fix-trix-sprockets
Action Textの修正です。
TrixのコードをESM bundleで保持していたのを、UMD bundleで保持するよう修正しています。ESM bundleだとSprocketsで使用する際にエラーになってしまう為。合わせて、Trixのバージョンを2.0.7に更新しています。