2022/08/26分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
default
option ofthread_mattr_accessor
now applies through inheritance and also across new threads.
prevent leaking sensitive payload
actioncable/lib/action_cable/channel/base.rb
の修正です。
payloadを含むlogのlog levelをdebug
に変更しています。機密性の高い情報が含まれている可能性があり、そのような情報がログに出力されてしまうのを避ける為。
Merge pull request #42650 from intrip/becomes_with_virtual_attrs
activemodel/lib/active_model/attribute_set.rb
、
activerecord/lib/active_record/persistence.rb
の修正です。
ActiveRecord::Persistence#becomes
で新しいインスタンスを生成する際に、生成先のクラスで保持しているvirtual attributeの値も新しいインスタンスに反映されるよう修正しています。
Fix thread_mattr_accessor
default
option behavior
activesupport/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb
の修正です。
thread_mattr_accessor
のdefault
オプションが、サブクラスと値を指定したとの別のスレッドで適応されてなかったのを、サブクラスと他のスレッドでも適応されるよう修正しています。
Fix typo in CHANGELOG [ci-skip]
activerecord/CHANGELOG.md
の修正です。
先のActiveRecord::Persistence#becomes
の対応のエントリーで、class名をタイポしていたのを修正しています。
Update rubocop-performance
and enable more performance-related cops
Performance/InefficientHashSearch
、Performance/ConstantRegexp
、Performance/RedundantStringChars
、Performance/StringInclude
copを追加、及び、各ファイルにcopを適応しています。