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に更新しています。