2024/01/06分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
- Fix
encrypted_attribute?
to take into account context properties passed toencrypts
. - Make
ActiveRecord::Encryption::Encryptor
agnostic of the serialization format used for encrypted data.
Define missing attribute methods from method_missing
Active Recordの修正です。
applicationがeager load を使用していない、かつ、古いRails 6.1のMarshalファイルを使用している場合に、Active Recordのattribute用のgetter/setterメソッドが定義されないバグがあったのを修正ですしています。
Active Supportの修正です。
古いRubyの為のSymbol#name
及びTime#floor
メソッドの実装を削除しています。
activerecord/CHANGELOG.md
の修正です。
last
、pluck
やcount
等のメソッドに対してexplain
を指定出来るよう対応したエントリーの言い回しを修正しています。
Edit pass over the CHANGELOG of Active Record
activerecord/CHANGELOG.md
の修正です。
各エントリーの言い回しやフォーマットの修正を行っています。
activerecord/CHANGELOG.md
の修正です。
エントリー内のグラマーの修正を行っています。
[Fix #48922] Use context from the encrypted attribute type in encrypted_attribute?
activerecord/lib/active_record/encryption/encryptable_record.rb
、
activerecord/lib/active_record/encryption/encrypted_attribute_type.rb
の修正です。
Active Record Encryptionでencrypts
メソッドにcontext propertiesを指定、または、custom encryptorを指定している場合に、encrypted_attribute?
が正しくencryptedかどうかのチェックを出来ないバグがあったのを修正しています。
[Fix #48685] Make the encryptor agnostic of the type of data to decrypt
activerecord/lib/active_record/encryption/encryptor.rb
の修正です。
ActiveRecord::Encryption::Encryptor
のmessageのdeserialize処理で、messageがString
以外の場合エラーにしてしたのを、エラーにしないよう修正しています。custom serializerを使用している場合に、messageに任意のオブジェクトの値を使用出来るようにする(deserialize処理をserializerに完全に依存するようにする)為。
Update api_app.md to remove specific app name
rails guideのUsing Rails for API-only Applications
の修正です。
session_store
にcookie_store
を指定する場合のexampleで、key
にアプリケーションに依存した名前を使用しないよう修正しています。
Spell JavaScript correctly [ci-skip]
railties/lib/rails/generators/rails/app/templates/github/ci.yml.tt
の修正です。
step名のグラマーの修正、及び、Javascript
をJavaScript
に修正しています。
Replace typo "enging" with "engine" [ci-skip]
rails guideのAPI Documentation Guidelines
の修正です。
engine
をenging
にタイポしていたのを修正しています。
Replace "Return" with "Returns" in API documentations
activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb
、
activerecord/lib/active_record/connection_handling.rb
のdocの修正です。
docのグラマーの修正を行っています。
Correct SQL query for User.all.explain docs [ci skip]
activerecord/lib/active_record/relation.rb
のdocの修正です。
doc内のUser.all.explain
メソッドの実行結果の例でテーブル名が誤っていたのを修正しています。