2021/08/16分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
activestorage/CHANGELOG.md
Merge pull request #43021 from basecamp/encryption-lenght-validation
activerecord/lib/active_record/encryption/encryptable_record.rb
の修正です。
Encryptable recordsについて、現在不要なtableの存在チェック処理の削除、及び、不要なインスタンス生成処理の削除を行っています。
Merge pull request #43013 from basecamp/encryption-store-attributes
activerecord/lib/active_record/encryption/encrypted_attribute_type.rb
の修正です。
Active Record encryptionを store attributesに対しても動作するよう修正しています。
Merge pull request #43007 from FestaLab/activestorage/tiff-size
activestorage/test/fixtures/files/racecar.tif
の修正です。
テストで使うtiff imageのファイルサイズを減らすよう修正しています。
Merge pull request #41437 from tomprats/active-storage-byte-range
Active Storageの修正です。
Active Storageのファイルダウンロード処理でbyte range requestをサポートするよう修正しています。
[ci skip] Undocument send_blob_byte_range_data, don't commit to a public API just yet
activestorage/app/controllers/concerns/active_storage/streaming.rb
のdocの修正です。
send_blob_byte_range_data
メソッドをprivate APIに変更しています。public APIにする必要は無い筈な為。
Merge pull request #42960 from FestaLab/activestorage/unsafe-redirect
activestorage/app/controllers/active_storage/blobs/redirect_controller.rb
、
activestorage/app/controllers/active_storage/representations/redirect_controller.rb
の修正です。
redirect用のcontrollerでredirect_to
にallow_other_host: true
オプションを指定するよう修正しています。 s3等のファイルをホスティングしているクラウドサービスにリダイレクト処理が行われる為。